# NousResearch/hermes-agent · Cache model endpoint probes and credential loads for speed

## Open now

- Nothing open on GitHub.

These items address performance problems with the /model command being slow due to uncached credential-pool loads, live Copilot token exchanges on every open, and custom provider /v1/models probes bypassing the disk cache. The work involves adding caching at multiple layers to reduce redundant network and auth overhead.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #81113. Verify it addresses your case.
- **Recommended:** read PR #81113 (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: `resolved` · deciding PR(s): `pr-81113`. 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.50`: 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

- #72762: \[Bug\]: /model is slow for all users: uncached credential-pool loads + live Copilot token exchange on every open, plus custom_providers bypass disk cache

## Prior & competing PRs

- **#81113: perf(model): disk-cache custom-provider /v1/models probes (#72762, salvage of #80740)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `acp_adapter/server.py`, `hermes_cli/model_switch.py`, `hermes_cli/models.py`, `tests/hermes_cli/test_cached_fetch_api_models.py`, `tests/hermes_cli/test_model_switch_custom_providers.py`, `tests/hermes_cli/test_picker_prewarm.py`, `tests/hermes_cli/test_user_providers_model_switch.py`
- **#72810: perf: cache credential-pool loads and defer Copilot checks in /model (#72762)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#72762`
- **#80740: perf(model): disk-cache custom-provider /v1/models probes**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#81113`, `#72810`

## Fix status

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