# NousResearch/hermes-agent · Context length overrides ignored for Ollama Cloud delegation

## Open now

- 1 issue, 1 PR open on GitHub.
- #44207: Bug #17685: delegation context_length ignored for Ollama Cloud models — subagents fail with 'Context length exceeded (1,584 tokens)'
- PR #89138: fix(agent): resolve context_length from active model config before shared defaults

Two bug reports describe delegated subagents or delegate_task hitting 'Context length exceeded' errors with Ollama Cloud models, with configured context_length overrides apparently not being applied. A related pull request proposes resolving context_length from the active model config before shared defaults; the members do not themselves confirm whether this addresses the reports.

## TL;DR

- 3 member(s): 1 open issue(s), 1 closed issue(s), 1 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_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.45`: 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

- #44207: Bug #17685: delegation context_length ignored for Ollama Cloud models — subagents fail with 'Context length exceeded (1,584 tokens)'

## Closed / duplicate issues

- #44214: Bug: delegate_task fails with 'Context length exceeded' for Ollama Cloud models (context_length overrides ignored)

## Prior & competing PRs

- **#89138: fix(agent): resolve context_length from active model config before shared defaults**. open
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `b113db1fd`, `3553f23ba`, `31d0a2428`
  - files: `agent/agent_init.py`, `tests/tools/test_delegate_context_length.py`

## Fix status

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