Skip to content

Commit 0652787

Browse files
feat(api): Add new Responses model identifiers (openai#3595)
## Summary feat(api): Add new Responses model identifiers Co-authored-by: jbeckwith-oai <269036200+jbeckwith-oai@users.noreply.github.com>
1 parent ea17fda commit 0652787

13 files changed

Lines changed: 79 additions & 4 deletions

‎.castiron.stats.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
schema_version: 1
2-
generation_id: 97c37265-2164-4aaa-b503-a3e7dedc7e49
3-
openapi_spec_hash: a9327591e48827c48378fa24237ebd1b
4-
openapi_transformed_spec_hash: 1c62a22d294a516e3686b9222fe77548
2+
generation_id: e3616fd3-9690-4581-bbd3-5c06423abf6d
3+
openapi_spec_hash: 8d5c14d02f8cc28de343933fae3a9c28
4+
openapi_transformed_spec_hash: cc042503b90491f4f162ce95fae87c36
55
config_hash: 4617b0962f16d328804312ac81aac630
6-
codegen_sha: 51bfbc88bc45e2106cb388a3d1c5c193e092f986
6+
codegen_sha: ea10a4f6b22f3fb9f72208589a3e8258c640479d

‎api_reference/openapi.transformed.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41080,6 +41080,9 @@ components:
4108041080
- gpt-5-pro
4108141081
- gpt-5-pro-2025-10-06
4108241082
- gpt-5.1-codex-max
41083+
- gpt-daybreak-blue-latest
41084+
- gpt-daybreak-red-latest
41085+
- gpt-5.6-cyber
4108341086
ModelIdsShared:
4108441087
example: gpt-5.4
4108541088
anyOf:
@@ -70936,6 +70939,9 @@ components:
7093670939
- gpt-5-pro
7093770940
- gpt-5-pro-2025-10-06
7093870941
- gpt-5.1-codex-max
70942+
- gpt-daybreak-blue-latest
70943+
- gpt-daybreak-red-latest
70944+
- gpt-5.6-cyber
7093970945
BetaModelIdsShared:
7094070946
example: gpt-5.4
7094170947
anyOf:

‎src/openai/resources/beta/responses/responses.py‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ def create(
214214
"gpt-5-pro",
215215
"gpt-5-pro-2025-10-06",
216216
"gpt-5.1-codex-max",
217+
"gpt-daybreak-blue-latest",
218+
"gpt-daybreak-red-latest",
219+
"gpt-5.6-cyber",
217220
],
218221
str,
219222
]
@@ -601,6 +604,9 @@ def create(
601604
"gpt-5-pro",
602605
"gpt-5-pro-2025-10-06",
603606
"gpt-5.1-codex-max",
607+
"gpt-daybreak-blue-latest",
608+
"gpt-daybreak-red-latest",
609+
"gpt-5.6-cyber",
604610
],
605611
str,
606612
]
@@ -987,6 +993,9 @@ def create(
987993
"gpt-5-pro",
988994
"gpt-5-pro-2025-10-06",
989995
"gpt-5.1-codex-max",
996+
"gpt-daybreak-blue-latest",
997+
"gpt-daybreak-red-latest",
998+
"gpt-5.6-cyber",
990999
],
9911000
str,
9921001
]
@@ -1371,6 +1380,9 @@ def create(
13711380
"gpt-5-pro",
13721381
"gpt-5-pro-2025-10-06",
13731382
"gpt-5.1-codex-max",
1383+
"gpt-daybreak-blue-latest",
1384+
"gpt-daybreak-red-latest",
1385+
"gpt-5.6-cyber",
13741386
],
13751387
str,
13761388
]
@@ -1846,6 +1858,9 @@ def compact(
18461858
"gpt-5-pro",
18471859
"gpt-5-pro-2025-10-06",
18481860
"gpt-5.1-codex-max",
1861+
"gpt-daybreak-blue-latest",
1862+
"gpt-daybreak-red-latest",
1863+
"gpt-5.6-cyber",
18491864
],
18501865
str,
18511866
None,
@@ -2127,6 +2142,9 @@ async def create(
21272142
"gpt-5-pro",
21282143
"gpt-5-pro-2025-10-06",
21292144
"gpt-5.1-codex-max",
2145+
"gpt-daybreak-blue-latest",
2146+
"gpt-daybreak-red-latest",
2147+
"gpt-5.6-cyber",
21302148
],
21312149
str,
21322150
]
@@ -2514,6 +2532,9 @@ async def create(
25142532
"gpt-5-pro",
25152533
"gpt-5-pro-2025-10-06",
25162534
"gpt-5.1-codex-max",
2535+
"gpt-daybreak-blue-latest",
2536+
"gpt-daybreak-red-latest",
2537+
"gpt-5.6-cyber",
25172538
],
25182539
str,
25192540
]
@@ -2900,6 +2921,9 @@ async def create(
29002921
"gpt-5-pro",
29012922
"gpt-5-pro-2025-10-06",
29022923
"gpt-5.1-codex-max",
2924+
"gpt-daybreak-blue-latest",
2925+
"gpt-daybreak-red-latest",
2926+
"gpt-5.6-cyber",
29032927
],
29042928
str,
29052929
]
@@ -3284,6 +3308,9 @@ async def create(
32843308
"gpt-5-pro",
32853309
"gpt-5-pro-2025-10-06",
32863310
"gpt-5.1-codex-max",
3311+
"gpt-daybreak-blue-latest",
3312+
"gpt-daybreak-red-latest",
3313+
"gpt-5.6-cyber",
32873314
],
32883315
str,
32893316
]
@@ -3759,6 +3786,9 @@ async def compact(
37593786
"gpt-5-pro",
37603787
"gpt-5-pro-2025-10-06",
37613788
"gpt-5.1-codex-max",
3789+
"gpt-daybreak-blue-latest",
3790+
"gpt-daybreak-red-latest",
3791+
"gpt-5.6-cyber",
37623792
],
37633793
str,
37643794
None,
@@ -5044,6 +5074,9 @@ def create(
50445074
"gpt-5-pro",
50455075
"gpt-5-pro-2025-10-06",
50465076
"gpt-5.1-codex-max",
5077+
"gpt-daybreak-blue-latest",
5078+
"gpt-daybreak-red-latest",
5079+
"gpt-5.6-cyber",
50475080
],
50485081
str,
50495082
]
@@ -5248,6 +5281,9 @@ async def create(
52485281
"gpt-5-pro",
52495282
"gpt-5-pro-2025-10-06",
52505283
"gpt-5.1-codex-max",
5284+
"gpt-daybreak-blue-latest",
5285+
"gpt-daybreak-red-latest",
5286+
"gpt-5.6-cyber",
52515287
],
52525288
str,
52535289
]

