Skip to content

The agent that grows with you

fix(tui): the capture-busy probe catches only a missing voice wrapper

Teknium1bc7e62b90c7
diff --git a/tui_gateway/methods_voice.py b/tui_gateway/methods_voice.py
index 716f66d560e..9f306488d0d 100644
--- a/tui_gateway/methods_voice.py
+++ b/tui_gateway/methods_voice.py
@@ -93,9 +93,9 @@ def _stop_session_voice_capture(session_id) -> None:
def _capture_live() -> bool:
try:
from hermes_cli.voice import is_continuous_active
- return bool(is_continuous_active())
- except Exception:
+ except ImportError: # an older voice wrapper without the probe
return False
+ return bool(is_continuous_active())
def _voice_capture_callback(fn):