do we have agent_speech_interrupted event?
# ask-ai
h
do we have agent_speech_interrupted event?
t
Thanks for reaching out, YUNYI. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Yes, the
agent_speech_interrupted
event exists. It is emitted when an agent's speech is interrupted before completing its full response. When this happens, the system adds an ellipsis ("...") to the end of the collected text, creates a chat message with this text, adds it to the chat context, and emits the
agent_speech_interrupted
event with this message as a parameter. Sources: GitHub::livekit::livekit_composite | livekit/agents-js/agents/src/multimoda... | livekit.agents.voice_assistant API documentation