From faba6811533f48728391e721a2a501f41db02005 Mon Sep 17 00:00:00 2001 From: Mikei386 <44135113+Mikei386@users.noreply.github.com> Date: Mon, 24 Aug 2026 19:18:46 +0200 Subject: [PATCH] Configure Hermes for German voice and responses --- docs/CURRENT_REFERENCE.md | 7 +++++++ platform/hermes/SOUL.md | 3 +++ platform/hermes/config.yaml | 31 +++++++++++++++++++++++++++++++ platform/hermes/install-hermes.sh | 3 +++ 4 files changed, 44 insertions(+) create mode 100644 platform/hermes/SOUL.md diff --git a/docs/CURRENT_REFERENCE.md b/docs/CURRENT_REFERENCE.md index aca8fe3..2e40c49 100644 --- a/docs/CURRENT_REFERENCE.md +++ b/docs/CURRENT_REFERENCE.md @@ -86,6 +86,13 @@ Der Router übernimmt: ## Hermes Agent - Container: `mike-ai-hermes` +- Standardsprache: Deutsch (`display.language`, deutsches `SOUL.md`) +- Spracheingabe: lokales Faster-Whisper, Modell `base`, Sprachhinweis `de` +- Sprachausgabe: Athena-TTS über die OpenAI-kompatible Router-API; XTTS v2 + mit **Annmarie Nele**, Piper als automatischer Fallback +- Bei einer entfernten Hermes-Desktop-App läuft Audio bewusst über das + Hermes-Backend (`voice.client_direct: false`), weil Router und TTS nur im + internen Docker-Netz erreichbar sind. - Version: 0.20.5, offizielles Image per OCI-Digest gepinnt - Standardmodell: `qwen-medium`, 160.000 Kontext, über den Profile Router - Dashboard: WireGuard-Port 9119 mit Basic-Auth diff --git a/platform/hermes/SOUL.md b/platform/hermes/SOUL.md new file mode 100644 index 0000000..94cc3ce --- /dev/null +++ b/platform/hermes/SOUL.md @@ -0,0 +1,3 @@ +You are Hermes Agent, an intelligent AI assistant created by Nous Research. You are helpful, knowledgeable, and direct. You assist users with a wide range of tasks including answering questions, writing and editing code, analyzing information, creative work, and executing actions via your tools. You communicate clearly, admit uncertainty when appropriate, and prioritize being genuinely useful over being verbose unless otherwise directed below. Be targeted and efficient in your exploration and investigations. + +German is the user's default language. Reply in natural German unless the user asks for another language or the task requires preserving source-language content. Technical commands, identifiers, code, paths, product names, and quoted source text may remain in their original language. diff --git a/platform/hermes/config.yaml b/platform/hermes/config.yaml index 15caf6d..3477605 100644 --- a/platform/hermes/config.yaml +++ b/platform/hermes/config.yaml @@ -30,6 +30,37 @@ agent: gateway_timeout: 3600 session_stall_timeout: 600 +# German is the platform default. The display setting localizes the static +# messages Hermes currently supports; agent replies are governed by SOUL.md. +display: + language: "de" + +# Speech input stays local and private. A fixed German hint avoids Whisper +# interpreting short utterances as English while retaining the fast base model. +stt: + enabled: true + provider: "local" + language: "de" + prompt: "Hermes, Athena, Qwen, OpenWebUI, Unraid, Home Assistant, Sonarr, Radarr, Navidrome" + local: + model: "base" + language: "de" + +# Reuse Athena's OpenAI-compatible TTS route. It currently serves XTTS v2 with +# Annmarie Nele and transparently falls back to Piper when XTTS is unavailable. +tts: + provider: "openai" + speed: 1.0 + openai: + model: "piper" + voice: "alloy" + speed: 1.0 + base_url: "http://router:8081/v1" + +voice: + auto_tts: true + client_direct: false + skills: creation_nudge_interval: 20 diff --git a/platform/hermes/install-hermes.sh b/platform/hermes/install-hermes.sh index c1bafac..b1d425f 100755 --- a/platform/hermes/install-hermes.sh +++ b/platform/hermes/install-hermes.sh @@ -11,6 +11,7 @@ die() { printf 'FEHLER: %s\n' "$*" >&2; exit 1; } [[ $EUID -eq 0 ]] || die "Bitte als root ausführen." [[ -s $SECRETS_DIR/router-api-key ]] || die "Router-API-Key fehlt." [[ -s $STACK_DIR/platform/hermes/config.yaml ]] || die "Hermes-Konfiguration fehlt im Stack." +[[ -s $STACK_DIR/platform/hermes/SOUL.md ]] || die "Hermes-Systemanweisung fehlt im Stack." install -d -m 0700 "$HERMES_DATA_DIR" install -d -m 0750 "$HERMES_DATA_DIR/workspace" @@ -32,6 +33,7 @@ fi cat >"$HERMES_DATA_DIR/.env" <