Agent truncation retry loop fixes and logging
Cluster 105771 · agent. Data as of
1 open item. Fix merged in #121543 on 24 Sep 2026. Check it covers your case.
The short answer
- Known?
- Yes. 3 related items grouped here, 0 issues already closed.
- Fix event
- A fix was merged to main in PR #121543. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
unresolved. That is separate from the fix event. - Still open
- 1 issue and 0 PRs.
Next step: read #121543, then check whether your report is the one still open.
Read #121543Pick up a Lab taskThese items address bugs in the agent's truncated tool-call retry loop, specifically that the max_tokens budget boost was incorrectly capped and that the give-up path was not being recorded in agent.log.
Open issues1
- Issue#105771Truncated tool-call retry loop: max_tokens boost is capped at the requested cap (retries are no-ops), and the give-up path is invisible in agent.log
Open PRs0
Fixes on record
-
#121543 fix(agent): truncation retries grow the output budget (clamped to model limit); tools-available continuation; refund fallback call
files:
agent/context_compressor.py,agent/conversation_loop.py,agent/turn_context_compaction.py,agent/turn_empty_response.py,agent/turn_final_response.py,agent/turn_iteration_prep.py,agent/turn_truncation.py,tests/agent/test_empty_response_fallback_refund.py,tests/agent/test_partial_stream_continuation_prompt.py,tests/agent/test_run_agent.py,tests/agent/test_truncated_tool_call_boost.py
1 PR closed without merging
From the close comments: superseded by another PR 1
-
#105789 fix(agent): log the truncated tool-call give-up path to agent.log · superseded by another PR →
3ac22a3,#121543,#72770
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
- #121543
- Closed issues
- 0
- Attempts
- 1 PR closed without merging
- Fix link checked
- 24 Sep 2026