openclaw/extensions
Emanuel Ciuca 1ba19140d5 fix(bedrock): pass configured region to pi-ai BedrockRuntimeClient
The gateway process may not inherit AWS_REGION from the shell environment,
causing pi-ai to fall back to us-east-1. This breaks cross-region inference
profile IDs (eu.*, us.*, global.*) when bedrockDiscovery.region is set to
a different region.

Extract the region from bedrockDiscovery.region (primary) or the provider
baseUrl (fallback) and inject it into stream options so the Bedrock client
connects to the correct regional endpoint.
2026-03-20 19:30:18 +02:00
..
2026-03-19 08:29:57 -04:00
2026-03-19 03:36:03 +00:00
2026-03-19 08:29:57 -04:00