mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-07-06 03:58:42 +00:00
added # type: ignore for embeddings.fireworks
This commit is contained in:
parent
b8cb49a359
commit
2052ff49b8
@ -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…
Reference in New Issue
Block a user