Skip to content

Commit 1328c2a

Browse files
authored
fix(mcp): change memories.delete to documents.delete for forget action (#737)
1 parent 8287141 commit 1328c2a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/mcp/src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export class SupermemoryClient {
111111

112112
// Delete the most similar match
113113
const memoryToDelete = searchResult.results[0]
114-
await this.client.memories.delete(memoryToDelete.id)
114+
await this.client.documents.delete(memoryToDelete.id)
115115

116116
const memoryText = memoryToDelete.memory || memoryToDelete.content || ""
117117
return {

0 commit comments

Comments
 (0)