fix(gateway): guard empty/inaudible voice transcripts in enrichment - #41603
Closed
deacon-botdoctor wants to merge 1 commit into
Closed
fix(gateway): guard empty/inaudible voice transcripts in enrichment#41603deacon-botdoctor wants to merge 1 commit into
deacon-botdoctor wants to merge 1 commit into
Conversation
Contributor
|
✅ Verified — empty voice transcript guard is correct Reviewed the diff for
The fix is correct and the extraction into a helper function is clean. No issues found. |
Contributor
|
Thanks for identifying the blank-transcript path. The premise remains valid on current main: Problems
Suggested changes
This is an automated hermes-sweeper review. |
This was referenced Aug 4, 2026
randlee
pushed a commit
to randlee/hermes-agent
that referenced
this pull request
Aug 11, 2026
…d empty transcripts Two hand-written fixes in the voice input path: - _handle_voice_channel_input now resolves the bound text channel's channel_prompt via the adapter's _resolve_channel_prompt so voice input gets the same per-channel context as typed messages (fixes NousResearch#50149). - _enrich_message_with_transcription now guards success=True results whose transcript is empty/whitespace-only (silence, cut-off, inaudible audio): instead of emitting empty quotes the agent gets a clear sentinel note. Reimplemented against the current plain-quoted note wording; original concept and tests by @deacon-botdoctor in PR NousResearch#41603 (fixes NousResearch#41603).
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.
Summary
Here's what they said: "", sending empty content to the model (which can hallucinate a reply and loop)Validation
Scope check