The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(tui): drop the unused route lookup in _fallback_session_info
kshitijk4poor433cc1c9582c
diff --git a/tui_gateway/server.py b/tui_gateway/server.pyindex bd9da0e154c..0e4f56faecd 100644--- a/tui_gateway/server.py+++ b/tui_gateway/server.py@@ -3108,7 +3108,6 @@ def _fallback_session_info(session: dict) -> dict:# so a client can clear a stale label instead of retaining it — the same contract `_lazy_session_info`# above already follows.cwd = _session_cwd(session)- model, provider = _session_default_route(session)return {"cwd": cwd, "branch": git_probe.branch(cwd), "project": _project_info_for_cwd(cwd), "lazy": True,**_lazy_info_route(session, {}), "skills": {}, "tools": {}, "desktop_contract": DESKTOP_BACKEND_CONTRACT,