# NousResearch/hermes-agent · LM Studio model identity detection and sync fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #54454: \[Bug\]: Incorrect reporting of inference model with LM Studio
- PR #58880: fix(agent): re-sync model identity when LM Studio swaps model mid-session
- PR #61113: fix(cli): re-detect auto-detected local model on model swap (#54454)

These members address a bug where the wrong inference model is reported or retained when LM Studio swaps models, covering both CLI re-detection and agent session re-sync.

## TL;DR

- 3 member(s): 1 open issue(s), 0 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.

## Open related issues

- #54454: \[Bug\]: Incorrect reporting of inference model with LM Studio

## Prior & competing PRs

- **#58880: fix(agent): re-sync model identity when LM Studio swaps model mid-session**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/chat_completion_helpers.py`, `agent/conversation_loop.py`, `tests/agent/test_failover_identity.py`
- **#61113: fix(cli): re-detect auto-detected local model on model swap (#54454)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/cli_agent_setup_mixin.py`, `tests/cli/test_cli_provider_resolution.py`, `tests/hermes_cli/test_local_model_redetect.py`

## Fix status

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