@@ -2162,6 +2162,7 @@ export namespace SessionUpdateEvent {
21622162 | 'gpt-4o-realtime-preview'
21632163 | 'gpt-4o-realtime-preview-2024-10-01'
21642164 | 'gpt-4o-realtime-preview-2024-12-17'
2165+ | 'gpt-4o-realtime-preview-2025-06-03'
21652166 | 'gpt-4o-mini-realtime-preview'
21662167 | 'gpt-4o-mini-realtime-preview-2024-12-17' ;
21672168
@@ -2171,6 +2172,13 @@ export namespace SessionUpdateEvent {
21712172 */
21722173 output_audio_format ?: 'pcm16' | 'g711_ulaw' | 'g711_alaw' ;
21732174
2175+ /**
2176+ * The speed of the model's spoken response. 1.0 is the default speed. 0.25 is the
2177+ * minimum speed. 1.5 is the maximum speed. This value can only be changed in
2178+ * between model turns, not while a response is in progress.
2179+ */
2180+ speed ?: number ;
2181+
21742182 /**
21752183 * Sampling temperature for the model, limited to [0.6, 1.2]. For audio models a
21762184 * temperature of 0.8 is highly recommended for best performance.
@@ -2188,6 +2196,15 @@ export namespace SessionUpdateEvent {
21882196 */
21892197 tools ?: Array < Session . Tool > ;
21902198
2199+ /**
2200+ * Configuration options for tracing. Set to null to disable tracing. Once tracing
2201+ * is enabled for a session, the configuration cannot be modified.
2202+ *
2203+ * `auto` will create a trace for the session with default values for the workflow
2204+ * name, group id, and metadata.
2205+ */
2206+ tracing ?: 'auto' | Session . TracingConfiguration ;
2207+
21912208 /**
21922209 * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be
21932210 * set to `null` to turn off, in which case the client must manually trigger model
@@ -2326,6 +2343,29 @@ export namespace SessionUpdateEvent {
23262343 type ?: 'function' ;
23272344 }
23282345
2346+ /**
2347+ * Granular configuration for tracing.
2348+ */
2349+ export interface TracingConfiguration {
2350+ /**
2351+ * The group id to attach to this trace to enable filtering and grouping in the
2352+ * traces dashboard.
2353+ */
2354+ group_id ?: string ;
2355+
2356+ /**
2357+ * The arbitrary metadata to attach to this trace to enable filtering in the traces
2358+ * dashboard.
2359+ */
2360+ metadata ?: unknown ;
2361+
2362+ /**
2363+ * The name of the workflow to attach to this trace. This is used to name the trace
2364+ * in the traces dashboard.
2365+ */
2366+ workflow_name ?: string ;
2367+ }
2368+
23292369 /**
23302370 * Configuration for turn detection, ether Server VAD or Semantic VAD. This can be
23312371 * set to `null` to turn off, in which case the client must manually trigger model
0 commit comments