@@ -114,11 +114,11 @@ export interface ConversationItem {
114114 role ?: 'user' | 'assistant' | 'system' ;
115115
116116 /**
117- * The status of the item (`completed`, `incomplete`). These have no effect on the
118- * conversation, but are accepted for consistency with the
117+ * The status of the item (`completed`, `incomplete`, `in_progress` ). These have no
118+ * effect on the conversation, but are accepted for consistency with the
119119 * `conversation.item.created` event.
120120 */
121- status ?: 'completed' | 'incomplete' ;
121+ status ?: 'completed' | 'incomplete' | 'in_progress' ;
122122
123123 /**
124124 * The type of the item (`message`, `function_call`, `function_call_output`).
@@ -215,15 +215,16 @@ export interface ConversationItemCreatedEvent {
215215 item : ConversationItem ;
216216
217217 /**
218- * The ID of the preceding item in the Conversation context, allows the client to
219- * understand the order of the conversation.
218+ * The event type, must be `conversation.item.created`.
220219 */
221- previous_item_id : string ;
220+ type : 'conversation.item.created' ;
222221
223222 /**
224- * The event type, must be `conversation.item.created`.
223+ * The ID of the preceding item in the Conversation context, allows the client to
224+ * understand the order of the conversation. Can be `null` if the item has no
225+ * predecessor.
225226 */
226- type : 'conversation.item.created' ;
227+ previous_item_id ?: string | null ;
227228}
228229
229230/**
@@ -682,11 +683,11 @@ export interface ConversationItemWithReference {
682683 role ?: 'user' | 'assistant' | 'system' ;
683684
684685 /**
685- * The status of the item (`completed`, `incomplete`). These have no effect on the
686- * conversation, but are accepted for consistency with the
686+ * The status of the item (`completed`, `incomplete`, `in_progress` ). These have no
687+ * effect on the conversation, but are accepted for consistency with the
687688 * `conversation.item.created` event.
688689 */
689- status ?: 'completed' | 'incomplete' ;
690+ status ?: 'completed' | 'incomplete' | 'in_progress' ;
690691
691692 /**
692693 * The type of the item (`message`, `function_call`, `function_call_output`,
@@ -851,14 +852,15 @@ export interface InputAudioBufferCommittedEvent {
851852 item_id : string ;
852853
853854 /**
854- * The ID of the preceding item after which the new item will be inserted .
855+ * The event type, must be `input_audio_buffer.committed` .
855856 */
856- previous_item_id : string ;
857+ type : 'input_audio_buffer.committed' ;
857858
858859 /**
859- * The event type, must be `input_audio_buffer.committed`.
860+ * The ID of the preceding item after which the new item will be inserted. Can be
861+ * `null` if the item has no predecessor.
860862 */
861- type : 'input_audio_buffer.committed' ;
863+ previous_item_id ?: string | null ;
862864}
863865
864866/**
@@ -1072,9 +1074,9 @@ export interface RealtimeResponse {
10721074
10731075 /**
10741076 * The final status of the response (`completed`, `cancelled`, `failed`, or
1075- * `incomplete`).
1077+ * `incomplete`, `in_progress` ).
10761078 */
1077- status ?: 'completed' | 'cancelled' | 'failed' | 'incomplete' ;
1079+ status ?: 'completed' | 'cancelled' | 'failed' | 'incomplete' | 'in_progress' ;
10781080
10791081 /**
10801082 * Additional details about the status.
0 commit comments