Merge branch 'feat/v3-pipeline' of https://github.com/mem0ai/mem0 into feat/v3-pipeline

This commit is contained in:
Soumil Rathi
2026-04-13 13:19:34 -07:00
3 changed files with 5 additions and 16 deletions
+2 -1
View File
@@ -298,7 +298,8 @@ export default class MemoryClient {
body: JSON.stringify(payload),
},
);
return response;
// Unwrap v1.1 format: { results: [...] } → [...]
return Array.isArray(response) ? response : (response?.results ?? response);
}
async delete(memoryId: string): Promise<{ message: string }> {