# NousResearch/hermes-agent · Model picker config read performance fix

## Open now

- Nothing open on GitHub.

A bug was identified where the model picker repeatedly re-read the config file for each model, causing timeouts with large provider catalogs. These issues and fixes address caching the config read to avoid redundant I/O in the model selection path.

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

- #119044: \[Bug\]: Model picker does O(models) config.yaml reloads via _cfg_get, times out with many providers

## Prior & competing PRs

- **#120404: perf(picker): stop re-reading config per model and blocking on expired catalogs**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/models_dev.py`, `hermes_cli/inventory.py`, `hermes_cli/model_switch_providers.py`, `hermes_cli/models.py`, `providers/__init__.py`, `tests/hermes_cli/test_inventory.py`, `tests/hermes_cli/test_inventory_pricing.py`, `tests/hermes_cli/test_model_cache_parallel_prefetch.py`, `tests/providers/test_provider_registry.py`
- **#119048: fix(inventory): avoid repeated config reads in model picker**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#120404`
- **#119609: perf(agent): cache config read in model options so large catalogs do not time out**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`

## Fix status

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