From 1bf9896ea9f5db4f75b1f816f5ebe4f4c9040b5c Mon Sep 17 00:00:00 2001 From: saravanakumardb1 Date: Fri, 10 Apr 2026 01:42:00 -0700 Subject: [PATCH] fix(palace): pass stripped plainText to extractor instead of raw HTML --- backend/src/modules/palace/palace-hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/modules/palace/palace-hooks.ts b/backend/src/modules/palace/palace-hooks.ts index 8cac9f4..94f7e2b 100644 --- a/backend/src/modules/palace/palace-hooks.ts +++ b/backend/src/modules/palace/palace-hooks.ts @@ -35,7 +35,7 @@ export async function onNoteSavedToPalace( if (plainText.length < 50) return; const wing = await ensureWing(userId, productId, note.workspaceId, workspaceName); - const memories = await extractMemories(note.body, note.title, workspaceName); + const memories = await extractMemories(plainText, note.title, workspaceName); if (memories.length === 0) return;