Skip to content

Commit 3e05098

Browse files
committed
fix: use gpt-5.1-codex-mini model alias
1 parent e507a4e commit 3e05098

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/openai/resources/responses/responses.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1600,7 +1600,7 @@ def compact(
16001600
"gpt-5.1",
16011601
"gpt-5.1-2025-11-13",
16021602
"gpt-5.1-codex",
1603-
"gpt-5.1-mini",
1603+
"gpt-5.1-codex-mini",
16041604
"gpt-5.1-chat-latest",
16051605
"gpt-5",
16061606
"gpt-5-mini",
@@ -3281,7 +3281,7 @@ async def compact(
32813281
"gpt-5.1",
32823282
"gpt-5.1-2025-11-13",
32833283
"gpt-5.1-codex",
3284-
"gpt-5.1-mini",
3284+
"gpt-5.1-codex-mini",
32853285
"gpt-5.1-chat-latest",
32863286
"gpt-5",
32873287
"gpt-5-mini",

src/openai/types/responses/response_compact_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class ResponseCompactParams(TypedDict, total=False):
2828
"gpt-5.1",
2929
"gpt-5.1-2025-11-13",
3030
"gpt-5.1-codex",
31-
"gpt-5.1-mini",
31+
"gpt-5.1-codex-mini",
3232
"gpt-5.1-chat-latest",
3333
"gpt-5",
3434
"gpt-5-mini",

src/openai/types/shared/chat_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"gpt-5.1",
2020
"gpt-5.1-2025-11-13",
2121
"gpt-5.1-codex",
22-
"gpt-5.1-mini",
22+
"gpt-5.1-codex-mini",
2323
"gpt-5.1-chat-latest",
2424
"gpt-5",
2525
"gpt-5-mini",

src/openai/types/shared_params/chat_model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"gpt-5.1",
2222
"gpt-5.1-2025-11-13",
2323
"gpt-5.1-codex",
24-
"gpt-5.1-mini",
24+
"gpt-5.1-codex-mini",
2525
"gpt-5.1-chat-latest",
2626
"gpt-5",
2727
"gpt-5-mini",

0 commit comments

Comments
 (0)