You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, there are additional ways to configure region (docs). In my case, I put all my configuration in ~/.aws/config and don't set any environment variables other than AWS_PROFILE so AnthropicBedrock was defaulting to us-east-1 instead of using my configured region.
You can get botocore to resolve the region using get_config_variable on the session instance:
The
AnthropicBedrock
client resolves the AWS region using theAWS_REGION
env var or defaulting tous-east-1
:anthropic-sdk-python/src/anthropic/lib/bedrock/_client.py
Lines 119 to 121 in 9652512
However, there are additional ways to configure region (docs). In my case, I put all my configuration in
~/.aws/config
and don't set any environment variables other thanAWS_PROFILE
soAnthropicBedrock
was defaulting tous-east-1
instead of using my configured region.You can get botocore to resolve the region using
get_config_variable
on the session instance:The text was updated successfully, but these errors were encountered: