Misleading truncation error labels in agent output
Cluster 91717 · agent. Data as of
Nothing open on GitHub. Fix merged in #121639 on 26 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #121639. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #121639. That is separate from the fix event. - Still open
- 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.
Open issues0
Open PRs0
Fixes on record
-
#121639 fix(agent): honest truncation/stream-drop labels (clean EOF vs network, finish_reason gate, 1-indexed attempts)
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/[email protected],tests/agent/test_partial_stream_finish_reason.py,tests/agent/test_run_agent.py,tests/agent/test_stream_drop_logging.py
1 PR closed without merging
From the close comments: done elsewhere 1
-
#91738 fix(agent): stop reporting transport/router truncation as an output-length limit · done elsewhere →
1f04155,#121639,#91717
Closed issues · 1
- Closed#91717[Bug]: Misleading "Response truncated due to output length limit" in cronjob after transport timeout
How this cluster was grouped
-
Link evidence (
structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference. -
Pairwise link density
0.67: the share of item pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36.1.00means every pair is linked.
Pick up a Lab task
Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.
Open the LabAt a glance
- Subsystem
- agent
- Merged PRs
- #121639
- Closed issues
- 1
- Attempts
- 1 PR closed without merging
- Fix link checked
- 26 Sep 2026