feat: add support for new GPT-5 models and update documentation

This commit is contained in:
mrT23 2025-08-08 09:39:24 +03:00
parent f3287a9f67
commit bb115432f2
No known key found for this signature in database
GPG key ID: D350490E39D5F5AD
2 changed files with 6 additions and 0 deletions

View file

@ -72,6 +72,10 @@ You can receive automatic feedback from Qodo Merge on your local IDE after each
## News and Updates
## Aug 8, 2025
Added full support for GPT-5 models. View the [benchmark results](https://qodo-merge-docs.qodo.ai/pr_benchmark/#pr-benchmark-results) for details on the performance of GPT-5 models in PR-Agent.
## Jul 1, 2025
You can now receive automatic feedback from Qodo Merge in your local IDE after each commit. Read more about it [here](https://github.com/qodo-ai/agents/tree/main/agents/qodo-merge-post-commit).

View file

@ -28,6 +28,8 @@ MAX_TOKENS = {
'gpt-4.1-mini-2025-04-14': 1047576,
'gpt-4.1-nano': 1047576,
'gpt-4.1-nano-2025-04-14': 1047576,
'gpt-5-nano': 200000, # 200K, but may be limited by config.max_model_tokens
'gpt-5-mini': 200000, # 200K, but may be limited by config.max_model_tokens
'gpt-5': 200000,
'gpt-5-2025-08-07': 200000,
'o1-mini': 128000, # 128K, but may be limited by config.max_model_tokens