Add VLM model to download_models()
This commit is contained in:
parent
248eed8d7b
commit
2f413e937b
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue