# NousResearch/hermes-agent · Rotate credential pool on Anthropic 429 before fallback

## Open now

- 1 issue, 2 PRs open on GitHub.
- #120216: \[Bug\]: Anthropic 429 goes straight to fallback_providers without rotating the credential pool
- PR #120291: fix(agent): rotate the credential pool before falling back on a 429 (#120216)
- PR #162161: fix(agent): a 429 rotates to a pooled credential that can serve the model before falling back (salvage #120291)

One bug report describes an Anthropic 429 going directly to fallback_providers without trying other pooled credentials. Two pull requests propose rotating to a pooled credential before falling back, one noting it should be able to serve the model.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 0 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `unresolved`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member 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.

## Open related issues

- #120216: \[Bug\]: Anthropic 429 goes straight to fallback_providers without rotating the credential pool

## Prior & competing PRs

- **#120291: fix(agent): rotate the credential pool before falling back on a 429 (#120216)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#162161`
  - files: `agent/turn_recovery.py`, `tests/agent/test_rate_limit_rotate_before_fallback.py`
- **#162161: fix(agent): a 429 rotates to a pooled credential that can serve the model before falling back (salvage #120291)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `320804ebe9f885f123a88b41de1307b7865215d5`
  - files: `agent/turn_recovery.py`, `run_agent.py`, `tests/agent/test_rate_limit_rotate_before_fallback.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
- Kind: `bug` (from the open issues' GitHub type labels).
