Support reasoning effort via configuration#1561
Support reasoning effort via configuration#1561mrT23 merged 8 commits intoqodo-ai:mainfrom KennyDizi:main
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||
|
I checked and guess that pipelines have fallen because this PR #1529 |
|
|
Would you pls take a look at this PR @mrT23 |
|
@KennyDizi can you add a short new section here: https://qodo-merge-docs.qodo.ai/usage-guide/changing_a_model/ something like: |
Thanks for your advice, @mrT23; I will update it soon. |
|
@mrT23 I've added a concise document for OpenAI models dedicated params. |
|
@KennyDizi Claude Sonnet also introduced some thinking mechanism (with a different API ...), but lets save it to a different PR |
PR Type
Enhancement
Description
Added support for
reasoning_effortconfiguration in AI models.Introduced
ReasoningEffortenum for reasoning effort levels.Updated
chat_completionto includereasoning_effortparameter.Extended configuration file to allow setting
reasoning_effort.Changes walkthrough 📝
__init__.py
Added support for reasoning effort models.pr_agent/algo/init.py
SUPPORT_REASONING_EFFORT_MODELSlist for specific models.litellm_ai_handler.py
Enhanced AI handler to support reasoning effort.pr_agent/algo/ai_handlers/litellm_ai_handler.py
ReasoningEffortandSUPPORT_REASONING_EFFORT_MODELS.support_reasoning_modelsattribute.chat_completionto handlereasoning_effortparameter.utils.py
Added ReasoningEffort enum for reasoning levels.pr_agent/algo/utils.py
ReasoningEffortenum with levels: HIGH, MEDIUM, LOW.configuration.toml
Extended configuration for reasoning effort setting.pr_agent/settings/configuration.toml
reasoning_effortconfiguration option with default value.