# NousResearch/hermes-agent · Bedrock regional client not reinitialized on model switch

## Open now

- Nothing open on GitHub.

A bug where switching models mid-session to Bedrock fails to initialize or preserve the regional runtime client, causing ValidationException errors for regional inference profiles. Multiple fix attempts address client initialization and regional runtime preservation during model switches.

## TL;DR

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

- #41296: \[Bug\]: Mid-session /model switch to Bedrock never sets _bedrock_region — regional inference profiles (jp.*/eu.*/apac.*) fail with ValidationException "The provided model identifier is invalid"

## Prior & competing PRs

- **#41322: fix(bedrock): preserve regional runtime on model switch**. closed without merge · fix tier `suggested`
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - _suggested-tier fix detail withheld; re-request with `?tier=all` to include it._
- **#107658: Bedrock Claude and Converse models survive /model, fallback and restore (one runtime binder for all wires)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/agent_init.py`, `agent/agent_runtime_helpers.py`, `agent/bedrock_adapter.py`, `agent/client_lifecycle.py`, `hermes_cli/runtime_provider_backends.py`, `tests/run_agent/test_switch_model_bedrock_sigv4.py`
- **#65433: fix(bedrock): preserve regional runtime on model switch**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#67948: fix(agent): initialize Bedrock clients on model switch**. closed without merge
  - maintainer direction: category `silent_close`; implication `active`
- **#67970: fix(agent): initialize Bedrock clients on model switch**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `942973ae90`, `#107658`, `#41296`, `#107658`

## Fix status

- Merged to main in PR #107658 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-11`.
- Subsystem: `agent`
