# NousResearch/hermes-agent · LM Studio context length fallback fixes and queries

## Open now

- 1 issue, 2 PRs open on GitHub.
- #47678: \[Bug\]: LM Studio probe returns None when model not currently loaded — ignores max_context_length fallback
- PR #47698: fix(agent): fall back to max_context_length in LM Studio probe
- PR #59094: \[codex\] fix LM Studio context metadata fallback

These issues and PRs address a bug where the LM Studio probe fails to retrieve context window size when no model is loaded, and work toward falling back to max_context_length or querying local servers directly. The members share a focused theme around LM Studio context metadata handling.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 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.50`: 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

- #47678: \[Bug\]: LM Studio probe returns None when model not currently loaded — ignores max_context_length fallback

## Prior & competing PRs

- **#47693: fix(lmstudio): fall back to max_context_length when model not loaded**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#47698: fix(agent): fall back to max_context_length in LM Studio probe**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `01ad0aacaf4f5f8a23c72ed14e36d642b930853d`
  - files: `agent/model_metadata.py`
- **#59094: \[codex\] fix LM Studio context metadata fallback**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#47244`
  - files: `agent/model_metadata.py`, `tests/agent/test_model_metadata_local_ctx.py`

## Fix status

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