feat: add support for custom reasoning models#1551
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to 35059ca
Previous suggestions✅ Suggestions up to commit 0317951
✅ Suggestions up to commit 4edb8b8
|
|||||||||||||||||||||||||||||||
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
User description
#1540
PR Type
Enhancement, Documentation
Description
Added support for custom reasoning models in AI handler.
Updated logic to handle models without temperature or chat-style inputs.
Documented configuration for custom reasoning models in usage guide.
Introduced a new configuration option
custom_reasoning_model.Changes walkthrough 📝
litellm_ai_handler.py
Enhance AI handler to support custom reasoning modelspr_agent/algo/ai_handlers/litellm_ai_handler.py
models.
changing_a_model.md
Update usage guide for custom reasoning modelsdocs/docs/usage-guide/changing_a_model.md
chat-style inputs.
configuration.toml
Add configuration for custom reasoning modelspr_agent/settings/configuration.toml
custom_reasoning_modelconfiguration option.