fix(weaviate): skip init checks to prevent PyPI requests on each search (#27624)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
quicksand 2025-10-30 09:59:08 +08:00 committed by GitHub
parent b7360140ee
commit 41e549af14
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

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