Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(stt): remove local Faster-Whisper as a user-selectable STT provider

Ruben Lütkef0ec68751341
diff --git a/jarvis.toml.example b/jarvis.toml.example
index 704e7a044d..f502d32f88 100644
--- a/jarvis.toml.example
+++ b/jarvis.toml.example
@@ -41,8 +41,7 @@ sensitivity = 0.5
# ── Speech-to-Text ──
[stt]
-provider = "groq-api" # groq-api | openai-api | deepgram-flux | deepgram-nova3 | faster-whisper
-fallback = "faster-whisper" # offline fallback (needs the [desktop] local-whisper extra)
+provider = "groq-api" # groq-api | openai-api | openrouter-stt | deepgram-flux | deepgram-nova3
device = "cpu" # cpu | cuda — keep "cpu" unless you have a local GPU
language = "auto" # "de" | "en" | "auto"
bias_prompt = "" # optional comma-separated vocab to stabilize proper nouns
diff --git a/jarvis/brain/app_control.py b/jarvis/brain/app_control.py
index eb5b0f2ae6..55b4ddd922 100644
--- a/jarvis/brain/app_control.py
+++ b/jarvis/brain/app_control.py
@@ -80,8 +80,12 @@ AUTH_PROVIDER_ALIASES: dict[str, str] = {
"grok-voice": "grok",
}
-# Local providers that need no credential at all.
-_NO_CREDENTIAL_PROVIDERS: frozenset[str] = frozenset({"faster-whisper"})
+# Local providers that need no credential at all. Empty since v1.0.1: the only
+# entry, the local "faster-whisper" STT dictation provider, was removed from the
+# user-selectable catalog (see provider_spec.py). is_credential_present() still
+# reports auth_mode=="none" providers as configured, so a future local provider
+# needs no change here.
+_NO_CREDENTIAL_PROVIDERS: frozenset[str] = frozenset()
# A stored secret must be at least this long before we reveal a 3+3 preview.
# Below it, 6 revealed characters would expose too large a fraction of the key,
diff --git a/jarvis/brain/model_catalog.py b/jarvis/brain/model_catalog.py
index 8b58c2aa69..80fe873c1d 100644
--- a/jarvis/brain/model_catalog.py
+++ b/jarvis/brain/model_catalog.py
@@ -203,9 +203,10 @@ TTS_CATALOG: dict[str, tuple[str, list[ModelInfo]]] = {
# STT model catalogs (the ``[stt] model`` is a single global value).
STT_CATALOG: dict[str, list[ModelInfo]] = {
"groq-api": _ids(["whisper-large-v3", "whisper-large-v3-turbo", "distil-whisper-large-v3-en"]),
- "faster-whisper": _ids([
- "distil-large-v3", "large-v3", "large-v3-turbo", "medium", "small", "base", "tiny",
- ]),
+ # "faster-whisper" (local) was removed as a user-selectable STT provider in
+ # v1.0.1 — see the note in provider_spec.py. The wake-word local Whisper and
+ # the key-free STT fallback do NOT use this catalog (they read [stt].wake_*
+ # / construct FasterWhisperProvider directly), so no wake/fallback breakage.
"openai-api": _ids(["gpt-4o-transcribe", "gpt-4o-mini-transcribe", "whisper-1"]),
"deepgram": _ids(["nova-3", "nova-2", "nova-2-general", "enhanced", "base"]),
# OpenRouter STT — the model picker offers ONLY transcription models. This
diff --git a/jarvis/ui/web/provider_routes.py b/jarvis/ui/web/provider_routes.py
index f57c50b77a..b7b0eb5635 100644
--- a/jarvis/ui/web/provider_routes.py
+++ b/jarvis/ui/web/provider_routes.py
@@ -48,9 +48,14 @@ router = APIRouter(prefix="/api", tags=["providers"])
# Setup-Wizard deklarierten Slots.
ALLOWED_SECRET_KEYS: frozenset[str] = frozenset(s.key for s in WIZARD_SECRETS)
-# Lokale Provider, die im Privacy-Mode erlaubt bleiben.
-# Ollama wurde 2026-04-21 entfernt — nur STT (faster-whisper) ist aktuell lokal.
-LOCAL_PROVIDERS: frozenset[str] = frozenset({"faster-whisper"})
+# Local providers allowed to stay active in the airgapped privacy profile.
+# Empty since v1.0.1: Ollama was removed 2026-04-21, and the local
+# "faster-whisper" STT dictation provider was removed from the user-selectable
+# catalog (see provider_spec.py). With no local brain/STT provider left, the
+# airgapped profile admits no provider switch — an honest state, not a
+# regression: airgapped means "local only", and there is currently no local
+# provider to switch TO. (Wake still runs its own local Whisper off this list.)
+LOCAL_PROVIDERS: frozenset[str] = frozenset()
# Codex subagent slugs (_CODEX_SUBAGENT_SLUGS / _CODEX_SUBAGENT_CANONICAL) are
# imported from jarvis.missions.worker_runtime.provider_map — the single source
diff --git a/jarvis/ui/web/provider_spec.py b/jarvis/ui/web/provider_spec.py
index 7e42b6cec0..d28fa392b0 100644
--- a/jarvis/ui/web/provider_spec.py
+++ b/jarvis/ui/web/provider_spec.py
@@ -330,18 +330,17 @@ PROVIDERS: tuple[ProviderSpec, ...] = (
"lists only transcription-capable models."
),
),
- ProviderSpec(
- id="faster-whisper",
- label="Faster-Whisper (lokal)",
- tier="stt",
- auth_mode="none",
- secret_keys=(),
- dashboard_url=None,
- credential_help=(
- "Runs locally on your machine — no API key, no account. Needs the "
- "[desktop] extra and a one-time model download."
- ),
- ),
+ # Local "Faster-Whisper (lokal)" STT was REMOVED as a user-selectable
+ # provider (2026-07-03, v1.0.1). Two defects made the card actively
+ # misleading: the provider list never checked whether the local-voice extra
+ # was actually installed, so it always showed as "ready" on a base install;
+ # and the model dropdown listed all seven Whisper checkpoints regardless of
+ # what was downloaded. Cloud STT (groq-api / openai-api / openrouter-stt) is
+ # the supported dictation path. NOTE: this only removes the *dictation*
+ # provider from the UI — the wake word still uses its own local Whisper
+ # (build_wake_whisper, reading [stt].wake_*), and build_stt_from_config keeps
+ # a key-free local faster-whisper *fallback* (_build_local_fallback, AP-22)
+ # as an invisible resilience floor for a user with no cloud STT key.
)
diff --git a/tests/integration/test_provider_routes.py b/tests/integration/test_provider_routes.py
index c674317156..72b862dd44 100644
--- a/tests/integration/test_provider_routes.py
+++ b/tests/integration/test_provider_routes.py
@@ -118,7 +118,10 @@ def test_list_providers_returns_full_catalog(server_with_brain: WebServer, secre
assert "codex" in ids
assert "openclaw" not in ids
assert "gemini-flash-tts" in ids, "Gemini Flash TTS must be in the catalog"
- assert "faster-whisper" in ids, "local STT as a 'none'-auth provider"
+ assert "faster-whisper" not in ids, (
+ "local faster-whisper STT was removed as a user-selectable provider "
+ "in v1.0.1 (install-detection + model-list defects); cloud STT only"
+ )
assert "elevenlabs" in ids, "ElevenLabs is a selectable premium TTS provider"
assert "ollama-local" not in ids, "Ollama was removed on 2026-04-21"
@@ -212,7 +215,6 @@ def test_list_providers_exposes_credential_help_and_billing(
assert by_id["gemini"]["billing"] == "api"
assert by_id["antigravity"]["billing"] == "subscription_or_api"
assert by_id["codex"]["billing"] == "subscription_or_api"
- assert by_id["faster-whisper"]["billing"] == "local"
def test_list_providers_exposes_gemini_vertex_alt_path(
diff --git a/tests/unit/brain/test_model_catalog.py b/tests/unit/brain/test_model_catalog.py
index e1c9f872f0..7692e91ac2 100644
--- a/tests/unit/brain/test_model_catalog.py
+++ b/tests/unit/brain/test_model_catalog.py
@@ -79,7 +79,9 @@ class TestProviderCatalog:
assert any("sonic" in m.id for m in spec.curated)
def test_stt_providers_select_a_model(self) -> None:
- for p in ("groq-api", "faster-whisper", "openai-api", "deepgram"):
+ # Local "faster-whisper" was removed as a user-selectable STT provider
+ # (v1.0.1); the cloud STT providers still each expose a model list.
+ for p in ("groq-api", "openai-api", "deepgram"):
spec = catalog_spec(p)
assert spec is not None, p
assert spec.tier == "stt"
diff --git a/tests/unit/test_provider_spec.py b/tests/unit/test_provider_spec.py
index 2182c248f6..fa5d7810a7 100644
--- a/tests/unit/test_provider_spec.py
+++ b/tests/unit/test_provider_spec.py
@@ -141,7 +141,18 @@ def test_provider_billing_is_derived_from_auth_mode() -> None:
assert provider_billing(by_id["gemini"]) == "api"
assert provider_billing(by_id["antigravity"]) == "subscription_or_api"
assert provider_billing(by_id["codex"]) == "subscription_or_api"
- assert provider_billing(by_id["faster-whisper"]) == "local"
+ # No auth_mode="none" provider ships today — the local "faster-whisper" STT
+ # was removed as a user-selectable provider in v1.0.1 — but the capability
+ # mapping still resolves "none" → "local" for any future local provider.
+ _local = ProviderSpec(
+ id="synthetic-local",
+ label="Synthetic Local",
+ tier="stt",
+ auth_mode="none",
+ secret_keys=(),
+ dashboard_url=None,
+ )
+ assert provider_billing(_local) == "local"
def test_antigravity_accepts_api_key_billing() -> None: