Handle missing agent in session without crashing
Cluster 111531. Data as of
Nothing open on GitHub. Fix merged in #112223 on 16 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #112223. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #112223. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address a bug where a session with no agent causes an AttributeError crash and silently drops the prompt. The fix returns a retryable error for the turn instead of crashing or losing the prompt.
Open issues0
Open PRs0
Fixes on record
-
#112223 fix(tui_gateway): a session with no agent fails the turn with a retryable error instead of dropping the prompt (#111531, salvage #111534)
files:
tests/tui_gateway/test_none_agent_turn_guard.py,tui_gateway/prompt_turn.py,tui_gateway/server.py,tui_gateway/user_messages.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#111534 fix(tui_gateway): fail a turn whose session has no agent instead of crashing · merged via another change →
6f0be92,#112223
Closed issues · 1
- Closed#111531[Bug]: Desktop turn dies with `AttributeError: 'NoneType' object has no attribute 'interim_assistant_callback'` when a session's agent is None — prompt silently dropped
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Merged PRs
- #112223
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 16 Sep 2026