NousResearch/hermes-agent

Fix infinite 401 loop in agent auth fallback

Cluster 110831 · agent. Data as of

1 open item. Fix merged in #111451 on 15 Sep 2026. Check it covers your case.

The short answer

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

These items address a bug where the agent falls back to a paid model destination without valid credentials, causing repeated 401 errors. The fixes enforce credential checks before allowing fallback routing.

Open issues0

No open issues.

Open PRs1

  • PR#110841fix(agent): skip fallback destinations that cannot authenticate

Fixes on record

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

  • #111451 fix(agent): free-tier OpenCode model under the paid opencode profile no longer loops on 401 — keyless placeholder never sent as a bearer (#110831)

    merged to main

    files: agent/agent_runtime_helpers.py, agent/auxiliary_client.py, tests/agent/test_opencode_free_client_headers.py

1 PR closed without merging

From the close comments: done elsewhere 1

  • #110951 fix(agent): require usable credentials before fallback · done elsewhere → #111451
Closed issues · 1
  • Closed#110831Silent fallback from opencode-free to paid opencode when free model is unavailable → infinite 401 loop
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
#111451
Closed issues
1
Attempts
1 PR closed without merging
Fix link checked
15 Sep 2026

For your agent

The same facts, typed.