switch_model failure leaves agent in inconsistent state

NousResearch/hermes-agent · cluster 33175

Data as of

Nothing open on GitHub. Fix merged in #33228. Check it covers your case.

The short answer

0open issues
0open PRs
4items grouped
Known?
Yes. 4 related items grouped here, 2 issues already closed.
Fix event
A fix was merged to main in PR #33228. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this partially resolved, deciding PR #33228. That is separate from the fix event.
Still open
Nothing open on GitHub.

These issues and fixes concern switch_model() leaving the agent in a torn or inconsistent state when a client rebuild fails, and a related gap where restore_primary_runtime() lacks a MoA branch and may send a raw preset name to the provider after fallback recovery.

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.

  • #33228 fix(agent): roll back switch_model() state when client rebuild fails

    merged to main

    files: agent/agent_runtime_helpers.py, tests/run_agent/test_switch_model_rollback.py

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #33199 fix(agent): roll back switch_model state when client rebuild fails · superseded by another PR → #33228
Closed issues · 2
  • Closed#33175switch_model() leaves agent in torn state if client rebuild fails
  • Closed#61712restore_primary_runtime() has no MoA branch, sends raw preset name to provider after fallback recovery
How this cluster was grouped
  • Link evidence (partly structural links): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
  • Members outside that structural core may belong to a different underlying problem.
  • Pairwise link density 0.39: 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

Merged PRs
#33228
Closed issues
2
Attempts
1 PR closed without merging
Fix link checked
27 May 2026

For your agent

The same facts, typed.