Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/resources/responses/responses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8199,7 +8199,7 @@ export interface ResponseCompactParams {
| 'gpt-5.1'
| 'gpt-5.1-2025-11-13'
| 'gpt-5.1-codex'
| 'gpt-5.1-mini'
| 'gpt-5.1-codex-mini'
| 'gpt-5.1-chat-latest'
| 'gpt-5'
| 'gpt-5-mini'
Expand Down
2 changes: 1 addition & 1 deletion src/resources/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export type ChatModel =
| 'gpt-5.1'
| 'gpt-5.1-2025-11-13'
| 'gpt-5.1-codex'
| 'gpt-5.1-mini'
| 'gpt-5.1-codex-mini'

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

| 'gpt-5.1-chat-latest'
| 'gpt-5'
| 'gpt-5-mini'
Expand Down