langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
51.82k stars 7.51k forks source link

fix(model_runtime): ensure compatibility with O1 models by adjusting token parameters #10537

Closed laipz8200 closed 5 days ago

laipz8200 commented 5 days ago

Checklist:

[!IMPORTANT]
Please review the checklist below before submitting your pull request.

Description

Fixes #10348

Type of Change

Testing Instructions

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration