Update model references from o3-mini to o4-mini and add Gemini models #1712
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
Enhancement, Documentation, Bug fix
Description
Updated model references from
o3-mini
too4-mini
.Added support for new Gemini models (
gemini-2.5-pro
andgemini-2.5-flash
).Enhanced error handling for undefined models in
MAX_TOKENS
.Updated documentation to reflect new model options and configurations.
Changes walkthrough 📝
__init__.py
Added new Gemini models to `MAX_TOKENS`
pr_agent/algo/init.py
gemini-2.5-pro-preview-03-25
andgemini-2.5-flash-preview-04-17
) toMAX_TOKENS
.utils.py
Enhanced error handling for undefined models
pr_agent/algo/utils.py
MAX_TOKENS
.pr_agent_pro.md
Updated model references and improved formatting
docs/docs/overview/pr_agent_pro.md
o3-mini
too4-mini
.qodo_merge_models.md
Updated model references and added Gemini configurations
docs/docs/usage-guide/qodo_merge_models.md
o3-mini
witho4-mini
in model references.configuration.toml
Updated default and fallback model configurations
pr_agent/settings/configuration.toml
o4-mini
.gpt-4.1
.