Selaa lähdekoodia

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

tags/0.6.5
呆萌闷油瓶 1 vuosi sitten
vanhempi
commit
78988ed60e
No account linked to committer's email address
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2
    1
      api/core/rag/datasource/vdb/qdrant/qdrant_vector.py

+ 2
- 1
api/core/rag/datasource/vdb/qdrant/qdrant_vector.py Näytä tiedosto

@@ -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…
Peruuta
Tallenna