also ruff formatting

This commit is contained in:
rboone 2024-03-27 17:36:32 +01:00
parent 48c0823af3
commit a8fd51d4b0

View File

@ -108,7 +108,9 @@ class LLMComponent:
) )
case "ollama": case "ollama":
try: try:
from private_gpt.components.llm.custom.ollama import CustomOllama # type: ignore from private_gpt.components.llm.custom.ollama import (
CustomOllama, # type: ignore
)
except ImportError as e: except ImportError as e:
raise ImportError( raise ImportError(
"Ollama dependencies not found, install with `poetry install --extras llms-ollama`" "Ollama dependencies not found, install with `poetry install --extras llms-ollama`"