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

pull/3822/head
呆萌闷油瓶 2 years ago committed by GitHub
parent 2832adda88
commit 78988ed60e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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')
}

Loading…
Cancel
Save