# NousResearch/hermes-agent · Cross-session model/endpoint isolation fixes

## Open now

- 1 issue, 0 PRs open on GitHub.
- #73680: Running sessions adopt model changes from other \`hermes model\` invocations (model/endpoint mismatch)

Running sessions were incorrectly inheriting model and endpoint changes made in other sessions. These issues and fixes address isolating model state per session and preventing stale provider URLs or keys from leaking across contexts.

## TL;DR

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

## Open related issues

- #73680: Running sessions adopt model changes from other \`hermes model\` invocations (model/endpoint mismatch)

## Prior & competing PRs

- **#115661: Switching to a bare custom endpoint from another provider no longer keeps the old provider's URL and key (#73680 Bug 2)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/model_switch.py`, `tests/hermes_cli/test_model_switch_custom_providers.py`
- **#116138: A bare \`custom\` switch no longer adopts the OPENROUTER_BASE_URL mirror, and dashboard-submitted custom endpoints survive the assignment (#73680 follow-up)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/model_switch.py`, `hermes_cli/web_server_config.py`, `tests/hermes_cli/test_model_switch_custom_providers.py`, `tests/hermes_cli/test_web_server.py`
- **#73737: fix(cli): isolate model changes per session to prevent cross-session contamination**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `9dee8863e1`, `a513dd974f`, `c61815232a`, `6b4073648e`, `#115661`, `#116138`

## Fix status

- Merged to main in PR #116138 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
- Subsystem: `hermes_cli`
