diff --git a/src/openai/resources/responses/responses.py b/src/openai/resources/responses/responses.py index ab5f7688a5..629437f99f 100644 --- a/src/openai/resources/responses/responses.py +++ b/src/openai/resources/responses/responses.py @@ -1600,7 +1600,7 @@ def compact( "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", @@ -3281,7 +3281,7 @@ async def compact( "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", diff --git a/src/openai/types/responses/response_compact_params.py b/src/openai/types/responses/response_compact_params.py index 0b163a9e78..3b31f105db 100644 --- a/src/openai/types/responses/response_compact_params.py +++ b/src/openai/types/responses/response_compact_params.py @@ -28,7 +28,7 @@ class ResponseCompactParams(TypedDict, total=False): "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", diff --git a/src/openai/types/shared/chat_model.py b/src/openai/types/shared/chat_model.py index 501a22a8bd..df75a53cf6 100644 --- a/src/openai/types/shared/chat_model.py +++ b/src/openai/types/shared/chat_model.py @@ -19,7 +19,7 @@ "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", diff --git a/src/openai/types/shared_params/chat_model.py b/src/openai/types/shared_params/chat_model.py index 17eaacd905..d2f0694c92 100644 --- a/src/openai/types/shared_params/chat_model.py +++ b/src/openai/types/shared_params/chat_model.py @@ -21,7 +21,7 @@ "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",