Add OpenAI's latest GPT-5.4-mini and GPT-5.4-nano model#2266
Add OpenAI's latest GPT-5.4-mini and GPT-5.4-nano model#2266naorpeled merged 2 commits intoqodo-ai:mainfrom
Conversation
Review Summary by QodoAdd support for GPT-5.4-mini and GPT-5.4-nano models
WalkthroughsDescription• Add GPT-5.4-mini model with 400K context window support • Add GPT-5.4-nano model with 400K context window support • Add unit tests for both new model variants • Update GPT-5 model detection tests with new variants Diagramflowchart LR
A["Model Registry"] -->|"Add gpt-5.4-mini"| B["400K Context Window"]
A -->|"Add gpt-5.4-nano"| C["400K Context Window"]
D["Test Suite"] -->|"Add unit tests"| E["Max tokens validation"]
F["GPT-5 Detection"] -->|"Update model list"| G["New variants included"]
File Changes1. pr_agent/algo/__init__.py
|
Code Review by Qodo
1. Hardcoded gpt-5.4-mini tokens
|
Add GPT-5.4-mini and its current snapshot to the model registry with the documented 400K context window. Align the tests with the existing GPT-5.4 model pattern while keeping the change limited to registry and test coverage.
Add GPT-5.4-nano and its current snapshot to the model registry with the documented 400K context window. Align the tests with the existing GPT-5.4 model pattern while keeping the change limited to registry and test coverage.
901b784 to
55d4c73
Compare
|
Persistent review updated to latest commit 55d4c73 |
Reference: