NousResearch/hermes-agent

Fix SDK auto-retry conflicts with rate-limit handling

Cluster 26293 · agent. Data as of

Nothing open on GitHub. Fix merged in #53918 on 28 Jun 2026. Check it covers your case.

The short answer

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

These issues and PRs address a problem where the Anthropic (and OpenAI) SDK's built-in auto-retry mechanism interferes with the custom rate-limit retry loop, and raise the Retry-After cap to prevent deadlocks on rate-limited accounts.

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.

  • #53918 fix(retry): stop SDK auto-retry double-firing inside the rate-limit loop (Anthropic + OpenAI), raise Retry-After cap to 600s

    merged to main

    files: agent/agent_runtime_helpers.py, agent/anthropic_adapter.py, agent/conversation_loop.py, tests/agent/test_anthropic_adapter.py, tests/run_agent/test_create_openai_client_disables_sdk_retries.py, tests/run_agent/test_run_agent.py

2 PRs closed without merging

From the close comments: merged via another change 1 · other 1

  • #26311 fix(anthropic): disable SDK auto-retry and raise Retry-After cap to prevent rate-limit deadlock · other
  • #35955 fix(anthropic): stop SDK auto-retry double-firing and raise Retry-After cap to 600s · merged via another change → 1ab35ba, #53918
Closed issues · 1
  • Closed#26293fix(anthropic): SDK auto-retry + Retry-After 120s cap deadlock rate-limited Anthropic accounts
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.50: 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
#53918
Closed issues
1
Attempts
2 PRs closed without merging
Fix link checked
28 Jun 2026

For your agent

The same facts, typed.