-
Notifications
You must be signed in to change notification settings - Fork 621
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
feat: add support for O1 model by combining system and user prompt #1279
Conversation
…n litellm_ai_handler
PR Code Suggestions ✨
Previous suggestions✅ Suggestions up to commit 727b08f
|
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
PR Reviewer Guide 🔍(Review updated until commit e6c56c7)Here are some key observations to aid the review process:
|
Persistent review updated to latest commit e6c56c7 |
PR Description updated to latest commit (e6c56c7)
|
PR Description updated to latest commit (e6c56c7)
|
1 similar comment
PR Description updated to latest commit (e6c56c7)
|
/review |
Persistent review updated to latest commit e6c56c7 |
/review |
Persistent review updated to latest commit e6c56c7 |
User description
fixes #1278
PR Type
enhancement, bug_fix
Description
litellm_ai_handler
by combining system and user prompts into a single user prompt, as the O1 model does not support separate roles.Changes walkthrough 📝
litellm_ai_handler.py
Add support for O1 model in `litellm_ai_handler`
pr_agent/algo/ai_handlers/litellm_ai_handler.py
roles.
models.