{"repo":"NousResearch/hermes-agent","public_id":"9705","display_label":"Retry streaming without stream_options on 400/422 errors","summary":"These items address endpoints (such as Azure AI Foundry serverless) that reject requests with HTTP 400 or 422 when stream_options is included, and a proposed fix to automatically retry streaming without that field in those cases.","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":109143,"merged_at":"2026-09-12T15:25:41+00:00"},"resolution":{"state":"resolved","by":"pr-109143"},"freshness":{"state":"verified","last_verified_at":"2026-09-12T15:25:41+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":9705,"pr_number":109143,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-12T15:25:41+00:00"}],"members":[{"kind":"issue","number":9705,"title":"[Bug] Azure AI Foundry (MaaS/serverless) custom endpoint fails with HTTP 422 — stream_options.include_usage not supported","url":null,"state":"closed"},{"kind":"pr","number":53271,"title":"fix(agent): auto-retry streaming without stream_options on 400/422 rejection","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"10864f394d","number":0},{"kind":"pr","value":"#109143","number":109143}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":109143,"title":"Streaming retries once without stream_options when an endpoint rejects it with 400/422 (#9705, salvage #53271)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/agent_init.py","agent/chat_completion_helpers.py","tests/run_agent/test_streaming.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}