Is there any documentation on this feature release...
# ask-ai
m
Is there any documentation on this feature released in version 1.2.8 • AgentSession.start() now returns a
RunResult
when called with
capture_run=True
. • This makes it possible to assert the first message when the agent initiates the conversation:
Copy code
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
.
t
Thanks for reaching out, Matt. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!