# NousResearch/hermes-agent · Copilot model routing lost after gateway restart

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #70184: fix: pass target_model to resolve_runtime_provider in model override rehydration

A bug where Copilot model routing configuration is not preserved across gateway restarts, causing requests to be sent to the wrong API endpoint and silently falling back to a different model. The accompanying fixes address rehydration of model overrides and routing resolution on restart.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.

## Closed / duplicate issues

- #113701: \[Bug\]: After a gateway restart, a chat-completions-only Copilot model (gemini-3.8-flash) is sent to the Responses API and fails with HTTP 400, then silently falls back to a different model

## Prior & competing PRs

- **#70184: fix: pass target_model to resolve_runtime_provider in model override rehydration**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - files: `tests/gateway/test_session_model_override_persistence.py`, `tests/hermes_cli/test_runtime_provider_resolution.py`
- **#113709: fix(gateway): preserve Copilot model routing on restart**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `931b5ff9e7b1d23a2ffa92635d5605cc27837983`

## Fix status

- No merged fix on record.
- Subsystem: `gateway`
