Tool-call argument loss during stream interruption
Cluster 80498. Data as of
Nothing open on GitHub. Fix merged in #81017 on 7 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 4 related items grouped here, 1 issue already closed.
- Fix event
- A fix was merged to main in PR #81017. Check it covers your case. No release data is tracked.
- Tracker
- The maintainers' tracker marks this
resolved, deciding PR #81017. That is separate from the fix event. - Still open
- Nothing open on GitHub.
These members concern a bug where tool-call arguments are silently lost or replaced with empty data when a stream ends mid-call, and related fixes to detect and prevent execution of tools with incomplete arguments.
Open issues0
Open PRs0
Fixes on record
-
#80963 fix(agent): make the send-path message copy structural — close the history write-through class (#80498)
files:
agent/agent_runtime_helpers.py,agent/conversation_loop.py,agent/message_sanitization.py,agent/prompt_caching.py,contributors/emails/[redacted:email],tests/agent/test_canon_args_memo_parity.py,tests/agent/test_send_path_history_isolation.py -
#81017 fix(streaming): never execute a tool whose arguments were lost to a mid-stream drop (#80498)
files:
agent/chat_completion_helpers.py,tests/run_agent/test_anthropic_mid_tool_call_drop.py,tests/run_agent/test_partial_stream_finish_reason.py,tests/run_agent/test_run_agent.py
1 PR closed without merging
From the close comments: merged via another change 1
-
#80623 fix(streaming): flag empty tool-call args on clean stream end (#80498) · merged via another change →
#81017,#80963,#80498
Closed issues · 1
- Closed#80498Tool-call arguments silently replaced with empty object when stream dies mid-call — silent data loss, no retry (write_file never executed)
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.50: 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 Lab