# NousResearch/hermes-agent · Fix misclassified stream endings with usage-only final chunks

## Open now

- Nothing open on GitHub.

These items address a bug where spec-compliant streams ending with a usage-only chunk (no finish_reason) are incorrectly treated as mid-stream disconnections. The fix prevents erroneous 'continue' nudges being injected into otherwise complete responses.

## TL;DR

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

- #91373: \`include_usage\` makes the final chunk usage-only (no \`finish_reason\`) per OpenAI spec — hermes misreads spec-compliant vLLM streams as network cuts, injecting fake "continue" nudges

## Prior & competing PRs

- **#100515: fix(streaming): complete Portal/vLLM streams no longer misread as mid-stream drops (#90848, #91373; salvages #91189, #91376, #96333)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/chat_completion_helpers.py`, `contributors/emails/[redacted:email]`, `hermes_cli/proxy/server.py`, `hermes_cli/proxy/sse_done.py`, `tests/hermes_cli/test_proxy.py`, `tests/hermes_cli/test_sse_done.py`, `tests/run_agent/test_partial_stream_finish_reason.py`
- **#91376: fix(stream): do not misclassify stream with final usage chunk as mid-stream drop — closes #91373**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `6ddafd34f0`, `#100515`, `#91189`, `#96333`

## Fix status

- Merged to main in PR #100515 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-01`.
- Subsystem: `agent`
