can we update max_endpointing_delay property on ru...
# ask-ai
w
can we update max_endpointing_delay property on runtime between different agents in same agent session?
t
Thanks for reaching out, Test. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
You're asking if
max_endpointing_delay
can be changed at runtime when switching between agents in the same agent session — yes. You can update it by calling
update_options()
on the active
AgentActivity
(or via agent-level overrides on the
Agent
instance). Agent-level values take precedence over session defaults, and when you call
AgentSession.update_agent(agent)
the new agent's options propagate to the active
AgentActivity
, allowing dynamic adjustment of endpointing behavior during an active session. Would you like a short code snippet showing
update_options()
usage? Sources: Agents (Python) | livekit/livekit_composite | DeepWiki