fix:still enable SSL verification when using qdrant based on HTTP protocol (#3805)

This commit is contained in:
呆萌闷油瓶 2024-04-25 13:04:31 +08:00 committed by GitHub
parent 2832adda88
commit 78988ed60e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,8 @@ class QdrantConfig(BaseModel):
return {
'url': self.endpoint,
'api_key': self.api_key,
'timeout': self.timeout
'timeout': self.timeout,
'verify': self.endpoint.startswith('https')
}