kind-battery-85408
12/18/2025, 6:21 PMtall-airline-16756
12/18/2025, 6:21 PMtall-airline-16756
12/18/2025, 6:22 PMallow_interruptions dynamically. Use a counter in your agent or session state, set allow_interruptions=False when the count is 1–2, and switch to True thereafter.
If you’d like, I can:
• Provide a short code example in your preferred language (Python/TypeScript), or
• Show how to wire this into session events like user_turn_completed.
Which would you prefer?
Sources: Turn detection and interruptions | LiveKit Docs | Agent speech and audio | LiveKit docs