Skip to content

feat(interruption): barge-in cooldown window for corrections#5269

Merged
chenghao-mou merged 6 commits intomainfrom
ch/bargein-warmup
May 1, 2026
Merged

feat(interruption): barge-in cooldown window for corrections#5269
chenghao-mou merged 6 commits intomainfrom
ch/bargein-warmup

Conversation

@chenghao-mou
Copy link
Copy Markdown
Member

@chenghao-mou chenghao-mou commented Mar 29, 2026

This PR allows

  • VAD interruptions during the first second (configurable) of the agent's speech, while keeping adaptive interruption running (results are ignored until the timer expires)
  • Transcripts that arrive within the cooldown window before the agent finishes speaking are also flushed as normal user input for any premature answers to the agent's last-sentence questions.

This is useful for incorrect back-channel predictions or change-of-mind speeches. This closes AGT-2798

…n during agent speech start

Allow VAD interruptions during the first second of the agent speech, while keeping adaptive interruption running (results are ignored until the timer expires).
@chenghao-mou chenghao-mou requested a review from a team March 29, 2026 18:26
devin-ai-integration[bot]

This comment was marked as resolved.

@chenghao-mou chenghao-mou changed the title feat(interruption): 1s barge-in holdoff window for VAD interruptions feat(interruption): barge-in cooldown window for corrections Apr 27, 2026
Comment thread livekit-agents/livekit/agents/voice/audio_recognition.py Outdated
Comment thread livekit-agents/livekit/agents/voice/audio_recognition.py Outdated
@chenghao-mou chenghao-mou merged commit ef11e97 into main May 1, 2026
24 checks passed
@chenghao-mou chenghao-mou deleted the ch/bargein-warmup branch May 1, 2026 09:59
Copy link
Copy Markdown
Contributor

This is an automated Claude Code Routine created by @toubatbrian. Right now it is in experimentation stage.

This PR landed a core-runtime change (barge-in cooldown / backchannel_boundary for adaptive interruption) and is labeled needs-js. The automation will start porting it into agents-js automatically. A draft PR will be opened against livekit/agents-js shortly with @toubatbrian and @livekit/agent-devs tagged as reviewers.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants