Skip to content

The agent that grows with you

fix(stt): local turbo model is selectable in every STT picker (#79629)

tank3219de894da2191
diff --git a/apps/desktop/src/app/settings/constants.ts b/apps/desktop/src/app/settings/constants.ts
index 28826c6fa7f..2042a9d236b 100644
--- a/apps/desktop/src/app/settings/constants.ts
+++ b/apps/desktop/src/app/settings/constants.ts
@@ -248,7 +248,7 @@ export const ENUM_OPTIONS: Record<string, string[]> = {
// modal/daytona/ssh). Remote backends need extra env (image, tokens, host).
'terminal.backend': ['local', 'docker', 'singularity', 'modal', 'daytona', 'ssh'],
'stt.elevenlabs.model_id': ['scribe_v2', 'scribe_v1'],
- 'stt.local.model': ['tiny', 'base', 'small', 'medium', 'large-v3'],
+ 'stt.local.model': ['tiny', 'base', 'small', 'medium', 'large-v3', 'turbo'],
// Speech-to-text backends — kept in sync with BUILTIN_STT_PROVIDERS in
// tools/transcription_common.py (local_command is auto-detected, not picked).
'stt.provider': ['local', 'groq', 'openai', 'mistral', 'xai', 'elevenlabs', 'deepinfra'],
diff --git a/hermes_cli/config_defaults.py b/hermes_cli/config_defaults.py
index 57d3c8c607a..b133a5eba4e 100644
--- a/hermes_cli/config_defaults.py
+++ b/hermes_cli/config_defaults.py
@@ -1168,7 +1168,7 @@ DEFAULT_CONFIG = {
"cloud_trim_threshold_db": -40, # quieter than this counts as silence
"cloud_trim_keep_ms": 300, # how much of each pause survives (natural pacing)
"local": {
- "model": "base", # tiny, base, small, medium, large-v3
+ "model": "base", # tiny, base, small, medium, large-v3, turbo
"language": "", # auto-detect; set "en", "es", ... to force
"initial_prompt": "",
# Anti-hallucination (faster-whisper decodes junk from silence). vad: Silero filter
diff --git a/hermes_cli/tools_config_post_setup.py b/hermes_cli/tools_config_post_setup.py
index bd3727647e0..e409802dd0d 100644
--- a/hermes_cli/tools_config_post_setup.py
+++ b/hermes_cli/tools_config_post_setup.py
@@ -13,6 +13,11 @@ from hermes_cli.cli_output import (
print_warning as _print_warning)
from hermes_cli.config import get_env_value
from hermes_cli.tools_config_cua import _cua_driver_install_ready, install_cua_driver
+from tools.transcription_common import DEFAULT_LOCAL_MODEL, STT_MODEL_CATALOG
+
+_LOCAL_STT_MODEL_SUMMARY = ", ".join(
+ f"{model} (default)" if model == DEFAULT_LOCAL_MODEL else model for model in STT_MODEL_CATALOG["local"]
+)
def _info_lines(*lines: str) -> None:
@@ -120,7 +125,7 @@ def _python_hook(module, extra, label, installing, on_install=(), always=()) ->
_PYTHON_POST_SETUP_HOOKS: dict = {
"faster_whisper": _python_hook(
"faster_whisper", "stt-whisper", "faster-whisper", "Installing faster-whisper (model ~150MB downloads on first use)...",
- on_install=("Model sizes: tiny, base (default), small, medium, large-v3",
+ on_install=(f"Model sizes: {_LOCAL_STT_MODEL_SUMMARY}",
"Change via stt.local.model in config.yaml")),
"kittentts": _python_hook(
"kittentts", "kittentts", "kittentts", "Installing kittentts (~25-80MB model, CPU-only)...",
diff --git a/hermes_cli/web_server_config.py b/hermes_cli/web_server_config.py
index 3a28f5cca60..b4db3ecc50e 100644
--- a/hermes_cli/web_server_config.py
+++ b/hermes_cli/web_server_config.py
@@ -126,7 +126,7 @@ _SCHEMA_OVERRIDES: Dict[str, Dict[str, Any]] = {
),
"stt.provider": _select(
"Speech-to-text provider", "local", "groq", "openai", "mistral", "xai", "elevenlabs", "deepinfra"),
- "stt.local.model": _select("Local faster-whisper model size", "tiny", "base", "small", "medium", "large-v3"),
+ "stt.local.model": _select("Local faster-whisper model size", *STT_MODEL_CATALOG["local"]),
"stt.groq.model": _select("Groq Whisper model", *STT_MODEL_CATALOG["groq"]),
"stt.openai.model": _select("OpenAI transcription model", *STT_MODEL_CATALOG["openai"]),
"stt.openai.streaming_model": _select("OpenAI live transcription model (stt.streaming)", "gpt-live-transcribe",
diff --git a/skills/autonomous-ai-agents/hermes-agent/references/configuration.md b/skills/autonomous-ai-agents/hermes-agent/references/configuration.md
index 8c69af4d875..f8cb3abab9d 100644
--- a/skills/autonomous-ai-agents/hermes-agent/references/configuration.md
+++ b/skills/autonomous-ai-agents/hermes-agent/references/configuration.md
@@ -69,7 +69,7 @@ stt:
enabled: true
provider: local # local (faster-whisper, free) | groq | openai | mistral | elevenlabs | deepinfra
local:
- model: base # tiny, base, small, medium, large-v3
+ model: base # tiny, base, small, medium, large-v3, turbo
```
Auto-detect priority: local faster-whisper (`python -c "import pm; pm.sync_venv(['stt-whisper'], explicit=True)"`) → Groq (`GROQ_API_KEY`, free tier) → OpenAI (`VOICE_TOOLS_OPENAI_KEY`) → Mistral Voxtral (`MISTRAL_API_KEY`).
diff --git a/tests/hermes_cli/test_stt_picker.py b/tests/hermes_cli/test_stt_picker.py
index 5b858c61214..fd47485f006 100644
--- a/tests/hermes_cli/test_stt_picker.py
+++ b/tests/hermes_cli/test_stt_picker.py
@@ -59,7 +59,7 @@ class TestActiveDetection:
class TestModelPicker:
def test_every_model_picker_lists_the_runtime_catalog(self):
- """Dashboard selects and Desktop suggestions offer exactly STT_MODEL_CATALOG per cloud provider."""
+ """Dashboard selects and Desktop suggestions offer exactly STT_MODEL_CATALOG per provider."""
import re
from hermes_cli.web_server_config import _SCHEMA_OVERRIDES
@@ -67,12 +67,14 @@ class TestModelPicker:
desktop = (Path(__file__).resolve().parents[2] / "apps/desktop/src/app/settings/constants.ts").read_text()
for provider, models in STT_MODEL_CATALOG.items():
- if provider == "local":
- continue
key = f"stt.{provider}.{STT_MODEL_CONFIG_KEY.get(provider, 'model')}"
- assert _SCHEMA_OVERRIDES[key]["options"] == models, key
listed = re.search(rf"'{re.escape(key)}': \[([^\]]*)\]", desktop)
- assert listed and re.findall(r"'([^']+)'", listed.group(1)) == models, key
+ assert listed, key
+ desktop_models = re.findall(r"'([^']+)'", listed.group(1))
+ # Local sizes are listed smallest-first in the UIs; the catalog puts the default first.
+ same = set if provider == "local" else list
+ assert same(_SCHEMA_OVERRIDES[key]["options"]) == same(models), key
+ assert same(desktop_models) == same(models), key
assert set(_SCHEMA_OVERRIDES["stt.provider"]["options"]) == BUILTIN_STT_PROVIDERS - {"local_command"}
def test_configure_stt_model_defaults_to_current(self):
diff --git a/tools/transcription_common.py b/tools/transcription_common.py
index 8f114443ee0..3d9df122105 100644
--- a/tools/transcription_common.py
+++ b/tools/transcription_common.py
@@ -45,7 +45,7 @@ MAX_FILE_SIZE = 25 * 1024 * 1024 # 25 MB
# feeds the `hermes tools` picker, the dashboard selects and the auto-correction sets below.
# DeepInfra has no static list: its picker reads the live catalog.
STT_MODEL_CATALOG = {
- "local": ["base", "tiny", "small", "medium", "large-v3"],
+ "local": ["base", "tiny", "small", "medium", "large-v3", "turbo"],
"groq": ["whisper-large-v3-turbo", "whisper-large-v3"],
"openai": ["whisper-1", "gpt-4o-mini-transcribe", "gpt-4o-transcribe", "gpt-transcribe"],
"mistral": ["voxtral-mini-latest", "voxtral-mini-2602"],
diff --git a/tools/transcription_local.py b/tools/transcription_local.py
index d8e4429262e..842bf96317a 100644
--- a/tools/transcription_local.py
+++ b/tools/transcription_local.py
@@ -21,7 +21,7 @@ from typing import Any, Dict, Optional
from tools.transcription_audio import _find_whisper_binary, _prepare_local_audio, _run_quiet
from tools.transcription_common import (
DEFAULT_LOCAL_MODEL, DEFAULT_LOCAL_STT_LANGUAGE, GROQ_MODELS, LOCAL_STT_COMMAND_ENV, RETIRED_GROQ_MODELS,
- OPENAI_MODELS, _config_number, _error_result, _log_prompt_unsupported, _ok_result,
+ OPENAI_MODELS, STT_MODEL_CATALOG, _config_number, _error_result, _log_prompt_unsupported, _ok_result,
_process_error_detail)
# Log-record parity with the origin module.
@@ -84,8 +84,8 @@ def _normalize_local_model(model_name: Optional[str]) -> str:
logger.warning(
"STT model '%s' is a cloud-only name and cannot be used with the local "
"provider. Falling back to '%s'. Set stt.local.model to a valid "
- "faster-whisper size (tiny, base, small, medium, large-v3).",
- model_name, DEFAULT_LOCAL_MODEL)
+ "faster-whisper size (%s).",
+ model_name, DEFAULT_LOCAL_MODEL, ", ".join(STT_MODEL_CATALOG["local"]))
return DEFAULT_LOCAL_MODEL
return model_name
diff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.md
index f7076f7c7a6..894e740cf5c 100644
--- a/website/docs/user-guide/configuration.md
+++ b/website/docs/user-guide/configuration.md
@@ -2441,7 +2441,7 @@ stt:
cloud_trim_keep_ms: 300 # how much of each pause survives the trim (keeps natural pacing)
# prompt: "Hermes, Teknium, Nous Research, kanban" # Static vocabulary hint (see below)
local:
- model: "base" # tiny, base, small, medium, large-v3
+ model: "base" # tiny, base, small, medium, large-v3, turbo
language: "" # per-provider override of stt.language
initial_prompt: "" # optional whisper prompt to bias vocabulary/script (e.g. Simplified Chinese)
vad: true # Silero VAD filter (default on) — silence never reaches whisper; false = raw behavior (music/ambient)
diff --git a/website/docs/user-guide/features/tts.md b/website/docs/user-guide/features/tts.md
index 78cd012620d..726667c83cf 100644
--- a/website/docs/user-guide/features/tts.md
+++ b/website/docs/user-guide/features/tts.md
@@ -497,7 +497,7 @@ stt:
provider: "local" # "local" | "groq" | "openai" | "mistral" | "xai" | "elevenlabs" | "deepinfra"
language: "en" # Global language hint applied to every provider unless a per-provider language overrides it; set "" to restore auto-detect
local:
- model: "base" # tiny, base, small, medium, large-v3
+ model: "base" # tiny, base, small, medium, large-v3, turbo
language: "" # optional ISO-639-1 hint; blank = use HERMES_LOCAL_STT_LANGUAGE if set, else auto-detect
groq:
language: "" # optional ISO-639-1 hint; blank = use HERMES_LOCAL_STT_LANGUAGE if set, else auto-detect
diff --git a/website/docs/user-guide/features/voice-mode.md b/website/docs/user-guide/features/voice-mode.md
index db7c8f10878..2ced53b5184 100644
--- a/website/docs/user-guide/features/voice-mode.md
+++ b/website/docs/user-guide/features/voice-mode.md
@@ -493,7 +493,7 @@ stt:
# (diarization, alignment, archival, etc.)
provider: "local" # "local" (free) | "groq" | "openai" | "mistral" | "xai" | "elevenlabs" | "deepinfra"
local:
- model: "base" # tiny, base, small, medium, large-v3
+ model: "base" # tiny, base, small, medium, large-v3, turbo
language: "" # optional ISO-639-1 hint; blank = use HERMES_LOCAL_STT_LANGUAGE if set, else auto-detect
groq:
language: "" # optional ISO-639-1 hint; blank = use HERMES_LOCAL_STT_LANGUAGE if set, else auto-detect
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/tts.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/tts.md
index 934d96e701e..2cd5c64484a 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/tts.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/tts.md
@@ -405,7 +405,7 @@ def register(ctx):
stt:
provider: "local" # "local" | "groq" | "openai" | "mistral" | "xai"
local:
- model: "base" # tiny, base, small, medium, large-v3
+ model: "base" # tiny, base, small, medium, large-v3, turbo
openai:
model: "whisper-1" # whisper-1, gpt-4o-mini-transcribe, gpt-4o-transcribe, gpt-transcribe
mistral:
diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md
index 91a8f6f9a52..56b0fa1c1c5 100644
--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md
+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/user-guide/features/voice-mode.md
@@ -393,7 +393,7 @@ stt:
# (说话人分离、对齐、归档等)
provider: "local" # "local"(免费)| "groq" | "openai" | "mistral" | "xai"
local:
- model: "base" # tiny, base, small, medium, large-v3
+ model: "base" # tiny, base, small, medium, large-v3, turbo
# model: "whisper-1" # 旧版:在未设置 provider 时使用
# 文字转语音(TTS)