mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 10:55:17 +00:00
Co-authored-by: codiumai-pr-agent-pro[bot] <151058649+codiumai-pr-agent-pro[bot]@users.noreply.github.com>
913 B
913 B
PR-Agent Pro Models
The default models used by PR-Agent Pro are OpenAI's GPT-4 models. We use a combination of GPT-4-Turbo and GPT-4o to strike a balance between speed and quality.
However, users can change the model used by PR-Agent Pro to Claude-3.5-sonnet, which also excels in code tasks. To do so, add the following to your configuration file:
[config]
model="claude-3-5-sonnet"
You can also use different models for different tools. For example, you can use the Claude-3.5-sonnet model only for the improve tool (and keep the default GPT-4 model for the other tools) by adding the following to your configuration file:
[github_app]
pr_commands = [
"/describe --pr_description.final_update_message=false",
"/review --pr_reviewer.num_code_suggestions=0",
"/improve --config.model=claude-3-5-sonnet",
]