‎src/openai/resources/responses/responses.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1814,6 +1814,9 @@ def compact(
18141814
"gpt-5-pro",
18151815
"gpt-5-pro-2025-10-06",
18161816
"gpt-5.1-codex-max",
1817+
"gpt-daybreak-blue-latest",
1818+
"gpt-daybreak-red-latest",
1819+
"gpt-5.6-cyber",
18171820
],
18181821
str,
18191822
None,
@@ -3663,6 +3666,9 @@ async def compact(
36633666
"gpt-5-pro",
36643667
"gpt-5-pro-2025-10-06",
36653668
"gpt-5.1-codex-max",
3669+
"gpt-daybreak-blue-latest",
3670+
"gpt-daybreak-red-latest",
3671+
"gpt-5.6-cyber",
36663672
],
36673673
str,
36683674
None,

‎src/openai/types/beta/beta_response.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -374,6 +374,9 @@ class BetaResponse(BaseModel):
374374
"gpt-5-pro",
375375
"gpt-5-pro-2025-10-06",
376376
"gpt-5.1-codex-max",
377+
"gpt-daybreak-blue-latest",
378+
"gpt-daybreak-red-latest",
379+
"gpt-5.6-cyber",
377380
],
378381
str,
379382
]

‎src/openai/types/beta/beta_responses_client_event.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ class ResponseCreate(BaseModel):
407407
"gpt-5-pro",
408408
"gpt-5-pro-2025-10-06",
409409
"gpt-5.1-codex-max",
410+
"gpt-daybreak-blue-latest",
411+
"gpt-daybreak-red-latest",
412+
"gpt-5.6-cyber",
410413
],
411414
str,
412415
None,

‎src/openai/types/beta/beta_responses_client_event_param.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,9 @@ class ResponseCreate(TypedDict, total=False):
407407
"gpt-5-pro",
408408
"gpt-5-pro-2025-10-06",
409409
"gpt-5.1-codex-max",
410+
"gpt-daybreak-blue-latest",
411+
"gpt-daybreak-red-latest",
412+
"gpt-5.6-cyber",
410413
],
411414
str,
412415
]

‎src/openai/types/beta/response_compact_params.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,9 @@ class ResponseCompactParams(TypedDict, total=False):
111111
"gpt-5-pro",
112112
"gpt-5-pro-2025-10-06",
113113
"gpt-5.1-codex-max",
114+
"gpt-daybreak-blue-latest",
115+
"gpt-daybreak-red-latest",
116+
"gpt-5.6-cyber",
114117
],
115118
str,
116119
None,

‎src/openai/types/beta/response_create_params.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,9 @@ class ResponseCreateParamsBase(TypedDict, total=False):
223223
"gpt-5-pro",
224224
"gpt-5-pro-2025-10-06",
225225
"gpt-5.1-codex-max",
226+
"gpt-daybreak-blue-latest",
227+
"gpt-daybreak-red-latest",
228+
"gpt-5.6-cyber",
226229
],
227230
str,
228231
]

‎src/openai/types/responses/response_compact_params.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ class ResponseCompactParams(TypedDict, total=False):
110110
"gpt-5-pro",
111111
"gpt-5-pro-2025-10-06",
112112
"gpt-5.1-codex-max",
113+
"gpt-daybreak-blue-latest",
114+
"gpt-daybreak-red-latest",
115+
"gpt-5.6-cyber",
113116
],
114117
str,
115118
None,

0 commit comments

Comments
 (0)