# NousResearch/hermes-agent · Fallback dedup skipping second account with different API key

## Open now

- 1 issue, 2 PRs open on GitHub.
- #151321: Fallback skips second account with same model/backend but different API key
- PR #151673: fix(agent): keep two static API keys distinct in fallback dedup
- PR #154661: fix(fallback): a second account on the same host and model is tried after a 429 (salvage #151673, #91078)

These items concern fallback handling where a second account using the same host and model (differing by API key) appears to be treated as a duplicate, so it may not be tried after a 429. Two members are fixes touching fallback and dedup behavior, and one is an issue describing the skipped-account problem.

## 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

- #151321: Fallback skips second account with same model/backend but different API key

## Prior & competing PRs

- **#151673: fix(agent): keep two static API keys distinct in fallback dedup**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#154661`, `#154428`
  - files: `agent/backend_identity.py`, `agent/chat_completion_helpers.py`, `hermes_cli/fallback_cmd.py`, `tests/agent/test_backend_identity.py`, `tests/agent/test_fallback_credential_identity.py`
- **#154661: fix(fallback): a second account on the same host and model is tried after a 429 (salvage #151673, #91078)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `b689183a4ddaeb3a974659d90fd6ce84082e55dc`, `859099c2bdf52b9a08b72c09e22c7cac9bc38669`, `#151673`, `#151321`, `#91077`
  - files: `agent/auxiliary_client.py`, `agent/backend_identity.py`, `agent/chat_completion_helpers.py`, `hermes_cli/fallback_cmd.py`, `tests/agent/test_backend_identity.py`, `tests/agent/test_fallback_account_identity.py`, `tests/agent/test_fallback_credential_identity.py`

## Fix status

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