Skip to content

fix(gateway): suppress duplicate voice transcripts#19273

Closed
John-tip wants to merge 1 commit into
NousResearch:mainfrom
John-tip:local/voice-dedupe
Closed

fix(gateway): suppress duplicate voice transcripts#19273
John-tip wants to merge 1 commit into
NousResearch:mainfrom
John-tip:local/voice-dedupe

Conversation

@John-tip
Copy link
Copy Markdown

@John-tip John-tip commented May 3, 2026

Summary

  • Suppress duplicate Discord voice STT transcripts per guild/user over a short window
  • Handles exact repeats and near-identical transcript drift
  • Prevents duplicate delayed agent replies from the same voice utterance

Test plan

  • ./venv/bin/python -m pytest tests/gateway/test_voice_command.py::TestVoiceChannelCommands::test_input_suppresses_duplicate_transcript tests/gateway/test_voice_command.py::TestVoiceChannelCommands::test_input_suppresses_near_duplicate_transcript -q

Deduplicate exact and near-exact Discord voice STT transcripts per guild/user over a short window to avoid duplicate delayed agent replies.

Adds regression tests for exact and near-duplicate voice transcript suppression.
@alt-glitch alt-glitch added type/bug Something isn't working P2 Medium — degraded but workaround exists comp/gateway Gateway runner, session dispatch, delivery platform/discord Discord bot adapter tool/tts Text-to-speech and transcription labels May 3, 2026
@teknium1
Copy link
Copy Markdown
Contributor

teknium1 commented May 3, 2026

Salvaged via #19428 onto current main — your commit's authorship was preserved. Thanks @John-tip!

@teknium1 teknium1 closed this May 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery P2 Medium — degraded but workaround exists platform/discord Discord bot adapter tool/tts Text-to-speech and transcription type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants