Skip to content

Commit e06ea4e

Browse files
committed
make BedrockAwsConnectionProperties#region empty by default (#3223)
Signed-off-by: Andrey Litvitski <[email protected]>
1 parent 0bbccf8 commit e06ea4e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

auto-configurations/models/spring-ai-autoconfigure-model-bedrock-ai/src/main/java/org/springframework/ai/model/bedrock/autoconfigure/BedrockAwsConnectionProperties.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2023-2024 the original author or authors.
2+
* Copyright 2023-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
2424
* Configuration properties for Bedrock AWS connection.
2525
*
2626
* @author Christian Tzolov
27+
* @author Andrey Litvitski
2728
* @since 0.8.0
2829
*/
2930
@ConfigurationProperties(BedrockAwsConnectionProperties.CONFIG_PREFIX)
@@ -32,9 +33,9 @@ public class BedrockAwsConnectionProperties {
3233
public static final String CONFIG_PREFIX = "spring.ai.bedrock.aws";
3334

3435
/**
35-
* AWS region to use. Defaults to us-east-1.
36+
* AWS region to use.
3637
*/
37-
private String region = "us-east-1";
38+
private String region;
3839

3940
/**
4041
* AWS access key.

0 commit comments

Comments
 (0)