From 41e549af14e7e0ca90c3f8547c446ba0dd9f8641 Mon Sep 17 00:00:00 2001 From: quicksand Date: Thu, 30 Oct 2025 09:59:08 +0800 Subject: [PATCH] fix(weaviate): skip init checks to prevent PyPI requests on each search (#27624) Co-authored-by: Claude --- api/core/rag/datasource/vdb/weaviate/weaviate_vector.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py index d2d8fcf964..dceade0af9 100644 --- a/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py +++ b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py @@ -100,6 +100,7 @@ class WeaviateVector(BaseVector): grpc_port=grpc_port, grpc_secure=grpc_secure, auth_credentials=Auth.api_key(config.api_key) if config.api_key else None, + skip_init_checks=True, # Skip PyPI version check to avoid unnecessary HTTP requests ) if not client.is_ready():