Handling empty assistant messages and tool edge cases
Cluster 66429 · agent. Data as of
1 open item. Fix merged in #88324 on 17 Aug 2026. Check it covers your case.
The short answer
- Known?
- Yes. 5 related items grouped here, 0 issues already closed.
- Fix event
- A fix was merged to main in PR #88324. 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 #88324, then check whether your report is the one still open.
Read #88324Pick up a Lab taskThese issues and PRs address problems with empty assistant messages being sent to the API and related edge cases involving tool call IDs and orphaned tool response loops in agent runs.
Open issues1
- Issue#66429[Bug]: Hermes empty assistant messages
Open PRs0
Fixes on record
-
#73071 refactor: single owner for empty-content wire repair (salvages #71439)
files:
agent/agent_runtime_helpers.py,agent/chat_completion_helpers.py,agent/conversation_loop.py,agent/error_classifier.py,contributors/emails/[redacted:email],tests/agent/test_error_classifier.py,tests/run_agent/test_message_sequence_repair.py,tests/run_agent/test_partial_stream_finish_reason.py,tests/run_agent/test_run_agent.py,tests/run_agent/test_streaming.py -
#88324 fix(agent): keep tool results when a server reuses one tool_call_id (#70724)
files:
agent/agent_runtime_helpers.py,tests/run_agent/test_message_sequence_repair.py
2 PRs closed without merging
From the close comments: done elsewhere 2
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.40: 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