Skip to content

Commit b6f0f44

Browse files
feat(api): 5.4 nano and mini model slugs
1 parent c1c713e commit b6f0f44

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 151
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-5a660d5b485aae5061d55301f7c8522654a533c7d7d9596c4da54f0e481d8880.yml
3-
openapi_spec_hash: 50297cf7c625ec3c4bb0bc0f5a9d318a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-55ef7034334e938c30656a404ce5e21466103be87542a796425346299f450404.yml
3+
openapi_spec_hash: 4a5bfd2ee4ad47f5b7cf6f1ad08d5d7f
44
config_hash: 96fbf82cf74a44ccd513f5acf0956ffd

src/resources/responses/responses.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7664,6 +7664,10 @@ export interface ResponseCompactParams {
76647664
*/
76657665
model:
76667666
| 'gpt-5.4'
7667+
| 'gpt-5.4-mini'
7668+
| 'gpt-5.4-nano'
7669+
| 'gpt-5.4-mini-2026-03-17'
7670+
| 'gpt-5.4-nano-2026-03-17'
76677671
| 'gpt-5.3-chat-latest'
76687672
| 'gpt-5.2'
76697673
| 'gpt-5.2-2025-12-11'

src/resources/shared.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ export type AllModels =
2020

2121
export type ChatModel =
2222
| 'gpt-5.4'
23+
| 'gpt-5.4-mini'
24+
| 'gpt-5.4-nano'
25+
| 'gpt-5.4-mini-2026-03-17'
26+
| 'gpt-5.4-nano-2026-03-17'
2327
| 'gpt-5.3-chat-latest'
2428
| 'gpt-5.2'
2529
| 'gpt-5.2-2025-12-11'

0 commit comments

Comments
 (0)