# NousResearch/hermes-agent · Custom provider dedup overwrites entries sharing base URL

## Open now

- 2 issues, 4 PRs open on GitHub.
- #40977: _save_custom_provider dedup by base_url blocks multiple API keys for the same aggregator endpoint
- #45481: \[Bug\]: Custom provider wizard silently overwrites entries sharing a base URL
- PR #41002: fix(cli): dedup custom providers by name instead of base_url
- PR #41786: \[verified\] fix: allow multiple custom provider keys per endpoint
- PR #45482: fix(cli): dedup custom providers by canonical slug, not base_url
- PR #45533: fix: custom provider wizard silently overwrites entries sharing a base URL

A bug where the custom provider wizard silently overwrites existing entries that share the same base URL, preventing multiple API keys or differently-named providers from coexisting at the same endpoint. Members cover the bug report, root cause analysis, and proposed fixes changing deduplication logic from base URL to provider name.

## TL;DR

- 6 member(s): 2 open issue(s), 0 closed issue(s), 4 open PR(s), 0 merged PR(s), 0 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_PARTIAL`): some members are connected by structural evidence (shared changed files, or a closing/superseded reference); the rest are joined by an automated relevance judgement over their text.
- Members outside that structural core may belong to a different underlying problem.
- Pairwise link density `0.29`: 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

- #40977: _save_custom_provider dedup by base_url blocks multiple API keys for the same aggregator endpoint
- #45481: \[Bug\]: Custom provider wizard silently overwrites entries sharing a base URL

## Prior & competing PRs

- **#41002: fix(cli): dedup custom providers by name instead of base_url**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/main.py`, `tests/cli/test_cli_provider_resolution.py`
- **#41786: \[verified\] fix: allow multiple custom provider keys per endpoint**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#41002`
  - files: `hermes_cli/main.py`, `tests/cli/test_cli_provider_resolution.py`
- **#45482: fix(cli): dedup custom providers by canonical slug, not base_url**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/main_provider_setup.py`, `hermes_cli/model_setup_flows_custom.py`, `tests/hermes_cli/test_cli_provider_resolution.py`, `tests/hermes_cli/test_custom_provider_model_switch.py`
- **#45533: fix: custom provider wizard silently overwrites entries sharing a base URL**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `hermes_cli/main.py`, `hermes_cli/model_setup_flows.py`, `tests/cli/test_cli_provider_resolution.py`

## Fix status

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