# NousResearch/hermes-agent · credential pool incorrectly marks healthy accounts exhausted

## Open now

- Nothing open on GitHub.

A bug in the agent's credential pool recovery logic fails to pass the api_key_hint when calling mark_exhausted_and_rotate, potentially causing healthy accounts to be incorrectly flagged as usage-limit-reached. The members include a bug report and two related fix attempts addressing this parameter-passing issue.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #69553. Verify it addresses your case.
- **Recommended:** read PR #69553 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

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

## Closed / duplicate issues

- #43747: \[Bug\]: openai-codex credential pool marks healthy later account as usage_limit_reached; auth reset restores operation

## Prior & competing PRs

- **#69553: fix(agent): pass api_key_hint to mark_exhausted_and_rotate in credential pool recovery (#43755 salvage)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/agent_runtime_helpers.py`, `tests/agent/test_credential_pool_routing.py`, `tests/run_agent/test_run_agent.py`
- **#43755: fix(agent): pass api_key_hint to mark_exhausted_and_rotate in credential pool recovery**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#69553`

## Fix status

- Merged to main in PR #69553 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-07-23`.
- Subsystem: `agent`
