Skip to content

The agent that grows with you

fix(tui_gateway): drop a never-started Thread left over from the stale base

kshitijk4poor21d5dd198c97
diff --git a/tui_gateway/prompt_turn.py b/tui_gateway/prompt_turn.py
index c39d5378763..0d027f27231 100644
--- a/tui_gateway/prompt_turn.py
+++ b/tui_gateway/prompt_turn.py
@@ -984,7 +984,6 @@ def _run_prompt_submit(
followup = run_body()
if followup is not None:
_run_post_turn_followups(rid, sid, session, *followup)
- run_thread = threading.Thread(target=run, daemon=True)
# The handle is resolved BEFORE _sessions_lock: a profile session opens its own SessionDB through the
# state registry, and _sessions_lock gates every create/close/prompt on this backend.
with _routing_provenance_db(session) as routing_db, _sessions_lock: