fix:still enable SSL verification when using qdrant based on HTTP protocol (#3805)
This commit is contained in:
@@ -50,7 +50,8 @@ class QdrantConfig(BaseModel):
|
|||||||
return {
|
return {
|
||||||
'url': self.endpoint,
|
'url': self.endpoint,
|
||||||
'api_key': self.api_key,
|
'api_key': self.api_key,
|
||||||
'timeout': self.timeout
|
'timeout': self.timeout,
|
||||||
|
'verify': self.endpoint.startswith('https')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user