@@ -1133,6 +1133,16 @@ export interface AssistantCreateParams {
11331133 */
11341134 name ?: string | null ;
11351135
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+
11361146 /**
11371147 * Specifies the format that the model must output. Compatible with
11381148 * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
@@ -1288,13 +1298,52 @@ export interface AssistantUpdateParams {
12881298 * [Model overview](https://platform.openai.com/docs/models) for descriptions of
12891299 * them.
12901300 */
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' ;
12921331
12931332 /**
12941333 * The name of the assistant. The maximum length is 256 characters.
12951334 */
12961335 name ?: string | null ;
12971336
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+
12981347 /**
12991348 * Specifies the format that the model must output. Compatible with
13001349 * [GPT-4o](https://platform.openai.com/docs/models#gpt-4o),
0 commit comments