# NousResearch/hermes-agent · API client caches not refreshing on profile/key change

## Open now

- Nothing open on GitHub.

A bug where Exa and Parallel clients retain the first API key they were initialized with, ignoring subsequent reloads or multiplexed profile switches. The accompanying fixes address per-profile SDK client caching and client rebuilding when API keys change.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #120092. Verify it addresses your case.
- **Recommended:** read PR #120092 (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-120092`. 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.

## Closed / duplicate issues

- #119989: \[Bug\]: Exa and Parallel keep using the first API key they were built with; /reload and multiplexed profiles are ignored

## Prior & competing PRs

- **#120092: fix(profiles): per-profile SDK client caches and scoped dashboard/cron memory readers under multiplex**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/video_gen_provider.py`, `agent/web_search_provider.py`, `contributors/emails/[redacted:email]`, `hermes_cli/memory_oauth.py`, `hermes_cli/memory_provider_migration.py`, `hermes_cli/web_routers/cron.py`, `hermes_cli/web_server_dashboard.py`, `plugins/image_gen/meta-ai/__init__.py`, `plugins/image_gen/openai/__init__.py`, `plugins/video_gen/openrouter/__init__.py`, `plugins/web/_common.py`, `tests/hermes_cli/test_cron_delivery_targets_scope.py`, `tests/hermes_cli/test_dashboard_admin_endpoints.py`, `tests/hermes_cli/test_memory_provider_migration.py`, `tests/hermes_cli/test_web_memory_user_dir_provider.py`, `tests/plugins/image_gen/test_meta_ai_provider.py`, `tests/plugins/video_gen/test_deepinfra_provider.py`, `tests/plugins/video_gen/test_openrouter.py`, `tests/tools/test_web_tools_config.py`, `website/docs/reference/tools-reference.md`
- **#119990: fix(web): rebuild the Exa and Parallel clients when their API key changes**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `6b6c7f4a99`, `#120092`

## Fix status

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