mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-10 03:28:14 +00:00
fix(tools): handle legacy customIds during document verification
This commit is contained in:
parent
db64d1369c
commit
d110df8ad2
1 changed files with 5 additions and 1 deletions
|
|
@ -696,8 +696,12 @@ export class ClaudeMemoryTool {
|
|||
hasUnverifiedCandidate = true
|
||||
continue
|
||||
}
|
||||
const isMatchingCustomId =
|
||||
document.customId === normalizedId ||
|
||||
document.customId === this.legacyNormalizePathToCustomId(filePath)
|
||||
|
||||
if (
|
||||
document.customId !== normalizedId ||
|
||||
!isMatchingCustomId ||
|
||||
this.getDocumentFilePath(document) !== filePath ||
|
||||
!this.hasExactContainerTags(document.containerTags)
|
||||
) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue