sync: description generation fix - simplified prompt

This commit is contained in:
“BeeRad”
2026-01-13 11:38:25 +11:00
parent 4f030c7d29
commit f7b8b2058c
3 changed files with 34 additions and 48 deletions
@@ -32,8 +32,10 @@ export async function POST(
const newDescription = await generateDescription({
title: node.title,
content: node.content || undefined,
link: node.link || undefined,
metadata: node.metadata as { source?: string; channel_name?: string; author?: string; site_name?: string } | undefined,
type: (node.metadata as { type?: string } | null)?.type
type: (node.metadata as { type?: string } | null)?.type,
dimensions: node.dimensions || []
});
// Update the node with the new description