Voice
Interruptions (barge-in)
The user talks while the agent is speaking: stop, listen, and remember what was actually said.
What it is and why it exists
Barge-in requires echo cancellation (so the agent doesn’t hear itself), detecting user speech during playback, stopping TTS immediately, cancelling the in-flight generation, and truncating the conversation history to what the user actually heard.
Quick prototype
Not supported.
In production, at scale
Full-duplex audio with echo cancellation, instant TTS stop, generation cancellation, and history truncated to the spoken portion.
Vendors and tools
| WebRTC AEC | Echo cancellation |
|---|---|
| Realtime voice APIs | Built-in interruption handling |
How it fails
- The model thinks it said the whole paragraph the user interrupted
What the interviewer asks next
Why truncate the assistant message on interruption?
So the model’s memory matches what the user heard; otherwise it refers to information the user never got.