timeout parameter error (#2052)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong 2024-01-16 14:44:47 +08:00 committed by GitHub
parent 790b885d0a
commit a61df6cb03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: