The open source coding agent.
TypeScript
default the region to us
Kujtim Hoxha21cfe9a24331
diff --git a/internal/llm/provider/bedrock.go b/internal/llm/provider/bedrock.goindex f1afefdc4fb..677f4676b33 100644--- a/internal/llm/provider/bedrock.go+++ b/internal/llm/provider/bedrock.go@@ -40,7 +40,7 @@ func NewBedrockProvider(opts ...BedrockOption) (Provider, error) {}if region == "" {- return nil, errors.New("AWS_REGION or AWS_DEFAULT_REGION environment variable is required")+ region = "us-east-1" // default region}if len(region) < 2 {return nil, errors.New("AWS_REGION or AWS_DEFAULT_REGION environment variable is invalid")