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).