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(config): give the local Piper voice its own defaults instead of a leftover pin

Ruben Lütke8aae6ff30c8b
diff --git a/docs/commands-reference.md b/docs/commands-reference.md
index 19971fe591..0401047e8d 100644
--- a/docs/commands-reference.md
+++ b/docs/commands-reference.md
@@ -26,7 +26,7 @@ Switch the ACTIVE main brain (LLM) provider, e.g. from openai to claude-api. Rev
Switch the active text-to-speech provider (live, no restart).
- **Endpoint:** `POST /api/tts/switch`
-- **Arguments:** `provider` (one of: cartesia, elevenlabs, gemini-flash-tts, grok-voice, inworld, openrouter-tts; required); `persist` (boolean; optional)
+- **Arguments:** `provider` (one of: cartesia, elevenlabs, gemini-flash-tts, grok-voice, inworld, openrouter-tts, piper-local; required); `persist` (boolean; optional)
- **Requires confirmation:** no
- **Desktop UI section:** `apikeys`
- **Voice example (EN):** "switch the voice to elevenlabs"
@@ -36,7 +36,7 @@ Switch the active text-to-speech provider (live, no restart).
Switch the speech-to-text provider. Takes effect on the next voice-pipeline start (restart required).
- **Endpoint:** `POST /api/stt/switch`
-- **Arguments:** `provider` (one of: groq-api, openai-api, openrouter-stt; required); `persist` (boolean; optional)
+- **Arguments:** `provider` (one of: faster-whisper, groq-api, nemotron-local, openai-api, openrouter-stt; required); `persist` (boolean; optional)
- **Requires confirmation:** no
- **Desktop UI section:** `apikeys`
- **Voice example (EN):** "switch speech recognition to deepgram"
@@ -86,7 +86,7 @@ List all configured providers and which ones are active.
Test connectivity and authentication for one provider.
- **Endpoint:** `POST /api/providers/{provider_id}/test`
-- **Arguments:** `provider_id` (one of: antigravity, cartesia, claude-api, claude-cli, codex, elevenlabs, gemini, gemini-flash-tts, gemini-live, grok, grok-voice, groq-api, inworld, local-openai, nvidia, ollama, openai, openai-api, openai-realtime, openrouter, openrouter-stt, openrouter-tts; required)
+- **Arguments:** `provider_id` (one of: antigravity, cartesia, claude-api, claude-cli, codex, elevenlabs, faster-whisper, gemini, gemini-flash-tts, gemini-live, gemini-polish, grok, grok-voice, groq-api, groq-polish, inworld, local-openai, nemotron-local, nvidia, ollama, ollama-polish, openai, openai-api, openai-polish, openai-realtime, openrouter, openrouter-polish, openrouter-stt, openrouter-tts, piper-local; required)
- **Requires confirmation:** no
- **Desktop UI section:** `apikeys`
- **Voice example (EN):** "test the openai provider"
diff --git a/jarvis/core/config_writer.py b/jarvis/core/config_writer.py
index 8614f3de17..89dbd0f8d2 100644
--- a/jarvis/core/config_writer.py
+++ b/jarvis/core/config_writer.py
@@ -1596,12 +1596,48 @@ _TTS_DEFAULTS: dict[str, dict[str, str]] = {
"voice_en": "",
"language_code": "auto",
},
+ "piper-local": {
+ # ``language_code`` is the load-bearing key here, not the voices. A Piper
+ # voice is MONOLINGUAL: the plugin is handed the turn's resolved language
+ # and picks the matching installed voice per turn. Inheriting a
+ # predecessor's pinned "de-DE" would therefore hard-wire every answer to
+ # the German voice, including the ones the resolver decided to speak in
+ # English or Spanish — the runtime-language doctrine broken by a leftover
+ # config value rather than by any code. "auto" keeps the decision where
+ # it belongs.
+ #
+ # The voices are the two the installer actually fetches
+ # (PIPER_DEFAULT_VOICES in jarvis/speech/local_models.py). They are named
+ # rather than left blank so switching away from a cloud provider does not
+ # leave "Charon" sitting in the block: the resolver tolerates an unknown
+ # name, but the settings screen would keep showing a voice this provider
+ # cannot speak with. There is no [tts].model concept for Piper.
+ "model": "",
+ "voice_de": "vits-piper-de_DE-thorsten-medium",
+ "voice_en": "vits-piper-en_US-ryan-medium",
+ "language_code": "auto",
+ },
}
# Per-provider voice allowlist — when the existing voice does not match the
# new provider, we overwrite with the provider default. Kept in sync with
# `jarvis/plugins/tts/__init__.py`.
_VOICES_FOR_PROVIDER: dict[str, frozenset[str]] = {
+ # Every catalogued local Piper voice, not only the two the installer fetches
+ # by default. Without this entry a switch to Piper would reset the voice to
+ # the default pair every time, silently undoing a user who downloaded Ramona
+ # or Amy and chose them — the allowlist is what tells the writer "this value
+ # is already valid for this provider, keep it".
+ "piper-local": frozenset(
+ {
+ "vits-piper-de_DE-thorsten-medium",
+ "vits-piper-de_DE-ramona-low",
+ "vits-piper-en_US-ryan-medium",
+ "vits-piper-en_US-amy-medium",
+ "vits-piper-es_ES-davefx-medium",
+ "vits-piper-es_ES-sharvard-medium",
+ }
+ ),
"gemini-flash-tts": frozenset(
{
"Charon",
diff --git a/jarvis/voice/action_phrases.py b/jarvis/voice/action_phrases.py
index 3f74d075bb..ccd479ecac 100644
--- a/jarvis/voice/action_phrases.py
+++ b/jarvis/voice/action_phrases.py
@@ -456,10 +456,10 @@ _PHRASES: dict[str, dict[str, str]] = {
# working (BUG-121).
"ide_prompt_already_delivered": {
"de": (
- "{name} hat den Auftrag um {time} bekommen — " # i18n-allow
- "ich schicke ihn nicht doppelt." # i18n-allow
+ "{name} hat den Auftrag um {time} bekommen. " # i18n-allow
+ "Ich schicke ihn nicht doppelt." # i18n-allow
),
- "en": "{name} got the task at {time} — I am not sending it twice.",
+ "en": "{name} got the task at {time}. I am not sending it twice.",
"es": "{name} recibió la tarea a las {time}: no la envío dos veces.",
},
# The separator for the final pair of an alternative list ("Maggie or Max").
diff --git a/scripts/config-soll.json b/scripts/config-soll.json
index 4d0e848a91..36cdc7415d 100644
--- a/scripts/config-soll.json
+++ b/scripts/config-soll.json
@@ -64,8 +64,8 @@
"fallback_model_2": "gemini-3-pro-preview"
},
"stt": {
- "provider": "openrouter-stt",
- "model": "openai/whisper-large-v3",
+ "provider": "nemotron-local",
+ "model": "whisper-large-v3",
"bias_prompt": "Jarvis, OpenClaw, Codex, Gemini, Grok, Claude, Anthropic, OpenAI, OpenRouter, Whisper, Subagent, Sub-Agent, Mission-Manager, Critic-Loop, Critic, Worker, Router-Brain, Router, Kontrollierer, Voice-Pipeline, Wake-Word, Silero, VAD, TTS, STT, Telemetry, Transkript, Token, Provider, Plugin, Sprechblase, Orb, Mascot, Quip, Browser, Terminal, Repository, Branch, Commit, Push, Pull-Request, Issue, Merge, Refactor, Deployment, Screenshot, Debuggen, Workflow, Microservice, Container, Docker, Kubernetes, FastAPI, React, TypeScript, Python, JSON, Markdown, Logfile, Konfiguration, Endpoint, Webhook, API-Key, Service-Account, Cloud, Google Cloud, Vertex AI, BigQuery, GitHub, Twilio, ElevenLabs, OAuth, Credential Manager, Frontend, Backend, Skript, Daemon, Hangup, Auflegen, Denkpause, submitted, distanziert, erkennt",
"language": "auto"
},