# NousResearch/hermes-agent · Per-profile credential scoping for multiplexed backends

## Open now

- 1 issue, 0 PRs open on GitHub.
- #119985: \[Bug\]: OpenRouter video backend reads its key from os.environ: pooled/OAuth credentials don't enable it, and a multiplexed profile bills the launch profile's key

These items address a bug where video generation backends (OpenRouter, DeepInfra) and related SDK clients read credentials from global environment variables instead of resolving them per profile. The fix scopes credential lookup, SDK client caches, and memory readers to the active profile under multiplexed configurations.

## TL;DR

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

- #119985: \[Bug\]: OpenRouter video backend reads its key from os.environ: pooled/OAuth credentials don't enable it, and a multiplexed profile bills the launch profile's key

## 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`
- **#119986: fix(video_gen): resolve OpenRouter and DeepInfra credentials per profile, not from os.environ**. 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`.
- Subsystem: `agent`
