Context
Users often encounter confusion when setting spring.ai.model.chat=none, as they may not have considered other types of models beyond chat model.
related issues:
To address this, I propose introducing a spring.ai.model.all property that allows disabling all models at once.
Current Behavior
Each module needs to be disabled manually.
For example, in the case of the OpenAI module:
spring.ai.model.chat=none
spring.ai.model.audio.speech=none
spring.ai.model.audio.transcription=none
spring.ai.model.image=none
spring.ai.model.embedding=none
spring.ai.model.moderation=none
Expected Behavior
When the property spring.ai.model.all is set, all model types should be disabled.
Context
Users often encounter confusion when setting
spring.ai.model.chat=none, as they may not have considered other types of models beyond chat model.related issues:
To address this, I propose introducing a
spring.ai.model.allproperty that allows disabling all models at once.Current Behavior
Each module needs to be disabled manually.
For example, in the case of the OpenAI module:
Expected Behavior
When the property
spring.ai.model.allis set, all model types should be disabled.