# NousResearch/hermes-agent · switch_model failure leaves agent in inconsistent state

## Open now

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

## TL;DR

- 4 member(s): 0 open issue(s), 2 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #33228. Verify it addresses your case.
- **Recommended:** read PR #33228 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `partially_resolved` · deciding PR(s): `pr-33228`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): 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 member 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.

## Closed / duplicate issues

- #33175: switch_model() leaves agent in torn state if client rebuild fails
- #61712: restore_primary_runtime() has no MoA branch, sends raw preset name to provider after fallback recovery

## Prior & competing PRs

- **#33228: fix(agent): roll back switch_model() state when client rebuild fails**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/agent_runtime_helpers.py`, `tests/run_agent/test_switch_model_rollback.py`
- **#33199: fix(agent): roll back switch_model state when client rebuild fails**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#33228`

## Fix status

- Merged to main in PR #33228 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-05-27`.
