mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-06 20:44:58 +00:00
add concurrent file attaching
This commit is contained in:
parent
a5b71c2cc7
commit
e58bf82581
9 changed files with 188 additions and 33 deletions
|
@ -171,6 +171,7 @@ class QdrantVectorIOAdapter(OpenAIVectorStoreMixin, VectorIO, VectorDBsProtocolP
|
|||
self.kvstore: KVStore | None = None
|
||||
self.openai_vector_stores: dict[str, dict[str, Any]] = {}
|
||||
self.openai_file_batches: dict[str, dict[str, Any]] = {}
|
||||
self._file_batch_tasks: dict[str, asyncio.Task[None]] = {}
|
||||
self._last_file_batch_cleanup_time = 0
|
||||
self._qdrant_lock = asyncio.Lock()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue