Skip to content

fix: replace gpt-5.1-mini with gpt-5.1-codex-mini#3104

Open
gpreddy685 wants to merge 1 commit intoopenai:mainfrom
gpreddy685:fix-chat-model-gpt-5-1-codex-mini
Open

fix: replace gpt-5.1-mini with gpt-5.1-codex-mini#3104
gpreddy685 wants to merge 1 commit intoopenai:mainfrom
gpreddy685:fix-chat-model-gpt-5-1-codex-mini

Conversation

@gpreddy685
Copy link
Copy Markdown

Summary

Fixes the generated model literals that currently include gpt-5.1-mini.

This updates the SDK surfaces to use gpt-5.1-codex-mini instead, matching the current official model naming.

Changes

  • replace gpt-5.1-mini with gpt-5.1-codex-mini in generated chat model literals
  • update the corresponding Responses type surfaces that reference the same alias

Validation

  • verified all occurrences were updated consistently
  • ran python3 -m compileall on the touched files

Fixes #2785

@gpreddy685 gpreddy685 requested a review from a team as a code owner April 20, 2026 04:00
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 wrongly listed in model list

1 participant