@@ -176,6 +176,7 @@ export class Runs extends APIResource {
176176 break ;
177177 //We return the run in any terminal state.
178178 case 'requires_action' :
179+ case 'incomplete' :
179180 case 'cancelled' :
180181 case 'completed' :
181182 case 'failed' :
@@ -409,8 +410,9 @@ export interface Run {
409410
410411 /**
411412 * 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`.
414416 *
415417 * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
416418 * message the model generates is valid JSON.
@@ -432,8 +434,8 @@ export interface Run {
432434
433435 /**
434436 * 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`.
437439 */
438440 status : RunStatus ;
439441
@@ -584,8 +586,8 @@ export namespace Run {
584586
585587/**
586588 * 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`.
589591 */
590592export type RunStatus =
591593 | 'queued'
@@ -595,6 +597,7 @@ export type RunStatus =
595597 | 'cancelled'
596598 | 'failed'
597599 | 'completed'
600+ | 'incomplete'
598601 | 'expired' ;
599602
600603export type RunCreateParams = RunCreateParamsNonStreaming | RunCreateParamsStreaming ;
@@ -684,8 +687,9 @@ export interface RunCreateParamsBase {
684687
685688 /**
686689 * 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`.
689693 *
690694 * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
691695 * message the model generates is valid JSON.
@@ -945,8 +949,9 @@ export interface RunCreateAndPollParams {
945949
946950 /**
947951 * 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`.
950955 *
951956 * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
952957 * message the model generates is valid JSON.
@@ -1152,8 +1157,9 @@ export interface RunCreateAndStreamParams {
11521157
11531158 /**
11541159 * 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`.
11571163 *
11581164 * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
11591165 * message the model generates is valid JSON.
@@ -1359,8 +1365,9 @@ export interface RunStreamParams {
13591365
13601366 /**
13611367 * 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`.
13641371 *
13651372 * Setting to `{ "type": "json_object" }` enables JSON mode, which guarantees the
13661373 * message the model generates is valid JSON.
0 commit comments