Feature/interrupt handler aditya gupta#500
Open
adi9336 wants to merge 5 commits intoDark-Sys-Jenkins:mainfrom
Open
Feature/interrupt handler aditya gupta#500adi9336 wants to merge 5 commits intoDark-Sys-Jenkins:mainfrom
adi9336 wants to merge 5 commits intoDark-Sys-Jenkins:mainfrom
Conversation
…tion - Add advanced backchanneling detection to prevent unnecessary interruptions - Implement smart logic for repeated words (emphasis vs backchanneling) - Update agent instructions to ignore backchanneling responses - Add comprehensive ignore words list for acknowledgments and agreements - Fix audio breaks during interruption verification - Update README with detailed documentation of new features Files modified: - agent_activity.py: Core interruption logic in on_final_transcript() - interruption_handler.py: Decision-making logic in should_interrupt() - interrupt_config.py: Word lists and configuration - basic_agent.py: Agent instructions for LLM behavior - README.md: Documentation of intelligent interruption system
- Add detailed logging to both RealtimeModel and regular transcript paths - Implement phrase-based backchanneling detection (e.g., 'i see', 'got it') - Add word extraction and normalization utilities - Fix repeated word logic to only interrupt non-ignored words - Defer interruption decisions to transcript processing for cleaner flow - Add comprehensive logging for debugging interruption decisions - Support both single words and multi-word phrases in ignore list
Author
|
Title Context-aware interruption handling + proof Description Summary
Behavior (per scenarios)
Files
Notes
EvidenceSee If you want a shorter version, say “short PR comment”. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.