# NousResearch/hermes-agent · Tool-call argument loss during stream interruption

## Open now

- 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.

## TL;DR

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

- #80498: Tool-call arguments silently replaced with empty object when stream dies mid-call — silent data loss, no retry (write_file never executed)

## Prior & competing PRs

- **#80963: fix(agent): make the send-path message copy structural — close the history write-through class (#80498)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - 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)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - 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`
- **#80623: fix(streaming): flag empty tool-call args on clean stream end (#80498)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#81017`, `#80963`, `#80498`

## Fix status

- Merged to main in PR #81017 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-07`.
