# NousResearch/hermes-agent · Legacy pre-0.22.1 session adoption routing in gateway

## Open now

- Nothing open on GitHub.

The members appear to share one theme: how gateway sessions created before v0.22.1 are adopted or resumed, and whether their saved model/provider routing is preserved. One is a bug report about model_config details (provider, base_url, reasoning) being dropped with an HTTP 404 reported, and two are fix-oriented changes touching legacy local routes and keeping the original route without borrowing the profile's key.

## TL;DR

- 3 member(s): 0 open issue(s), 1 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 #139617. Verify it addresses your case.
- **Recommended:** read PR #139617 (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-139617`. 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.

## Closed / duplicate issues

- #138912: \[Bug\]: adopt_legacy_session drops row\['model_config'\] provider/base_url/reasoning — resumed pre-v0.22.1 sessions route model to wrong provider (HTTP 404)

## Prior & competing PRs

- **#139617: fix(gateway): a pre-0.22.1 session adopted after the upgrade keeps its route and never borrows the profile's key**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/session_local_migration.py`, `gateway/session_route_identity.py`, `tests/gateway/test_legacy_acp_route.py`, `tests/gateway/test_legacy_session_route_turn.py`, `tests/gateway/test_session_route_identity.py`
- **#138922: fix(gateway): restore legacy local session routes**. closed without merge
  - maintainer direction: category `wontfix_bydesign`; implication `wontfix`

## Fix status

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