fix:still enable SSL verification when using qdrant based on HTTP protocol (#3805)
This commit is contained in:
parent
2832adda88
commit
78988ed60e
1 changed files with 2 additions and 1 deletions
|
|
@ -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')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue