- Fixing auto configured beans where they are missing
@ConditionalOnMissingBean
- Add
matchIfMissing
on@ConditionalOnProperty
where it is missing with valuetrue
Resolves https://github.com/spring-projects/spring-ai/issues/868
Comment From: tzolov
@sobychacko , The Bedrock models are disabled by default . While the non-Bedrock model providers have a dedicated auto-configuration and a dedicated boot starter, the Bedrock is an umbrella of providers and the Bedrock auto-configuration and single Boot starter exposes the models from 5-6 providers. Therefore they are disabled by default.
Perhaps we should crate a dedicated boot-starter for each Bedrock provider and then we can enable the models for this provider?
Comment From: sobychacko
@tzolov Removed the matchIfMissing
from bedrock auto configuration.
Comment From: tzolov
LGTM
Comment From: tzolov
rebased, squashed and merged at ce5961348b680aff51957bf564e11bf3b721acc5