Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 21cfe9a

Browse files
committed
default the region to us
1 parent 65055c7 commit 21cfe9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/llm/provider/bedrock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func NewBedrockProvider(opts ...BedrockOption) (Provider, error) {
4040
}
4141

4242
if region == "" {
43-
return nil, errors.New("AWS_REGION or AWS_DEFAULT_REGION environment variable is required")
43+
region = "us-east-1" // default region
4444
}
4545
if len(region) < 2 {
4646
return nil, errors.New("AWS_REGION or AWS_DEFAULT_REGION environment variable is invalid")

0 commit comments

Comments
 (0)