Skip to content

Conversation

@sunyuhan1998
Copy link
Contributor

@sunyuhan1998 sunyuhan1998 commented Jul 9, 2025

This PR introduces a dedicated BedrockChatOptions class for the Bedrock module, replacing the previously used default ToolCallingChatOptions. This change aims to better accommodate Bedrock's unique features and parameter requirements, thereby enhancing the module's independence and maintainability.

Additionally, this PR also fixes the issues mentioned in issue: #3620 .

This PR includes the following main changes:

  1. Added the BedrockChatOptions class: This class is introduced to centrally manage chat configuration options when interacting with Bedrock models.

  2. Replaced the options implementation in BedrockConverseProxyChatProperties: The previously used configuration class has been replaced with the newly introduced BedrockChatOptions to ensure consistency and maintainability of the configuration.

  3. Updated the configuration usage in related model classes: All references to ToolCallingChatOptions have been replaced with BedrockChatOptions to better align with the specific configuration requirements of Bedrock.

  4. Added targeted unit tests: Unit tests have been added for BedrockChatOptions and its related logic to ensure functional correctness and future maintainability.

Fixes: #3620

@sunyuhan1998
Copy link
Contributor Author

Hi @ilayaperumalg , can you help review this? Thank you!

@ilayaperumalg
Copy link
Member

@sunyuhan1998 thank you for the PR! We'll get to it soon.

@sunyuhan1998
Copy link
Contributor Author

Hi @ilayaperumalg , thank you for helping with the review. May I ask if there are any areas in the current PR that still need adjustment?

@ilayaperumalg
Copy link
Member

@sunyuhan1998 Sorry about the delay. Rebased and merged as 99e59a2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

spring ai bedrock converse properties auto completion doesn't auto complete

2 participants