-
Notifications
You must be signed in to change notification settings - Fork 487
[WIP] RefactoringAICaller class for better using reasoning models
#285
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
base: main
Are you sure you want to change the base?
Conversation
PR Reviewer Guide 🔍(Review updated until commit fd3a2f3)Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Latest suggestions up to fd3a2f3
Previous suggestions✅ Suggestions up to commit 99d10ea
|
|||||||||||||||||||||
|
Hi @EmbeddedDevops1 @qododavid, How do I enable the PR's CI/CD pipeline? |
|
I just enabled the CI pipeline to run. To run tests locally you can simply make test. You will also want to run regression tests locally: https://github.com/qodo-ai/qodo-cover/blob/main/tests_integration/test_all.sh |
AICaller class for better using reasoning modelsAICaller class for better using reasoning models
AICaller class for better using reasoning modelsAICaller class for better using reasoning models
|
Thanks, @EmbeddedDevops1. I will continue to work to finish it soon. |
|
Sorry for the delay. I will update this PR with support reasoning effort. I will continue to work next weekend. |
|
@EmbeddedDevops1 I've adjusted the PR and ran the test command |
|
Looks like tests are failing. Also, do you have any sample runs with the new LLMs you’re adding? Perhaps you can add it in a comment? |
|
/review |
|
/improve |
|
Persistent review updated to latest commit fd3a2f3 |
PR Type
Enhancement, Tests
Description
Introduced model-specific behavior lists to
AICaller.USER_MESSAGE_ONLY_MODELS,NO_SUPPORT_TEMPERATURE_MODELS, andNO_SUPPORT_STREAMING_MODELS.Refactored
call_modelto dynamically adapt parameters based on model capabilities.temperatureorstreamfor certain models.Enhanced test coverage for
AICaller.Added a new module-level initialization for model-specific lists in
cover_agent/__init__.py.Changes walkthrough 📝
AICaller.py
Refactored `AICaller` for model-specific behaviorcover_agent/AICaller.py
call_modelto adapt to model constraints.__init__.py
Added model-specific behavior listscover_agent/init.py
USER_MESSAGE_ONLY_MODELSlist for user-message-only models.NO_SUPPORT_TEMPERATURE_MODELSlist for models withouttemperature support.
NO_SUPPORT_STREAMING_MODELSlist for models without streamingsupport.
test_AICaller.py
Enhanced test coverage for `AICaller`tests/test_AICaller.py