@@ -1796,11 +1796,14 @@ export interface SessionCreatedEvent {
17961796
17971797/**
17981798 * Send this event to update the session’s default configuration. The client may
1799- * send this event at any time to update the session configuration, and any field
1800- * may be updated at any time, except for "voice". The server will respond with a
1801- * `session.updated` event that shows the full effective configuration. Only fields
1802- * that are present are updated, thus the correct way to clear a field like
1803- * "instructions" is to pass an empty string.
1799+ * send this event at any time to update any field, except for `voice`. However,
1800+ * note that once a session has been initialized with a particular `model`, it
1801+ * can’t be changed to another model using `session.update`.
1802+ *
1803+ * When the server receives a `session.update`, it will respond with a
1804+ * `session.updated` event showing the full, effective configuration. Only the
1805+ * fields that are present are updated. To clear a field like `instructions`, pass
1806+ * an empty string.
18041807 */
18051808export interface SessionUpdateEvent {
18061809 /**
@@ -1982,11 +1985,18 @@ export namespace SessionUpdateEvent {
19821985 */
19831986 export interface TurnDetection {
19841987 /**
1985- * Whether or not to automatically generate a response when VAD is enabled. `true`
1986- * by default.
1988+ * Whether or not to automatically generate a response when a VAD stop event
1989+ * occurs. `true` by default.
19871990 */
19881991 create_response ?: boolean ;
19891992
1993+ /**
1994+ * Whether or not to automatically interrupt any ongoing response with output to
1995+ * the default conversation (i.e. `conversation` of `auto`) when a VAD start event
1996+ * occurs. `true` by default.
1997+ */
1998+ interrupt_response ?: boolean ;
1999+
19902000 /**
19912001 * Amount of audio to include before the VAD detected speech (in milliseconds).
19922002 * Defaults to 300ms.
0 commit comments