refactor: align source-first schema surfaces

This commit is contained in:
“BeeRad”
2026-03-22 20:17:07 +11:00
parent 255377658b
commit b9af8dc385
21 changed files with 267 additions and 93 deletions
@@ -85,7 +85,7 @@ export async function POST(
// Generate new description using the description service
const newDescription = await generateDescription({
title: node.title,
notes: node.source || node.description || undefined,
source: node.source || node.description || undefined,
link: node.link || undefined,
metadata: enrichedMetadata,
+1 -1
View File
@@ -108,7 +108,7 @@ export async function POST(request: NextRequest) {
try {
nodeDescription = await generateDescription({
title: body.title,
notes: rawSource?.slice(0, 2000) || undefined,
source: rawSource?.slice(0, 2000) || undefined,
link: body.link || undefined,
metadata: body.metadata,
dimensions: trimmedProvidedDimensions