Abstract Create a provider session owned by the given model.
Model that created this session.
Readonly duplexModel that created this session.
Abstract audioContinuous output audio, including silence, delivered at playback pace.
Provider features declared by the owning model.
Abstract toolsTools currently available to the provider.
Abstract _appendAppend chat items to the provider's context.
Ask the model to speak; its next speech is the reply. Providers may override this.
Optional _instructions: stringOptional _options: { Optional toolOptional tools?: ToolContext<unknown>Abstract _updateAbstract _updateApply provider options used for subsequent replies.
Optional toolApply the complete startup configuration before releasing a waiting provider connection.
Optional instructions: stringOptional chatCtx: ChatContextOptional tools: ToolContext<unknown>Abstract _updateReplace the tools available to the provider.
Abstract push
A provider session with continuous audio output.
Eventsadds provider-specific callbacks to DuplexSessionCallbacks. Provider-specific APIs are accessible throughAgent.duplexSession.