fix: delete_all now drains all pages, not just the first batch (close… (#4872)

Co-authored-by: kartik-mem0 <kartik.labhshetwar@mem0.ai>
This commit is contained in:
shafdev
2026-08-01 02:25:19 +05:30
committed by GitHub
co-authored by kartik-mem0
parent 07e58c54ae
commit c2c3a12838
4 changed files with 109 additions and 19 deletions
@@ -362,7 +362,10 @@ describe("Memory Input Validation", () => {
await memory.deleteAll({ userId: " alice " });
expect(listSpy).toHaveBeenCalledWith({ user_id: "alice" });
expect(listSpy).toHaveBeenCalledWith(
{ user_id: "alice" },
expect.any(Number),
);
});
});
});