RunResult when called with capture_run=True.
This makes it possible to assert the first message when the agent initiates the conversation:result = await sess.start(EchoAgent(), capture_run=True)
result.expect.next_event().is_agent_handoff(new_agent_type=EchoAgent)
result.expect.next_event().is_message(role="assistant")
false_interruption_timeout. Audio output is paused and then resumed on the same SpeechHandle, eliminating the need to manually call generate_reply() in the agent_false_interruption event handler—please remove this call if present from earlier versions. This behavior is enabled by default; to disable automatic resume, set resume_false_interruption=False.Full Changelog: https://github.com/livekit/agents/compare/livekit-agents@1.2.7...livekit-agents@1.2.8
Fetched April 11, 2026