Add VLM model to download_models()

This commit is contained in:
Yiorgis Gozadinos 2026-01-07 11:07:22 +02:00
parent 248eed8d7b
commit 2f413e937b
No known key found for this signature in database

View file

@ -1672,6 +1672,9 @@ class HaikuRAG:
and self._config.reranking.model.provider == "ollama"
):
required_models.add(self._config.reranking.model.name)
pic_desc = self._config.processing.conversion_options.picture_description
if pic_desc.enabled and pic_desc.model.provider == "ollama":
required_models.add(pic_desc.model.name)
if not required_models:
return