{"repo":"NousResearch/hermes-agent","public_id":"24523","display_label":"Streaming tool calls cause JSON decode errors","summary":"These issues and fixes address a bug where streaming responses fail with JSONDecodeError when tool calls are involved, tracing to an upstream openai-python issue. The fixes include disabling streaming as a workaround when tools are present.","subsystem":"agent","counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":0,"attempt_prs":2},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[],"members":[{"kind":"issue","number":24523,"title":"[Bug]: custom:llmgateway tool calls fail when streamed [ROOT CAUSE FOUND - upstream openai-python#2722]","url":null,"state":"closed"},{"kind":"pr","number":24572,"title":"fix: disable streaming on JSONDecodeError when tools are present","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#24532","number":24532},{"kind":"pr","value":"#24523","number":24523}],"category":"duplicate_of","implication":"duplicate"},"merged":false},{"kind":"pr","number":24852,"title":"fix(agent): reasoning event source + streaming JSONDecodeError with tools","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#24532","number":24532},{"kind":"pr","value":"#24523","number":24523},{"kind":"pr","value":"#24518","number":24518},{"kind":"pr","value":"#24535","number":24535},{"kind":"pr","value":"#24572","number":24572}],"category":"duplicate_of","implication":"duplicate"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}