Merge pull request #1299 from NousResearch/hermes/hermes-f5fb1d3b

fix: salvage PR #327 voice mode onto current main
This commit is contained in:
Teknium 2026-03-14 06:45:20 -07:00 committed by GitHub
commit 95c0bee7f8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 9454 additions and 230 deletions

View file

@ -37,6 +37,7 @@ COMMANDS_BY_CATEGORY = {
"/verbose": "Cycle tool progress display: off → new → all → verbose",
"/reasoning": "Manage reasoning effort and display (usage: /reasoning [level|show|hide])",
"/skin": "Show or change the display skin/theme",
"/voice": "Toggle voice mode (Ctrl+B to record). Usage: /voice [on|off|tts|status]",
},
"Tools & Skills": {
"/tools": "List available tools",

View file

@ -202,6 +202,14 @@ DEFAULT_CONFIG = {
"model": "whisper-1", # whisper-1, gpt-4o-mini-transcribe, gpt-4o-transcribe
},
},
"voice": {
"record_key": "ctrl+b",
"max_recording_seconds": 120,
"auto_tts": False,
"silence_threshold": 200, # RMS below this = silence (0-32767)
"silence_duration": 3.0, # Seconds of silence before auto-stop
},
"human_delay": {
"mode": "off",