Skip to content

Conversation

cmiles74
Copy link

This PR will change the BedrockProxyChatModel such that it no longer logs a stack trace if the Amazon SDK for Java fails to find a region. Instead a warning is logged letting the developer know which region is being used.

This also updates the documentation to let people know that first we use the SDK's choice of region and fall back to the Spring AI property only if that is not set.

Resolves #3951

@cmiles74
Copy link
Author

I'm new to the project but it's not clear to me that we use the Spring AI AWS region property... There's a lot of code and I definitely could be missing it, but I don't see anyplace where we use this property.

@cmiles74 cmiles74 force-pushed the 3951-confusing-aws-sdk-stacktrace branch from c387c9d to ad49b9b Compare September 9, 2025 19:54
Signed-off-by: Christopher Miles <twitch@nervestaple.com>
@cmiles74 cmiles74 force-pushed the 3951-confusing-aws-sdk-stacktrace branch from ad49b9b to e870a32 Compare September 9, 2025 19:58
@cmiles74 cmiles74 changed the base branch from main to 1.1.0-M1 September 9, 2025 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 participants