Files
coder/aibridge/intercept
Yevhenii Shcherbina e6c14203a4 refactor: simplify aws-bedrock-region configuration (#26717)
We currently have two possible sources of truth for the Bedrock region:

* `cfg.Region`, when explicitly provided (this also covers the case
where the UI parses the base URL and populates `cfg.Region`)
* the region resolved from the AWS environment

An explicitly configured region should always take precedence over the
environment-derived region.

I suggest implementing this resolution policy in the `NewAnthropic`
constructor so that, after initialization, there is a single source of
truth for the resolved region.
2026-06-26 08:53:15 -04:00
..