Skip to content

Conversation

@majiayu000
Copy link

Summary

  • Fixed incorrect model name gpt-5.1-minigpt-5.1-codex-mini in ChatModel type
  • Updated all occurrences across type definitions and response resources

Fixes

Closes #2785

Changes

  • src/openai/types/shared/chat_model.py
  • src/openai/types/shared_params/chat_model.py
  • src/openai/resources/responses/responses.py
  • src/openai/types/responses/response_compact_params.py

Test

Added tests/test_chat_model_types.py to verify the correct model name is present.

Fixes openai#2785 The model string `gpt-5.1-mini` was incorrectly listed in the ChatModel type. It should be `gpt-5.1-codex-mini` to match the actual model naming. Changes: - Updated gpt-5.1-mini to gpt-5.1-codex-mini in: - src/openai/types/shared/chat_model.py - src/openai/types/shared_params/chat_model.py - src/openai/resources/responses/responses.py - src/openai/types/responses/response_compact_params.py - Added test to verify the correct model name
@majiayu000 majiayu000 requested a review from a team as a code owner December 17, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant