mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-08 19:10:56 +00:00
improve memory test, but it fails on chromadb :/
This commit is contained in:
parent
4ab6e1b81a
commit
f21ad1173e
2 changed files with 56 additions and 13 deletions
|
|
@ -99,7 +99,7 @@ class ChromaMemoryAdapter(Memory):
|
|||
memory_bank.type == MemoryBankType.vector.value
|
||||
), f"Only vector banks are supported {memory_bank.type}"
|
||||
|
||||
collection = await self.client.create_collection(
|
||||
collection = await self.client.get_or_create_collection(
|
||||
name=memory_bank.identifier,
|
||||
)
|
||||
bank_index = BankWithIndex(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue