fix: async delete_all race condition corrupts entity store linked_memory_ids (#5553)

This commit is contained in:
Hrushikesh Yadav
2026-06-18 16:57:03 +05:30
committed by GitHub
parent 3e2ae734e7
commit 466249113c
3 changed files with 80 additions and 5 deletions
+1
View File
@@ -18,6 +18,7 @@ def make_async_memory():
memory = AsyncMemory.__new__(AsyncMemory)
memory.vector_store = MagicMock()
memory._delete_memory = AsyncMock()
memory._entity_store = None
return memory