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(realtime): say why a malformed Thinking-pause value falls back quietly

Harald3cbb8dbb2741
diff --git a/jarvis/realtime/session.py b/jarvis/realtime/session.py
index d4474e484d..01ed64553c 100644
--- a/jarvis/realtime/session.py
+++ b/jarvis/realtime/session.py
@@ -3222,6 +3222,8 @@ class RealtimeVoiceSession:
try:
ms = int(raw) if raw is not None else _TURN_PAUSE_DEFAULT_MS
except (TypeError, ValueError):
+ # A non-numeric slider value is a config typo, not a fault: the
+ # default keeps the call usable, and the clamp below bounds it.
ms = _TURN_PAUSE_DEFAULT_MS
return max(_TURN_PAUSE_MIN_MS, min(_TURN_PAUSE_MAX_MS, ms))