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:
co-authored by
Claude Opus 4.6
parent
0b4bbcefff
commit
41e51491dd
@@ -273,7 +273,6 @@ export default class MemoryClient {
|
|||||||
headers: this.headers,
|
headers: this.headers,
|
||||||
body: JSON.stringify(body),
|
body: JSON.stringify(body),
|
||||||
});
|
});
|
||||||
// Unwrap v1.1 format: { results: [...] } → [...]
|
|
||||||
return Array.isArray(response) ? response : (response?.results ?? response);
|
return Array.isArray(response) ? response : (response?.results ?? response);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user