Handle CUDA context loss gracefully

Fall back to CPU for speaker identification and fail speech recognition with an actionable restart message when the NVIDIA driver resets.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
JavisandCopilot committed 2026-10-10 12:46:59 +02:00
1 parent 0ca4b4bf7a
commit b921938970
8 files changed
+293 -25

No files matched your search

+2
View File
@@ -84,6 +84,8 @@ agent:
max_llm_iterations: 5
# Spoken feedback for voice users (empty string = silent).
error_phrase: "Entschuldigung, da ist etwas schiefgelaufen. Bitte versuch es noch einmal."
# Spoken when the GPU was lost (e.g. NVIDIA driver updated while running).
gpu_lost_phrase: "Die Grafikkarte ist nicht mehr erreichbar, vermutlich wurde der Treiber aktualisiert. Bitte starte Javis neu."
approval_phrase: "Soll ich das ausführen? Sag ja oder nein."
memory: