mirror of
https://github.com/giancarloerra/socraticode.git
synced 2026-07-03 14:05:21 +02:00
4d255f50ee
ensureOllamaReady() was called unconditionally on every search and context operation, causing failures for OpenAI and Google embedding users. Now only called when embeddingProvider is ollama; otherwise the configured provider is initialized via getEmbeddingProvider(). Fixes #7 Co-authored-by: pineapplestrikesback <pineapplestrikesback@users.noreply.github.com>