# NousResearch/hermes-agent · Spurious continuation retries on finish_reason=length responses

## Open now

- 0 issues, 2 PRs open on GitHub.
- PR #58093: fix(agent): stop repeated length continuations
- PR #58181: fix(agent): skip continuation for short complete responses with finish_reason=length (#58087)

These members concern agent behavior where a finish_reason of 'length' appears to trigger continuation retries, including on short responses that seem complete (reported with an Ollama/GLM provider). Two are fix-oriented pull requests and one is a bug report; the titles alone don't show what any change actually does or its status.

## 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

- #58087: Bug: finish_reason='length' triggers spurious continuation retries on short complete responses (Ollama/GLM provider)

## Prior & competing PRs

- **#58093: fix(agent): stop repeated length continuations**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`
  - files: `agent/conversation_loop.py`, `tests/run_agent/test_run_agent.py`
- **#58181: fix(agent): skip continuation for short complete responses with finish_reason=length (#58087)**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`
  - files: `agent/conversation_loop.py`

## Fix status

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