Fix mid-turn model switching and session guard errors
Cluster 126343 · hermes cli. Data as of
Nothing open on GitHub. Fix merged in #134906 on 8 Oct 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #134906. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These items address bugs in model selection and switching logic: a mid-turn model pick incorrectly deferring, a session-lifetime token counter causing the large-context switch guard to misfire, and a desktop UI showing a spurious failed-reply card during model switches.
Open issues0
Open PRs0
Fixes on record
-
#134847 fix(desktop): switching models no longer shows a failed-reply card that then succeeds
files:
contributors/emails/[redacted:email],hermes_cli/model_selection_guards.py,tests/hermes_cli/test_context_cache_switch_guard.py,tests/tui_gateway/test_deferred_model_switch_confirm.py,tui_gateway/methods_config_set.py,tui_gateway/model_switch.py,tui_gateway/session_compression.py -
#134906 fix(tui_gateway): a model picked mid-turn without --provider asks first instead of being dropped next turn (follow-up #134847)
files:
hermes_cli/context_switch_guard.py,tests/hermes_cli/test_context_switch_guard.py,tests/tui_gateway/test_deferred_model_switch_confirm.py,tui_gateway/methods_config_set.py,tui_gateway/session_compression.py
1 PR closed without merging
From the close comments: done elsewhere 1
-
#126346 fix(cli): ignore lifetime session tokens in the switch guard · done elsewhere →
96c2d9f,#134847,#134906
Closed issues · 1
- Closed#126343selection_context_for_agent reads the lifetime session counter, so the large-context switch guard reports a wrong size and fires on every long session
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.50: 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 Lab