Skip to content

fix: honor stt.enabled false across gateway transcription#1394

Merged
teknium1 merged 2 commits into
mainfrom
hermes/hermes-eca4a640
Mar 15, 2026
Merged

fix: honor stt.enabled false across gateway transcription#1394
teknium1 merged 2 commits into
mainfrom
hermes/hermes-eca4a640

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

  • salvage the core gateway-side STT disable fix from PR fix(gateway): honor stt.enabled: false — skip transcription when STT disabled #1110 onto current main
  • bridge stt.enabled from config.yaml into GatewayConfig and skip gateway transcription cleanly when disabled
  • add stt.enabled to the default user config and teach shared transcription helpers / voice-mode diagnostics to respect it too
  • add regression coverage for config loading, disabled gateway transcription, and disabled STT provider selection

Test plan

  • source /home/teknium/.hermes/hermes-agent/.venv/bin/activate && python -m py_compile gateway/config.py gateway/run.py tools/transcription_tools.py tools/voice_mode.py hermes_cli/config.py tests/gateway/test_stt_config.py tests/tools/test_transcription.py
  • source /home/teknium/.hermes/hermes-agent/.venv/bin/activate && python -m pytest tests/tools/test_transcription.py tests/tools/test_voice_mode.py tests/gateway/test_stt_config.py -n0 -q
  • source /home/teknium/.hermes/hermes-agent/.venv/bin/activate && python -m pytest tests/ -n0 -q

Credits: includes teyrebaz33's original stt.enabled gateway fix from PR #1110, updated for current main and extended to the shared STT config path. PR #1111 is superseded by this work.

teyrebaz33 and others added 2 commits March 14, 2026 22:09
- bridge stt.enabled from config.yaml into gateway runtime config
- preserve the flag in GatewayConfig serialization
- skip gateway voice transcription when STT is disabled
- add regression tests for config loading and disabled transcription flow
- add stt.enabled to the default user config
- make transcription_tools respect the disabled flag globally
- surface disabled state cleanly in voice mode diagnostics
- add regression coverage for disabled STT provider selection
@teknium1 teknium1 merged commit 84d99f7 into main Mar 15, 2026
1 check passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
…eca4a640

fix: honor stt.enabled false across gateway transcription
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…eca4a640

fix: honor stt.enabled false across gateway transcription
olympus-terminal pushed a commit to olympus-terminal/hermes-agent that referenced this pull request May 16, 2026
…eca4a640

fix: honor stt.enabled false across gateway transcription
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…eca4a640

fix: honor stt.enabled false across gateway transcription
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants