LiveSessionConfig

@Serializable
data class LiveSessionConfig(val model: ModelId, val instructions: String? = null, val audio: LiveAudioConfig? = null, val client: LiveClientConfig? = null, val delegation: LiveDelegation? = null, val input: List<LiveHistoryItem>? = null, val store: Boolean? = null, val triggers: List<LiveDecisionTrigger>? = null)

Startup configuration shared by Live media sessions and primary WebSockets.

Constructors

Link copied to clipboard
constructor(model: ModelId, instructions: String? = null, audio: LiveAudioConfig? = null, client: LiveClientConfig? = null, delegation: LiveDelegation? = null, input: List<LiveHistoryItem>? = null, store: Boolean? = null, triggers: List<LiveDecisionTrigger>? = null)

Properties

Link copied to clipboard
val audio: LiveAudioConfig? = null

Voice and, for WebSockets only, the audio wire format.

Link copied to clipboard

Startup capabilities for an untrusted WebRTC frontend.

Link copied to clipboard

Backend owner. Omission selects application-managed delegation.

Link copied to clipboard
val input: List<LiveHistoryItem>? = null

Ordered text-only history, supplied before startup.

Link copied to clipboard
val instructions: String? = null

Conversation style and delegation instructions.

Link copied to clipboard

Live model. It belongs in the session body, never a connection query parameter.

Link copied to clipboard
val store: Boolean? = null

Enables stored-session forking and recording downloads.

Link copied to clipboard

Independent Decisions evaluations triggered by transcript deltas.