Optional expressiveExpressive TTS delivery. Pass false to override and disable the session setting.
Optional llmNew LLM model. Pass null to disable the agent LLM and override any session LLM.
A RealtimeModel can only be set while the agent is not running: swapping to or
from one on a running agent throws, because it replaces the whole pipeline rather than
one model. Use AgentSession.updateAgent() for that.
Optional sttNew STT model. Pass null to disable the agent STT and override any session STT.
Optional ttsNew TTS model. Pass null to disable the agent TTS and override any session TTS.
Optional vadNew VAD model. Pass null to disable the agent VAD and override any session VAD.
Fields to change on an Agent, passed to Agent.updateOptions.
Only the fields you pass are changed. Omitting a field and passing it as
undefinedmean the same thing — leave the agent's current value alone — matchingis_given()/NOT_GIVENin the Python framework. Passnullto disable a model on this agent, which also overrides any session-level model.