{"repo":"NousResearch/hermes-agent","public_id":"91373","display_label":"Fix misclassified stream endings with usage-only final chunks","summary":"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.","subsystem":"agent","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":100515,"merged_at":"2026-09-01T17:12:22+00:00"},"resolution":{"state":"unresolved","by":null},"freshness":{"state":"verified","last_verified_at":"2026-09-01T17:12:22+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":90848,"pr_number":100515,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-01T17:12:22+00:00"},{"issue_number":91373,"pr_number":100515,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-01T17:12:22+00:00"},{"issue_number":94614,"pr_number":100515,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-01T17:12:22+00:00"}],"members":[{"kind":"issue","number":91373,"title":"`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","url":null,"state":"closed"},{"kind":"pr","number":91376,"title":"fix(stream): do not misclassify stream with final usage chunk as mid-stream drop — closes #91373","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"6ddafd34f0","number":0},{"kind":"pr","value":"#100515","number":100515},{"kind":"pr","value":"#91189","number":91189},{"kind":"pr","value":"#96333","number":96333}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":100515,"title":"fix(streaming): complete Portal/vLLM streams no longer misread as mid-stream drops (#90848, #91373; salvages #91189, #91376, #96333)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["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"]}],"trust":{"default_tier":"verified","includes_suggested":false}}