# NousResearch/hermes-agent · Stale credential caching bugs and fixes

## Open now

- 1 issue, 0 PRs open on GitHub.
- #57569: \[Bug\]: auth.json caches credentials, causing double requests, old and new endpoints

These issues and PRs concern a bug where auth.json retains outdated or stale credentials after provider or model switches, leading to problems like double requests and incorrect endpoint usage. The members address detection and pruning of stale custom credentials across multiple provider scenarios.

## TL;DR

- 3 member(s): 1 open issue(s), 0 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 #58505. Verify it addresses your case.
- **Recommended:** read PR #58505 (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.

## Open related issues

- #57569: \[Bug\]: auth.json caches credentials, causing double requests, old and new endpoints

## Prior & competing PRs

- **#58505: fix(cli): preserve static custom provider models + prune stale custom credentials (2-PR salvage)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `hermes_cli/config.py`, `hermes_cli/model_setup_flows.py`, `hermes_cli/model_switch.py`, `scripts/release.py`, `tests/hermes_cli/test_custom_provider_model_switch.py`, `tests/hermes_cli/test_inventory.py`, `tests/hermes_cli/test_model_switch_custom_providers.py`
- **#58409: fix(auth): prune stale custom model credentials**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#58505`

## Fix status

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