mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-22 00:11:29 +02:00
The matrix hardcoded the us. cross-region inference profile while the upstream host follows AWS_REGION, so any non-US region made Bedrock reject every request with 'The provided model identifier is invalid' — including the allowlisted call in TestModelAllowlistEnforced, which asserts a 200. Derive the profile prefix (us/eu/apac/us-gov) from the region, default the region to eu-central-1 to match the CI credentials, and strip whichever prefix was chosen when building the guardrail allowlist.