@@ -176,6 +176,7 @@ export class Runs extends APIResource {
176
176
break ;
177
177
//We return the run in any terminal state.
178
178
case 'requires_action' :
179
+ case 'incomplete' :
179
180
case 'cancelled' :
180
181
case 'completed' :
181
182
case 'failed' :
@@ -409,8 +410,9 @@ export interface Run {
409
410
410
411
/**
411
412
* Specifies the format that the model must output. Compatible with
412
- * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
413
- * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
413
+ * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o),
414
+ * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
415
+ * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
414
416
*
415
417
* Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
416
418
* message the model generates is valid JSON.
@@ -432,8 +434,8 @@ export interface Run {
432
434
433
435
/**
434
436
* The status of the run, which can be either `queued`, `in_progress`,
435
- * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, or
436
- * `expired`.
437
+ * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`,
438
+ * `incomplete`, or ` expired`.
437
439
*/
438
440
status : RunStatus ;
439
441
@@ -584,8 +586,8 @@ export namespace Run {
584
586
585
587
/**
586
588
* The status of the run, which can be either `queued`, `in_progress`,
587
- * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`, or
588
- * `expired`.
589
+ * `requires_action`, `cancelling`, `cancelled`, `failed`, `completed`,
590
+ * `incomplete`, or ` expired`.
589
591
*/
590
592
export type RunStatus =
591
593
| 'queued'
@@ -595,6 +597,7 @@ export type RunStatus =
595
597
| 'cancelled'
596
598
| 'failed'
597
599
| 'completed'
600
+ | 'incomplete'
598
601
| 'expired' ;
599
602
600
603
export type RunCreateParams = RunCreateParamsNonStreaming | RunCreateParamsStreaming ;
@@ -684,8 +687,9 @@ export interface RunCreateParamsBase {
684
687
685
688
/**
686
689
* Specifies the format that the model must output. Compatible with
687
- * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
688
- * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
690
+ * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o),
691
+ * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
692
+ * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
689
693
*
690
694
* Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
691
695
* message the model generates is valid JSON.
@@ -945,8 +949,9 @@ export interface RunCreateAndPollParams {
945
949
946
950
/**
947
951
* Specifies the format that the model must output. Compatible with
948
- * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
949
- * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
952
+ * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o),
953
+ * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
954
+ * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
950
955
*
951
956
* Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
952
957
* message the model generates is valid JSON.
@@ -1152,8 +1157,9 @@ export interface RunCreateAndStreamParams {
1152
1157
1153
1158
/**
1154
1159
* Specifies the format that the model must output. Compatible with
1155
- * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
1156
- * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
1160
+ * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o),
1161
+ * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
1162
+ * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
1157
1163
*
1158
1164
* Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
1159
1165
* message the model generates is valid JSON.
@@ -1359,8 +1365,9 @@ export interface RunStreamParams {
1359
1365
1360
1366
/**
1361
1367
* Specifies the format that the model must output. Compatible with
1362
- * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-and-gpt-4-turbo) and
1363
- * all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
1368
+ * [GPT-4o](https://platform.openai.com/docs/models/gpt-4o),
1369
+ * [GPT-4 Turbo](https://platform.openai.com/docs/models/gpt-4-turbo-and-gpt-4),
1370
+ * and all GPT-3.5 Turbo models since `gpt-3.5-turbo-1106`.
1364
1371
*
1365
1372
* Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
1366
1373
* message the model generates is valid JSON.
0 commit comments