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.

@ chore(dictation): explain the preview timeout so the silence gate can read it

Ruben Lütkee7026b9e30ff
diff --git a/jarvis/dictation/local_preview.py b/jarvis/dictation/local_preview.py
index afb59c9b95..1d1553d096 100644
--- a/jarvis/dictation/local_preview.py
+++ b/jarvis/dictation/local_preview.py
@@ -186,6 +186,10 @@ class LocalPreviewTranscriber:
timeout=PREVIEW_TIMEOUT_S,
)
except TimeoutError:
+ # Not silent: _note_failure logs the attempt and drops the engine once
+ # the failures persist. Returning None is the whole handling — a
+ # preview that missed its slot has nothing left to say, and raising
+ # here would break the dictation the preview only decorates.
self._note_failure("timed out")
return None
except Exception as exc: # noqa: BLE001 — a preview must never break dictation