fix(palace): pass stripped plainText to extractor instead of raw HTML

This commit is contained in:
saravanakumardb1 2026-04-10 01:42:00 -07:00
parent 1ae35a7e21
commit 1bf9896ea9

View File

@ -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;