mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-30 19:09:28 +00:00
Saying EXACTLY a configured stop phrase (default: 'stop') and nothing else now ends the voice conversation instead of being sent to the agent as a prompt. Match is deliberately strict — whole utterance, case-insensitive, surrounding punctuation stripped — so 'stop doing that and try X' still reaches the agent. - tools/voice_mode.py: is_voice_stop_phrase() + voice.stop_phrases config loader (default ['stop'], [] disables, malformed config falls back safely). - hermes_cli/voice.py: shared continuous loop (TUI + desktop) halts on a stop phrase exactly like the silent-cycle limit (fires on_silent_limit so every UI turns voice off); stop_continuous force-transcribe path swallows the phrase without counting a silent cycle. - cli.py: classic CLI push-to-talk/continuous path and barge-in utterance path disable voice mode on a stop phrase. - Config default voice.stop_phrases: ['stop']; docs updated. Tests: tests/tools/test_voice_stop_phrase.py (27 tests, sabotage-verified: loop test fails when detection is disabled); voice suites green (110 + 44 passed). |
||
|---|---|---|
| .. | ||
| egress | ||
| features | ||
| messaging | ||
| secrets | ||
| skills | ||
| _category_.json | ||
| checkpoints-and-rollback.md | ||
| cli.md | ||
| configuration.md | ||
| configuring-models.md | ||
| desktop.md | ||
| docker.md | ||
| git-worktrees.md | ||
| import-from-other-agents.md | ||
| managed-scope.md | ||
| multi-profile-gateways.md | ||
| profile-distributions.md | ||
| profiles.md | ||
| security.md | ||
| sessions.md | ||
| tui.md | ||
| windows-native.md | ||
| windows-wsl-quickstart.md | ||