mammoth-shoe-93270
11/04/2025, 8:35 AMRunResult 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")
• Agent false interruptions are now automatically resumed after the 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.tall-airline-16756
11/04/2025, 8:36 AMtall-airline-16756
11/04/2025, 8:36 AM