# NousResearch/hermes-agent · Custom endpoint saved API key handling in desktop settings

## Open now

- 1 issue, 2 PRs open on GitHub.
- #108785: \[Bug\]: Save button for Custom endpoint API Key removes the API key
- PR #108786: fix(desktop): Test on a saved custom endpoint uses the key on file instead of reporting it rejected
- PR #163245: Testing a saved custom endpoint uses its saved API key and says why a 401 happened (salvage #159938, #136292)

The members concern how a saved custom endpoint's API key is handled: testing a saved endpoint using the stored key and explaining 401 responses, and a report that the Save button for the API key removes it. They appear closely related, though the exact relationship between the bug report and the fixes isn't established by the titles alone.

## TL;DR

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

- #108785: \[Bug\]: Save button for Custom endpoint API Key removes the API key

## Prior & competing PRs

- **#108786: fix(desktop): Test on a saved custom endpoint uses the key on file instead of reporting it rejected**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`
  - files: `apps/desktop/src/api/config.ts`, `apps/desktop/src/app/settings/custom-endpoints-settings.test.tsx`, `apps/desktop/src/app/settings/custom-endpoints-settings.tsx`, `apps/desktop/src/i18n/de.ts`, `apps/desktop/src/i18n/de_custom_endpoints.ts`, `apps/desktop/src/i18n/en.ts`, `apps/desktop/src/i18n/en_custom_endpoints.ts`, `apps/desktop/src/i18n/es.ts`, `apps/desktop/src/i18n/es_custom_endpoints.ts`, `apps/desktop/src/i18n/fr.ts`, `apps/desktop/src/i18n/fr_custom_endpoints.ts`, `apps/desktop/src/i18n/types.ts`, `apps/desktop/src/i18n/types_custom_endpoints.ts`, `apps/desktop/src/i18n/zh-hant_settings.ts`, `apps/desktop/src/i18n/zh.ts`, `apps/desktop/src/i18n/zh_custom_endpoints.ts`, `apps/desktop/src/i18n/zh_hant_custom_endpoints.ts`, `contributors/emails/[redacted:email]`, `hermes_cli/web_routers/config_env.py`, `locales/_keys.desktop.json` (+2 more)
- **#163245: Testing a saved custom endpoint uses its saved API key and says why a 401 happened (salvage #159938, #136292)**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `30de3ed69541002236b61be1047ce90ddeb6f649`
  - files: `contributors/emails/[redacted:email]`, `hermes_cli/fallback_cmd.py`, `hermes_cli/web_routers/config_env.py`, `tests/hermes_cli/test_fallback_cmd.py`, `tests/hermes_cli/test_web_routers_endpoint_probe.py`, `tests/hermes_cli/web_routers/test_custom_endpoint_validate_saved_key.py`

## Fix status

- No merged fix on record.
- Subsystem: `apps/desktop`
- Kind: `bug` (from the open issues' GitHub type labels).
