fix(mcp): change memories.delete to documents.delete for forget action (#737)

This commit is contained in:
Coldaine 2026-02-16 15:32:04 -06:00 committed by GitHub
parent 8287141bba
commit 1328c2ac3a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,7 +111,7 @@ export class SupermemoryClient {
// Delete the most similar match
const memoryToDelete = searchResult.results[0]
await this.client.memories.delete(memoryToDelete.id)
await this.client.documents.delete(memoryToDelete.id)
const memoryText = memoryToDelete.memory || memoryToDelete.content || ""
return {