fix: resolve merge conflicts with upstream TS changes

Take team's upstream changes for search return type
(Promise<{results: Array<Memory>}>) and test assertions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
chaithanyak42
2026-04-14 02:20:07 +05:30
co-authored by Claude Opus 4.6
parent 0b4bbcefff
commit 41e51491dd
-1
View File
@@ -273,7 +273,6 @@ export default class MemoryClient {
headers: this.headers,
body: JSON.stringify(body),
});
// Unwrap v1.1 format: { results: [...] } → [...]
return Array.isArray(response) ? response : (response?.results ?? response);
}