mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
fix(cache-qdrant-semantic): annotate indexing wait payloads
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
6a06f69972
commit
b71e64446c
1 changed files with 2 additions and 2 deletions
|
|
@ -313,7 +313,7 @@ class QdrantSemanticCache(BaseCache):
|
|||
self.sync_client.put(
|
||||
url=f"{self.qdrant_api_base}/collections/{self.collection_name}/points",
|
||||
headers=self.headers,
|
||||
params={"wait": "true"},
|
||||
params={"wait": "true"}, # mutable-ok: Qdrant requires an explicit indexing wait
|
||||
json=data,
|
||||
)
|
||||
|
||||
|
|
@ -423,7 +423,7 @@ class QdrantSemanticCache(BaseCache):
|
|||
await self.async_client.put(
|
||||
url=f"{self.qdrant_api_base}/collections/{self.collection_name}/points",
|
||||
headers=self.headers,
|
||||
params={"wait": "true"},
|
||||
params={"wait": "true"}, # mutable-ok: Qdrant requires an explicit indexing wait
|
||||
json=data,
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue