fix: add gpt-5.1-codex-mini model to type definitions#1925
Conversation
Adds the missing gpt-5.1-mini model to type definitions. Fixes openai#1706
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f7b9adc037
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| | 'gpt-5.1-2025-11-13' | ||
| | 'gpt-5.1-codex' | ||
| | 'gpt-5.1-mini' | ||
| | 'gpt-5.1-codex-mini' |
There was a problem hiding this comment.
Retain the existing gpt-5.1-mini model literal
This change replaces the existing gpt-5.1-mini entry instead of adding gpt-5.1-codex-mini alongside it. In contexts that depend on the exported ChatModel literal list for autocomplete, documentation generation, or type-level extraction of known model IDs, gpt-5.1-mini is now no longer represented even though the PR only intends to add Codex Mini support; the same deletion is mirrored in ResponseCompactParams.model. Please add the new literal without dropping the existing mini model.
Useful? React with 👍 / 👎.
Adds support for the gpt-5.1-codex-mini model.
Fixes #1706