fix: memory recall crashes on a non-dict row from the vector store (#1705)

This commit is contained in:
Afonso Coutinho
2026-06-03 05:35:09 +01:00
committed by GitHub
parent 86d3af743a
commit 9dd9bb8a3f
2 changed files with 27 additions and 0 deletions

View File

@@ -103,6 +103,7 @@ class MemoryService:
metadata=r.get("metadata", {}),
)
for r in results
if isinstance(r, dict)
]
return MemorySearchResult(memories=memories, query=query, total=len(memories))