mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 10:45:42 +01:00
added # type: ignore for embeddings.fireworks
This commit is contained in:
parent
b8cb49a359
commit
2052ff49b8
2 changed files with 3 additions and 4 deletions
|
|
@ -69,7 +69,9 @@ class EmbeddingComponent:
|
|||
)
|
||||
case "fireworks":
|
||||
try:
|
||||
from llama_index.embeddings.fireworks import FireworksEmbedding
|
||||
from llama_index.embeddings.fireworks import ( # type: ignore
|
||||
FireworksEmbedding,
|
||||
)
|
||||
except ImportError as e:
|
||||
raise ImportError(
|
||||
"FireworksEmbedding dependencies not found, install with `poetry install --extras embeddings-fireworks`"
|
||||
|
|
|
|||
|
|
@ -203,9 +203,6 @@ exclude = ["tests"]
|
|||
[tool.mypy-llama-index]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.mypy-llama_index.embeddings.fireworks]
|
||||
ignore_missing_imports = true
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
asyncio_mode = "auto"
|
||||
testpaths = ["tests"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue