mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-22 09:17:04 +00:00
also ruff formatting
This commit is contained in:
parent
48c0823af3
commit
a8fd51d4b0
@ -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`"
|
||||||
|
Loading…
Reference in New Issue
Block a user