Skip to content

Don't log AWS SDK stack trace, updates documentation #3952

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exception Stracktrace Logged if AWS_REGION Not Set
1 participant