# NousResearch/hermes-agent · Custom provider dedup bug with shared base URLs

## Open now

- 1 issue, 1 PR open on GitHub.
- #81789: \[Bug\]: custom_providers dedup by base_url blocks second provider with same URL / different api_key; recovery always picks the first entry
- PR #81818: fix(hermes_cli): keep same-URL custom providers on their selected credentials

A bug where custom providers sharing the same base URL are incorrectly deduplicated, causing the second provider's credentials to be lost or overridden by the first entry. These members address the problem and related fixes in the credential pool and CLI.

## TL;DR

- 3 member(s): 1 open issue(s), 0 closed issue(s), 1 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.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

- #81789: \[Bug\]: custom_providers dedup by base_url blocks second provider with same URL / different api_key; recovery always picks the first entry

## Prior & competing PRs

- **#81818: fix(hermes_cli): keep same-URL custom providers on their selected credentials**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/main.py`, `hermes_cli/model_setup_flows.py`, `hermes_cli/runtime_provider.py`, `hermes_cli/web_server.py`, `tests/cli/test_cli_provider_resolution.py`, `tests/hermes_cli/test_canonical_custom_identity.py`, `tests/hermes_cli/test_custom_provider_model_switch.py`
- **#81863: fix(credential_pool): let two custom providers share one base_url (#81789)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#81818`, `#81789`

## Fix status

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