fix(palace): pass stripped plainText to extractor instead of raw HTML
This commit is contained in:
parent
1ae35a7e21
commit
1bf9896ea9
@ -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;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user