# NousResearch/hermes-agent · Fix auxiliary client 401 auth refresh bug

## Open now

- Nothing open on GitHub.

These items address a bug where the auxiliary client fails to recover after receiving a 401 error, because a fresh client is cached under a different key than the one used for lookup. The fix ensures expired credentials are evicted and refreshed under the correct cache key.

## 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 #101500. Verify it addresses your case.
- **Recommended:** read PR #101500 (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

- #58892: Auxiliary client never self-heals after a 401 on the default Nous config (fresh client stored under a different cache key than the lookup)

## Prior & competing PRs

- **#101500: fix(aux-client): auxiliary Nous calls stop 401ing on every call — 401 refresh replaces the client under its lookup key (salvage #58894, #35752)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/auxiliary_client.py`, `agent/conversation_loop.py`, `contributors/emails/[redacted:email]`, `tests/agent/test_auxiliary_client_nous_401_cache_key.py`
- **#58894: fix(aux-client): evict expired auxiliary client on 401 by refreshing under the lookup cache key**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `e1d773a6a6`, `#101500`

## Fix status

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