# NousResearch/hermes-agent · Provider registry bug fixes and concurrency issues

## Open now

- 1 issue, 2 PRs open on GitHub.
- #24694: concurrency: providers/_discover_providers() sets _discovered=True before registry is populated (TOCTOU)
- PR #30937: fix(providers): warn on duplicate model provider name/alias registration
- PR #68458: fix(providers): resolve custom:<name> to CustomProfile for reasoning_effort

These members address several bugs in the provider registration system, including duplicate name/alias warnings, a TOCTOU race condition in provider discovery, and resolution of custom provider profiles. The issues and fixes are related but cover distinct problems within the provider registry.

## TL;DR

- 4 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 1 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

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

## Open related issues

- #24694: concurrency: providers/_discover_providers() sets _discovered=True before registry is populated (TOCTOU)

## Prior & competing PRs

- **#24696: fix(providers): prevent TOCTOU race in _discover_providers()**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#30937: fix(providers): warn on duplicate model provider name/alias registration**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `providers/__init__.py`, `tests/providers/test_provider_profiles.py`
- **#68458: fix(providers): resolve custom:<name> to CustomProfile for reasoning_effort**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `857fd50967fa`, `#24696`, `#30937`, `#30984`, `#31002`, `#68458`, `#72255`, `#72438`, `#72849`, `#24094`, `#24963`, `#24094`, `#24694`, `#24963`, `#24696`, `#24694`, `#24963`, `#30937`, `#30921`, `#30984`, `#30937`, `#30937`, `#30937`, `#31002`, `#30922`, `#68458`, `#72255`, `#72202`, `#68458`, `#72438`, `#72202`, `#68458`, `#72849`, `#68458`, `#24094`, `#24963`, `#24094`, `#30984`, `#30937`, `#30937`, `#72255`, `#72438`, `#72849`, `#68458`, `#24963`, `#30937`, `#30984`, `#30937`, `#30937`, `#31002`, `#68458`, `#72255`, `#72438`, `#72849`, `#374151`, `#72202`, `#68458`, `#72255`, `#72438`, `#72849`
  - files: `agent/chat_completion_helpers.py`, `providers/__init__.py`, `tests/providers/test_provider_profiles.py`

## Fix status

- No merged fix on record.
- Subsystem: `agent`
