# NousResearch/hermes-agent · Config model.context_length override silently masks provider context limits; warnings proposed

## Open now

- 1 issue, 1 PR open on GitHub.
- #54386: ## Title \`model.context_length: 65536\` silently caps context window — config override beats catalog with no warning
- PR #54390: fix(agent): warn on config context_length override and remove misleading Ollama hint

The members share one theme: a configured model.context_length value appears to override catalog or live provider limits without a visible warning, and may persist across model or provider switches. Two members look like proposed changes that add a warning or a '(pinned)' indicator and remove a misleading Ollama hint; the other two describe the problem.

## TL;DR

- 4 member(s): 1 open issue(s), 1 closed issue(s), 1 open PR(s), 1 merged PR(s), 0 PR(s) closed without merging.
- A fix was merged to main in PR #115892. Verify it addresses your case.
- **Recommended:** read PR #115892 (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: `partially_resolved` · deciding PR(s): `pr-115892`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.39`: 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

- #54386: ## Title \`model.context_length: 65536\` silently caps context window — config override beats catalog with no warning

## Closed / duplicate issues

- #66168: \[Bug\]: Global model.context_length override silently masks live provider limits and survives model/provider switches

## Prior & competing PRs

- **#115892: feat(cli): context window shows '(pinned)' for a model.context_length pin and warns once on provider disagreement (#66168)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_init.py`, `agent/context_pin.py`, `hermes_cli/banner.py`, `hermes_cli/cli_info_mixin.py`, `hermes_cli/cli_loops_mixin.py`, `hermes_cli/cli_model_switch_mixin.py`, `hermes_cli/cli_status_bar_mixin.py`, `tests/agent/test_context_pin.py`, `website/docs/integrations/providers.md`
- **#54390: fix(agent): warn on config context_length override and remove misleading Ollama hint**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `agent/conversation_loop.py`, `agent/model_metadata.py`, `tests/agent/test_model_metadata.py`

## Fix status

- Merged to main in PR #115892 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
- Subsystem: `agent`
