Skip to content

Conversation

@ilayaperumalg
Copy link
Member

  • Set the default value for spring.ai.bedrock.anthropic.chat.enabled to false to disable the BedrockConverseProxyChatAutoConfiguration by default

  • This will make sure that the BedrockConverseProxy auto configuration wouldn't conflict with other related Bedrock autoconfigs (ex: BedrockAnthropic3ChatAutoConfiguration)

  • Update documentation for the default behaviour

  • Update tests

Resolves #1679

…ion by default

  - Set the default value for spring.ai.bedrock.anthropic.chat.enabled to false to disable the BedrockConverseProxyChatAutoConfiguration by default
  - This will make sure that the BedrockConverseProxy auto configuration wouldn't conflict with other related Bedrock autoconfigs (ex: BedrockAnthropic3ChatAutoConfiguration)

 - Update documentation for the default behaviour
 - Update tests

Resolves spring-projects#1679
@ilayaperumalg ilayaperumalg requested a review from tzolov November 8, 2024 12:06
@tzolov
Copy link
Contributor

tzolov commented Nov 8, 2024

We should not disable the BedrockConverseProxyChatAutoConfiguration by default!!!
The BedrockConverse has uses a very different way to access the underlying models and does not require dedicated per-provider project and the related enabled/disabled logic.

The solution for #1679 is to add @ConditionalOnClass(BedrockProxyChatModel.class) to the autoconfiguration as done the RP #1699
(Mind that the primary goal of the the #1699 is to fix issues with streaming handing in bedrock)

@ilayaperumalg
Copy link
Member Author

@tzolov Thanks for the explanation. I will go ahead and close this PR.

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.

SNAPSHOT do not build for Bedrock

2 participants