# NousResearch/hermes-agent · Model switching credential errors in gateway local sessions

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #138897: fix(gateway): switch models away from an unresolvable frozen route

One issue reports an AuthError (\`provider 'custom' resolved without credentials\`) when switching models in desktop chat for local-DM sessions of secondary profiles, with \`session.mutate\` crashing. Two pull requests touch gateway model-switching behavior, one about switching away from an unresolvable frozen route and one about keeping a local session's endpoint and key together; their exact effect isn't established from the titles alone.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #139614. Verify it addresses your case.
- **Recommended:** read PR #139614 (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: `resolved` · deciding PR(s): `pr-139614`. 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.50`: 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

- #138879: Desktop chat model switch fails: session.mutate crashes with AuthError "provider 'custom' resolved without credentials" for local-DM sessions of secondary profiles

## Prior & competing PRs

- **#139614: fix(gateway): keep a local session's endpoint and key together on a model pick**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `contributors/emails/5354424+dokterdok@users.noreply.github.com`, `gateway/run_turn_prepare.py`, `gateway/session_managed_worker.py`, `gateway/session_mutation_model.py`, `gateway/session_policy.py`, `gateway/session_route_identity.py`, `gateway/session_worker_construct.py`, `tests/gateway/test_session_mutation_model_route.py`, `tests/gateway/test_session_route_identity.py`
- **#138897: fix(gateway): switch models away from an unresolvable frozen route**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#139614`
  - files: `gateway/session_mutation_model.py`, `tests/gateway/test_session_mutation_model.py`
- **#138960: fix(gateway): keep a local session's endpoint and key together on a model pick**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#139614`

## Fix status

- Merged to main in PR #139614 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-10-16`.
- Subsystem: `gateway`
