@@ -1123,6 +1123,16 @@ export interface AssistantCreateParams {
11231123 */
11241124 name ?: string | null ;
11251125
1126+ /**
1127+ * **o1 and o3-mini models only**
1128+ *
1129+ * Constrains effort on reasoning for
1130+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1131+ * supported values are `low`, `medium`, and `high`. Reducing reasoning effort can
1132+ * result in faster responses and fewer tokens used on reasoning in a response.
1133+ */
1134+ reasoning_effort ?: 'low' | 'medium' | 'high' | null ;
1135+
11261136 /**
11271137 * Specifies the format that the model must output. Compatible with
11281138 * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -1278,13 +1288,52 @@ export interface AssistantUpdateParams {
12781288 * [Model overview](https://platform.openai.com/docs/models) for descriptions of
12791289 * them.
12801290 */
1281- model ?: string ;
1291+ model ?:
1292+ | ( string & { } )
1293+ | 'o3-mini'
1294+ | 'o3-mini-2025-01-31'
1295+ | 'o1'
1296+ | 'o1-2024-12-17'
1297+ | 'gpt-4o'
1298+ | 'gpt-4o-2024-11-20'
1299+ | 'gpt-4o-2024-08-06'
1300+ | 'gpt-4o-2024-05-13'
1301+ | 'gpt-4o-mini'
1302+ | 'gpt-4o-mini-2024-07-18'
1303+ | 'gpt-4-turbo'
1304+ | 'gpt-4-turbo-2024-04-09'
1305+ | 'gpt-4-0125-preview'
1306+ | 'gpt-4-turbo-preview'
1307+ | 'gpt-4-1106-preview'
1308+ | 'gpt-4-vision-preview'
1309+ | 'gpt-4'
1310+ | 'gpt-4-0314'
1311+ | 'gpt-4-0613'
1312+ | 'gpt-4-32k'
1313+ | 'gpt-4-32k-0314'
1314+ | 'gpt-4-32k-0613'
1315+ | 'gpt-3.5-turbo'
1316+ | 'gpt-3.5-turbo-16k'
1317+ | 'gpt-3.5-turbo-0613'
1318+ | 'gpt-3.5-turbo-1106'
1319+ | 'gpt-3.5-turbo-0125'
1320+ | 'gpt-3.5-turbo-16k-0613' ;
12821321
12831322 /**
12841323 * The name of the assistant. The maximum length is 256 characters.
12851324 */
12861325 name ?: string | null ;
12871326
1327+ /**
1328+ * **o1 and o3-mini models only**
1329+ *
1330+ * Constrains effort on reasoning for
1331+ * [reasoning models](https://platform.openai.com/docs/guides/reasoning). Currently
1332+ * supported values are `low`, `medium`, and `high`. Reducing reasoning effort can
1333+ * result in faster responses and fewer tokens used on reasoning in a response.
1334+ */
1335+ reasoning_effort ?: 'low' | 'medium' | 'high' | null ;
1336+
12881337 /**
12891338 * Specifies the format that the model must output. Compatible with
12901339 * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
0 commit comments