The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(stt): honest memory-behavior wording for idle unload
kshitije7667e56df2e
diff --git a/cli-config.yaml.example b/cli-config.yaml.exampleindex 176a24fbf67..1030f1b22d8 100644--- a/cli-config.yaml.example+++ b/cli-config.yaml.example@@ -1211,7 +1211,7 @@ stt:# vad_min_silence_ms: 500 # min silence (ms) that splits speech chunks when vad is on# no_speech_prob_threshold: 0.6 # drop a segment only if no_speech_prob > this...# logprob_threshold: -1.0 # ...AND avg_logprob < this (both must hit — quiet real speech survives)- # unload_after_idle_seconds: 0 # 0=never unload (default); 300=frees RAM/VRAM after 5min with no voice messages+ # unload_after_idle_seconds: 0 # 0=never unload (default); e.g. 300 releases the model after 5min idle (frees VRAM on GPU; next voice message reloads it)language: "en" # GLOBAL language hint for every STT provider (per-provider language wins). Set "" for auto-detect.# groq:# model: "whisper-large-v3-turbo"diff --git a/hermes_cli/config_defaults.py b/hermes_cli/config_defaults.pyindex d8b0ee363a7..0b14c8db0dc 100644--- a/hermes_cli/config_defaults.py+++ b/hermes_cli/config_defaults.py@@ -1537,7 +1537,7 @@ DEFAULT_CONFIG = {"vad_min_silence_ms": 500, # min silence (ms) that splits speech chunks when vad is on"no_speech_prob_threshold": 0.6, # drop a segment only if no_speech_prob is ABOVE this..."logprob_threshold": -1.0, # ...AND its avg_logprob is BELOW this (both must hit)- "unload_after_idle_seconds": 0, # 0=never (default); 300=frees RAM/VRAM after 5min idle+ "unload_after_idle_seconds": 0, # 0=never (default); e.g. 300 releases the model after 5min idle},"groq": {"model": "whisper-large-v3-turbo", # whisper-large-v3, whisper-large-v3-turbo, distil-whisper-large-v3-endiff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.mdindex 36934d1bb13..76f3c082ccd 100644--- a/website/docs/user-guide/configuration.md+++ b/website/docs/user-guide/configuration.md@@ -1872,7 +1872,7 @@ stt:vad_min_silence_ms: 500 # min silence (ms) that splits speech chunks when vad is onno_speech_prob_threshold: 0.6 # drop a segment only when no_speech_prob > this...logprob_threshold: -1.0 # ...AND avg_logprob < this (both must hit — quiet real speech survives)- unload_after_idle_seconds: 0 # 0=never unload (default); 300=frees ~370MB RAM after 5min idle+ unload_after_idle_seconds: 0 # 0=never unload (default); e.g. 300 = release the model after 5min idlegroq:language: "" # per-provider override of stt.languageopenai:@@ -1887,7 +1887,7 @@ Set `stt.echo_transcripts: false` when the gateway should transcribe voice notesProvider behavior:-- `local` uses `faster-whisper` running on your machine. Install it separately with `pip install faster-whisper`. Silence-hallucination hardening is on by default: a Silero VAD filter keeps silence/noise from ever reaching Whisper, cross-window conditioning is disabled, and segments the model itself flags as probably-not-speech *and* low-confidence are dropped. Set `stt.local.vad: false` to transcribe non-speech audio (music, ambient) with the raw behavior. The model stays loaded in memory between voice messages for low-latency transcription; set `stt.local.unload_after_idle_seconds` (e.g. `300` for 5 minutes) to automatically release the model when idle — useful on gateway processes or machines with limited RAM/VRAM.+- `local` uses `faster-whisper` running on your machine. Install it separately with `pip install faster-whisper`. Silence-hallucination hardening is on by default: a Silero VAD filter keeps silence/noise from ever reaching Whisper, cross-window conditioning is disabled, and segments the model itself flags as probably-not-speech *and* low-confidence are dropped. Set `stt.local.vad: false` to transcribe non-speech audio (music, ambient) with the raw behavior. The model stays loaded in memory between voice messages for low-latency transcription; set `stt.local.unload_after_idle_seconds` (e.g. `300` for 5 minutes) to automatically release the model when idle. This frees GPU memory on CUDA hosts (the main win when a local LLM shares the GPU); on CPU the memory becomes reusable by the process, though the OS-visible footprint may not shrink until the process needs the space for something else. The next voice message reloads the model transparently.- `groq` uses Groq's Whisper-compatible endpoint and reads `GROQ_API_KEY`. Pass `stt.groq.language` (or the global `HERMES_LOCAL_STT_LANGUAGE` env var) to skip auto-detection and reduce latency.- `openai` uses the OpenAI speech API and reads `VOICE_TOOLS_OPENAI_KEY`.