You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow OllamaApiAutoConfiguration conditional instantiation based on chat model and embedding model properties
- Introduce OllamaChatOrEmbeddingCondition for this logic
- Add unit tests covering the different scenarios
Signed-off-by: Nicolas Krier <7557886+nicolaskrier@users.noreply.github.com>
Copy file name to clipboardExpand all lines: auto-configurations/models/spring-ai-autoconfigure-model-ollama/src/main/java/org/springframework/ai/model/ollama/autoconfigure/OllamaApiAutoConfiguration.java
Copy file name to clipboardExpand all lines: auto-configurations/models/spring-ai-autoconfigure-model-ollama/src/test/java/org/springframework/ai/model/ollama/autoconfigure/OllamaModelConfigurationTests.java
0 commit comments