quick-artist-10782
02/17/2025, 2:22 AMgray-monkey-83525
02/17/2025, 2:22 AMallow_interruptions
parameter in the say
method to control whether interruptions are allowed during speech playback. If interruptions are allowed, the current speech can be interrupted, and you can handle this event to perform custom actions.
To implement custom behavior when an agent is interrupted, you might consider using event listeners. According to the LiveKit documentation, you can register callbacks for events such as agent_speech_interrupted
to execute custom logic when an interruption occurs. This allows you to modify the chat context, log events, or trigger other actions based on your requirements.
Would you like more detailed guidance on setting up these event listeners and handling interruptions?
Sources:
- LiveKit documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.