mirror of
https://github.com/Alkatrazz24/Funk-lab.git
synced 2026-07-09 09:34:42 +02:00
- cli.py : commande `stt` (--setup, --mode, --no-tts) - config.py : défauts embarqués + ~/.config/stt/stt.toml - voice/engine.py : refactor de hermes-voice en classe avec callbacks d'état - brain/router.py : 3 modes (hermes SSH / local LiteLLM / claude API) + auto-détection LAN - server/app.py : HTTP statique (HUD) + websocket (états → HUD) - memory/store.py : tier local SQLite (Qdrant + sync GitHub = phase 4) - hud/index.html : HUD MVP (visualiseur d'état + conversation) Vérifié hors-LAN : py_compile, --help, config, routeur (→ claude), mémoire SQLite. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013FmcxGsyXZXogiAHQLjnZT
44 lines
1.6 KiB
TOML
44 lines
1.6 KiB
TOML
# Configuration STT — copier vers ~/.config/stt/stt.toml (`stt --setup` le génère).
|
|
# Ces valeurs reflètent les défauts embarqués (stt/stt/config.py : DEFAULT_CONFIG).
|
|
|
|
[brain]
|
|
# Mode cerveau : "auto" (ping s01 → hermes si LAN, sinon claude), "hermes", "local", "claude"
|
|
mode = "auto"
|
|
lan_probe_host = "192.168.1.200"
|
|
lan_probe_port = 4000 # LiteLLM — présent dès que s01 est joignable
|
|
|
|
[brain.hermes] # mode hermes (LAN) — agit sur Funk (via SSH, éprouvé)
|
|
ssh_host = "s01"
|
|
profile = "funk-ai"
|
|
|
|
[brain.local] # mode local-direct (LAN) — chat Qwen3 sur g01
|
|
url = "http://192.168.1.200:4000/v1/chat/completions"
|
|
api_key = "lm-studio"
|
|
model = "hermes-default"
|
|
|
|
[brain.claude] # mode claude-direct (hors-LAN) — chat seul
|
|
model = "claude-sonnet-4-6" # clé via env ANTHROPIC_API_KEY (jamais ici)
|
|
|
|
[voice]
|
|
wake_word = "hermes" # "Ok Hermès"
|
|
whisper_model = "large-v3" # STT faster-whisper (CPU int8)
|
|
piper_voice = "fr_FR-upmc-medium" # TTS — ~/.local/share/piper/<voix>.onnx
|
|
language = "fr"
|
|
silence_sec = 1.2
|
|
min_speech_sec = 0.6
|
|
chat_timeout_sec = 60
|
|
|
|
[ui]
|
|
theme = "arc-reactor"
|
|
avatar = "default"
|
|
kiosk = true
|
|
ws_host = "127.0.0.1"
|
|
ws_port = 9300 # websocket états → HUD (doit matcher hud/index.html)
|
|
http_port = 9301 # HTTP statique qui sert le HUD
|
|
|
|
[memory]
|
|
enabled = true
|
|
local_db = "~/.local/share/stt/memory.sqlite" # tier local (gitignoré)
|
|
distill_on_exit = true # phase 4
|
|
qdrant_url = "http://192.168.1.200:6333" # tier s01 (phase 4)
|
|
qdrant_collection = "stt-memory"
|