From feaee979f4031a42fc6770525045f7f75e5104a8 Mon Sep 17 00:00:00 2001 From: Dita Aji Pratama Date: Tue, 6 Oct 2026 19:20:07 +0700 Subject: [PATCH] Fixing ASR features --- interfaces/tui/app.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/interfaces/tui/app.py b/interfaces/tui/app.py index 44adf8c..bf8c2e3 100644 --- a/interfaces/tui/app.py +++ b/interfaces/tui/app.py @@ -50,6 +50,9 @@ class HendrikTUI: self.agent_thread: threading.Thread | None = None self.agent_done = threading.Event() + self.session_mgr = NeoSessionManager() + self.current_session: NeoSession | None = None + # State push-to-talk (ASR) — lihat interfaces/tui/talk.py self.talk_recorder = None # Recorder aktif saat merekam self.talk_transcribing = False # request ASR berjalan @@ -70,9 +73,6 @@ class HendrikTUI: except Exception: return False - self.session_mgr = NeoSessionManager() - self.current_session: NeoSession | None = None - def _lookup_model_set_name(self) -> str: """Nama model set yang sedang aktif (untuk status bar).