Skip to content

fix: add gpt-5.1-codex-mini model to type definitions#1925

Open
Oxygen56 wants to merge 1 commit into
openai:mainfrom
Oxygen56:fix/gpt-5.1-mini-model-1706
Open

fix: add gpt-5.1-codex-mini model to type definitions#1925
Oxygen56 wants to merge 1 commit into
openai:mainfrom
Oxygen56:fix/gpt-5.1-mini-model-1706

Conversation

@Oxygen56

@Oxygen56 Oxygen56 commented Jun 5, 2026

Copy link
Copy Markdown

Adds support for the gpt-5.1-codex-mini model.

Fixes #1706

Adds the missing gpt-5.1-mini model to type definitions.

Fixes openai#1706
@Oxygen56 Oxygen56 requested a review from a team as a code owner June 5, 2026 17:49

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment thread src/resources/shared.ts
| '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 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

'gpt-5.1-mini' model does not work.

1 participant