@@ -1133,6 +1133,16 @@ export interface AssistantCreateParams {
1133
1133
*/
1134
1134
name ?: string | null ;
1135
1135
1136
+ /**
1137
+ * **o1 and o3-mini models only**
1138
+ *
1139
+ * Constrains effort on reasoning for
1140
+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1141
+ * supported values are `low`, `medium`, and `high`. Reducing reasoning effort can
1142
+ * result in faster responses and fewer tokens used on reasoning in a response.
1143
+ */
1144
+ reasoning_effort ?: 'low' | 'medium' | 'high' | null ;
1145
+
1136
1146
/**
1137
1147
* Specifies the format that the model must output. Compatible with
1138
1148
* [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -1288,13 +1298,52 @@ export interface AssistantUpdateParams {
1288
1298
* [Model overview](https://platform.openai.com/docs/models) for descriptions of
1289
1299
* them.
1290
1300
*/
1291
- model ?: string ;
1301
+ model ?:
1302
+ | ( string & { } )
1303
+ | 'o3-mini'
1304
+ | 'o3-mini-2025-01-31'
1305
+ | 'o1'
1306
+ | 'o1-2024-12-17'
1307
+ | 'gpt-4o'
1308
+ | 'gpt-4o-2024-11-20'
1309
+ | 'gpt-4o-2024-08-06'
1310
+ | 'gpt-4o-2024-05-13'
1311
+ | 'gpt-4o-mini'
1312
+ | 'gpt-4o-mini-2024-07-18'
1313
+ | 'gpt-4-turbo'
1314
+ | 'gpt-4-turbo-2024-04-09'
1315
+ | 'gpt-4-0125-preview'
1316
+ | 'gpt-4-turbo-preview'
1317
+ | 'gpt-4-1106-preview'
1318
+ | 'gpt-4-vision-preview'
1319
+ | 'gpt-4'
1320
+ | 'gpt-4-0314'
1321
+ | 'gpt-4-0613'
1322
+ | 'gpt-4-32k'
1323
+ | 'gpt-4-32k-0314'
1324
+ | 'gpt-4-32k-0613'
1325
+ | 'gpt-3.5-turbo'
1326
+ | 'gpt-3.5-turbo-16k'
1327
+ | 'gpt-3.5-turbo-0613'
1328
+ | 'gpt-3.5-turbo-1106'
1329
+ | 'gpt-3.5-turbo-0125'
1330
+ | 'gpt-3.5-turbo-16k-0613' ;
1292
1331
1293
1332
/**
1294
1333
* The name of the assistant. The maximum length is 256 characters.
1295
1334
*/
1296
1335
name ?: string | null ;
1297
1336
1337
+ /**
1338
+ * **o1 and o3-mini models only**
1339
+ *
1340
+ * Constrains effort on reasoning for
1341
+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1342
+ * supported values are `low`, `medium`, and `high`. Reducing reasoning effort can
1343
+ * result in faster responses and fewer tokens used on reasoning in a response.
1344
+ */
1345
+ reasoning_effort ?: 'low' | 'medium' | 'high' | null ;
1346
+
1298
1347
/**
1299
1348
* Specifies the format that the model must output. Compatible with
1300
1349
* [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
0 commit comments