Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

timeout parameter error (#2052)

Jyonga61df6cb0362
diff --git a/api/core/vector_store/vector/qdrant.py b/api/core/vector_store/vector/qdrant.py
index 00d6aac5368..b9c32f59d40 100644
--- a/api/core/vector_store/vector/qdrant.py
+++ b/api/core/vector_store/vector/qdrant.py
@@ -1450,7 +1450,7 @@ class Qdrant(VectorStore):
wal_config=wal_config,
quantization_config=quantization_config,
init_from=init_from,
- timeout=timeout, # type: ignore[arg-type]
+ timeout=int(timeout), # type: ignore[arg-type]
)
is_new_collection = True
if force_recreate: