# NousResearch/hermes-agent · Fix mismatched provider/model pairing in desktop

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #101544: fix(desktop): isolate local composer model by profile
- PR #101796: fix(desktop): prevent mismatched provider and model selections

These items address a bug where the desktop app accepts and incorrectly handles provider/model combinations that do not match, including a fix to isolate composer model selection by profile.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 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

- #101091: \[Bug\]: Desktop accepts a mismatched provider/model pair and injects the model into the wrong provider group

## Prior & competing PRs

- **#101544: fix(desktop): isolate local composer model by profile**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#116344`, `#101091`, `#101796`
  - files: `apps/desktop/src/app/session/hooks/use-session-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/store/profile.ts`, `apps/desktop/src/store/session.test.ts`, `apps/desktop/src/store/session.ts`
- **#101796: fix(desktop): prevent mismatched provider and model selections**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#116344`, `#101544`, `#101091`, `#101796`
  - files: `apps/desktop/e2e/fleet-profile-rail.spec.ts`, `apps/desktop/e2e/mock-server.ts`, `apps/desktop/e2e/provider-model-profile-isolation.spec.ts`, `apps/desktop/src/app/session/hooks/use-model-controls.ts`, `apps/desktop/src/app/session/hooks/use-session-actions.test.tsx`, `apps/desktop/src/app/session/hooks/use-session-actions/index.ts`, `apps/desktop/src/app/session/hooks/use-session-actions/utils.ts`, `apps/desktop/src/app/session/hooks/use-session-state-cache.ts`, `apps/desktop/src/store/session.test.ts`, `apps/desktop/src/store/session.ts`, `hermes_cli/model_switch.py`, `hermes_cli/model_switch_providers.py`, `hermes_cli/models.py`, `tests/hermes_cli/test_model_provider_compatibility.py`, `tests/tui_gateway/test_make_agent_provider.py`, `tests/tui_gateway/test_session_create_model_provider_guard.py`, `tui_gateway/methods_session.py`, `tui_gateway/server.py`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
