# NousResearch/hermes-agent · Gateway session route handling for custom endpoints shadowing built-in provider names

## Open now

- 1 issue, 0 PRs open on GitHub.
- #140107: \[Bug\]\[Gateway\] Custom endpoint named like a built-in provider (deepseek) gets its bare spelling frozen as the session route by the 0.22.x launch-route layer — every turn of that chat fails (AuthError for 'deepseek' / OpenRouter 400)

The members appear to center on the gateway's launch-route/session-route behavior, including a bug report about a custom endpoint named like a built-in provider (deepseek) having its bare name stored as the route. Two related pull requests concern keeping a shadowed custom pick on the profile entry's route and keeping stored routes canonical while restoring older local receipts.

## 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 #140234. Verify it addresses your case.
- **Recommended:** read PR #140234 (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

- #140107: \[Bug\]\[Gateway\] Custom endpoint named like a built-in provider (deepseek) gets its bare spelling frozen as the session route by the 0.22.x launch-route layer — every turn of that chat fails (AuthError for 'deepseek' / OpenRouter 400)

## Prior & competing PRs

- **#140234: fix(gateway): restore older local receipts and keep stored routes canonical**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/session_a2a.py`, `gateway/session_authority.py`, `gateway/session_controls.py`, `gateway/session_local_adoption.py`, `gateway/session_local_recovery.py`, `gateway/session_policy.py`, `gateway/session_route_identity.py`, `hermes_state_local_lineage.py`, `tests/gateway/test_legacy_session_continue_label.py`, `tests/gateway/test_local_receipt_missing_profile.py`, `tests/gateway/test_local_receipt_untracked_compression.py`, `tests/gateway/test_local_recovery_pre_profile_origin.py`, `tests/gateway/test_owner_loop_writes_class.py`, `tests/gateway/test_session_local_reopen_on_turn.py`, `tests/gateway/test_session_policy.py`, `tests/gateway/test_session_policy_shadowed_custom_create.py`, `tests/gateway/test_session_route_identity.py`
- **#140114: fix(gateway): keep a shadowed custom pick on the profile entry's route**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#140234`, `#140107`

## Fix status

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