-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support reasoning effort via configuration #1561
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_effort
configuration in AI models.Introduced
ReasoningEffort
enum for reasoning effort levels.Updated
chat_completion
to includereasoning_effort
parameter.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_MODELS
list for specific models.litellm_ai_handler.py
Enhanced AI handler to support reasoning effort.
pr_agent/algo/ai_handlers/litellm_ai_handler.py
ReasoningEffort
andSUPPORT_REASONING_EFFORT_MODELS
.support_reasoning_models
attribute.chat_completion
to handlereasoning_effort
parameter.utils.py
Added ReasoningEffort enum for reasoning levels.
pr_agent/algo/utils.py
ReasoningEffort
enum with levels: HIGH, MEDIUM, LOW.configuration.toml
Extended configuration for reasoning effort setting.
pr_agent/settings/configuration.toml
reasoning_effort
configuration option with default value.