# NousResearch/hermes-agent · Model/provider state persistence after fallback or route rewrite

## Open now

- 1 issue, 0 PRs open on GitHub.
- #118969: \[Bug\]: Fallback persists an impossible provider:model pair (xai + deepseek-v4-flash) after a failed first call

These items appear to share a theme: the stored model or provider state may become inconsistent after a fallback or route change, including an odd provider:model pairing and chats reopening with a different model than expected. One member refers to syncing model_config when the model column is rewritten, but the titles alone do not show how the items relate beyond that theme.

## TL;DR

- 3 member(s): 1 open issue(s), 0 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 #156827. Verify it addresses your case.
- **Recommended:** read PR #156827 (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: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: 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.

## Open related issues

- #118969: \[Bug\]: Fallback persists an impossible provider:model pair (xai + deepseek-v4-flash) after a failed first call

## Prior & competing PRs

- **#156827: Reopened chats keep the picked model after a fallback answered (Desktop, TUI, CLI --resume) (salvage #121629)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/run_turn_prepare.py`, `hermes_cli/cli_model_switch_mixin.py`, `hermes_state_gateway.py`, `hermes_state_sessions.py`, `tests/tui_gateway/test_resume_switched_provider_endpoint.py`, `tui_gateway/agent_factory.py`
- **#118982: fix(state): sync model_config when the first accounted route rewrites the model column**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#156827`

## Fix status

- Merged to main in PR #156827 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-11-17`.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
