Skip to content

Conversation

@nicolaskrier
Copy link
Contributor

  • Introduce OllamaChatOrEmbeddingCondition for this logic
  • Add unit tests covering the different scenarios

@nicolaskrier
Copy link
Contributor Author

nicolaskrier commented Dec 12, 2025

In 1.1.0-M2 version, OllamaApiAutoConfiguration was:

These two former auto-configurations have conditions on different properties to disable them. I have reintroduced these conditions on OllamaApiAutoConfiguration directly because it is now present in Ollama auto-configuration imports file.

@nicolaskrier nicolaskrier force-pushed the ollama-api-conditional-instantiation branch from b2d53e9 to 81eeb82 Compare December 14, 2025 15:33
…hat model and embedding model properties

- Introduce OllamaChatOrEmbeddingCondition for this logic
- Add unit tests covering the different scenarios

Signed-off-by: Nicolas Krier <[email protected]>
@nicolaskrier nicolaskrier force-pushed the ollama-api-conditional-instantiation branch from 81eeb82 to 577a507 Compare December 14, 2025 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants