- 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
Comment From: tzolov
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)
Comment From: ilayaperumalg
@tzolov Thanks for the explanation. I will go ahead and close this PR.