-
Notifications
You must be signed in to change notification settings - Fork 666
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
Define user_message_only_models list for using user prompt only model #1509
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
thanks for the PR @KennyDizi The configuration file is already packed, and i prefer not to add it another configuration with many models. |
Hi @mrT23 it's a good point. I will adjust the code accordingly. |
/describe |
PR Description updated to latest commit (a6482c3)
|
@mrT23 This PR has been updated accordingly. |
PR Type
Enhancement, Bug fix
Description
Added
USER_MESSAGE_ONLY_MODELS
list to centralize user-message-only model definitions.Included
o3-mini
ando3-mini-2025-01-31
in supported models.Refactored logic to check for user-message-only models dynamically.
Fixed null check for
user_message_only_models
to prevent errors.Changes walkthrough 📝
__init__.py
Define and include user-message-only models
pr_agent/algo/init.py
USER_MESSAGE_ONLY_MODELS
list for user-message-only models.o3-mini
ando3-mini-2025-01-31
in model configurations.litellm_ai_handler.py
Refactor and enhance user-message-only model logic
pr_agent/algo/ai_handlers/litellm_ai_handler.py
USER_MESSAGE_ONLY_MODELS
for centralized model handling.user_message_only_models
to avoid errors.