Create a session using a copy of the model configuration.
Readonly duplexModel that created this session.
Mono 24 kHz PCM output, retained across reconnects and closed on shutdown.
Provider features declared by the owning model.
Provider session identifier. Changes when a replacement connection starts.
Copy of the tools available to the backend Responses model.
Retain framework chat items for reconnects and send their context or tool results.
Update backend tool selection for this session and future reconnects.
Optional toolApply the complete startup configuration before releasing a waiting provider connection.
Optional instructions: stringOptional chatCtx: ChatContextOptional tools: ToolContext<unknown>Update backend tools. Client delegation requires an empty tool context.
Queue a wire event. Commands wait for session.started before being sent.
GPT-Live WebSocket session, accessible through Agent.duplexSession. Also emits openai_server_event_received, openai_client_event_queued and delegation_created. Append methods queue context without waiting for acknowledgment. The appended events arrive at the estimated context-injection end and do not indicate speech completion.