RealtimeAgentConfiguration
type RealtimeAgentConfiguration<TContext> = Partial<Omit<AgentConfiguration<TContext, TextOutput>, | "model" | "handoffs" | "modelSettings" | "outputType" | "toolUseBehavior" | "resetToolChoice" | "outputGuardrails" | "inputGuardrails" | "model">> & object;
Type declaration
Section titled “Type declaration”handoffs?
Section titled “handoffs?”optional handoffs: ( | RealtimeAgent | Handoff)[];
Any other RealtimeAgent
instances the agent is able to hand off to.
name: string;
The name of your realtime agent.
voice?
Section titled “voice?”optional voice: string;
The voice intended to be used by the agent. If another agent already spoke during the RealtimeSession, changing the voice during a handoff will fail.
Type Parameters
Section titled “Type Parameters”Type Parameter | Default type |
---|---|
|
|