# NousResearch/hermes-agent · Bedrock primary restore missing non-OpenAI branch

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #103686: fix(fallback): restore Bedrock primaries without an OpenAI client (fixes #102860)

A bug where restore_primary_runtime() lacked a Bedrock-specific branch, causing it to fall through to OpenAI client creation and raise a spurious API key error. The members cover the bug report and multiple fix attempts addressing this missing code path.

## TL;DR

- 4 member(s): 0 open issue(s), 1 closed issue(s), 1 open PR(s), 0 merged PR(s), 2 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.50`: 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

- #102860: \[Bug\]: restore_primary_runtime() has no Bedrock branch — falls through to _create_openai_client, raising a spurious OPENAI_API_KEY error and permanently stranding the fallback chain

## Prior & competing PRs

- **#102861: fix(agent): restore_primary_runtime rebuilds the Bedrock client for bedrock_converse**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `942973ae90`, `#102860`
- **#103485: fix(agent): restore Bedrock primary without OpenAI key (#102860)**. closed without merge
  - maintainer direction: category `stale_abandoned`; implication `active`; refs `#102861`, `#102860`
- **#103686: fix(fallback): restore Bedrock primaries without an OpenAI client (fixes #102860)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#102860`, `#102861`, `#103485`
  - files: `agent/agent_init.py`, `agent/agent_runtime_helpers.py`, `tests/run_agent/test_fallback_restore_bedrock.py`

## Fix status

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