mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-01 02:01:40 +00:00
fix(tools): handle legacy customIds during document verification
This commit is contained in:
parent
a5a5dc85c6
commit
9d2358bf0e
1 changed files with 5 additions and 1 deletions
|
|
@ -694,8 +694,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