NousResearch/hermes-agent

Provider not persisted when switching models in sessions

Cluster 79536. Data as of

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

The short answer

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

These issues and PRs concern a bug where the provider field is not saved to model_config during a model switch, causing sessions that use cross-provider fallback to fail on resume. Fixes target both the persistence function and session resume logic.

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.

  • #85261 fix: restore session model on resume instead of falling back to config default

    merged to main

    files: cli.py, hermes_cli/cli_agent_setup_mixin.py, hermes_cli/cli_commands_mixin.py, hermes_state.py, tests/cli/test_resume_model_restore.py

  • #85977 fix: persist provider on model switch and add billing_provider fallback

    merged to main

    files: gateway/slash_commands.py, hermes_state.py, tests/cli/test_resume_model_restore.py, tui_gateway/server.py

2 PRs closed without merging

From the close comments: done elsewhere 1 · merged via another change 1

  • #79604 fix(session): persist provider on model switch and use it on resume · merged via another change → #85977, #85721
  • #79811 fix(persistence): persist provider in model_config on model switch (#79536) · done elsewhere → #79604
Closed issues · 1
  • Closed#79536bug(persistence): update_session_model() doesn't persist provider in model_config → cross-provider fallback sessions 404 on resume
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.40: 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
#85261, #85977
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
14 Aug 2026

For your agent

The same facts, typed.