NousResearch/hermes-agent

Retry streaming without stream_options on 400/422 errors

Cluster 9705 · agent. Data as of

Nothing open on GitHub. Fix merged in #109143 on 12 Sep 2026. Check it covers your case.

The short answer

0open issues
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 1 issue already closed.
Fix event
A fix was merged to main in PR #109143. Check it covers your case. No release data is tracked.
Tracker
The maintainers' tracker marks this resolved, deciding PR #109143. That is separate from the fix event.
Still open
Nothing open on GitHub.

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.

Open issues0

No open issues.

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #109143 Streaming retries once without stream_options when an endpoint rejects it with 400/422 (#9705, salvage #53271)

    merged to main

    files: agent/agent_init.py, agent/chat_completion_helpers.py, tests/run_agent/test_streaming.py

1 PR closed without merging

From the close comments: merged via another change 1

  • #53271 fix(agent): auto-retry streaming without stream_options on 400/422 rejection · merged via another change → 10864f3, #109143
Closed issues · 1
  • Closed#9705[Bug] Azure AI Foundry (MaaS/serverless) custom endpoint fails with HTTP 422 — stream_options.include_usage not supported
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

Pick up a Lab task

Check whether a fix covers the open issues here, with your own agent. Bring back evidence for maintainers.

Open the Lab

At a glance

Subsystem
agent
Merged PRs
#109143
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
12 Sep 2026

For your agent

The same facts, typed.