# NousResearch/hermes-agent · Misleading truncation error labels in agent output

## Open now

- Nothing open on GitHub.

These issues and fixes address the agent incorrectly reporting transport or network-related truncation as an output-length limit error. The work involves making truncation and stream-drop labels more accurate and distinguishing clean EOF, network drops, and finish reasons.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #121639. Verify it addresses your case.
- **Recommended:** read PR #121639 (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: `resolved` · deciding PR(s): `pr-121639`. 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

- #91717: \[Bug\]: Misleading "Response truncated due to output length limit" in cronjob after transport timeout

## Prior & competing PRs

- **#121639: fix(agent): honest truncation/stream-drop labels (clean EOF vs network, finish_reason gate, 1-indexed attempts)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/chat_completion_helpers.py`, `agent/stream_diag.py`, `agent/turn_failure_copy.py`, `agent/turn_tool_validation.py`, `agent/turn_truncation.py`, `contributors/emails/164521089+rainbowgits@users.noreply.github.com`, `tests/agent/test_partial_stream_finish_reason.py`, `tests/agent/test_run_agent.py`, `tests/agent/test_stream_drop_logging.py`
- **#91738: fix(agent): stop reporting transport/router truncation as an output-length limit**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `1f041552d7`, `#121639`, `#91717`

## Fix status

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