NousResearch/hermes-agent

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

0open issues
0open PRs
4items grouped
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

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #134847 fix(desktop): switching models no longer shows a failed-reply card that then succeeds

    merged to main

    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)

    merged to main

    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.00 means 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

At a glance

Subsystem
hermes cli
Merged PRs
#134847, #134906
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
8 Oct 2026

For your agent

The same facts, typed.