From 44a8b4120be90c2dce51f58f5acd6bad44503e93 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Wed, 23 Jul 2025 15:34:32 +0800 Subject: [PATCH] pipeline template --- web/app/components/rag-pipeline/utils/nodes.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/app/components/rag-pipeline/utils/nodes.ts b/web/app/components/rag-pipeline/utils/nodes.ts index da46b3d632..5b1b811f89 100644 --- a/web/app/components/rag-pipeline/utils/nodes.ts +++ b/web/app/components/rag-pipeline/utils/nodes.ts @@ -27,6 +27,7 @@ export const processNodesWithoutDataSource = (nodes: Node[]) => { if (leftNode) { const { newNode } = generateNewNode({ + id: 'data-source-empty', type: CUSTOM_DATA_SOURCE_EMPTY_NODE, data: { title: '', @@ -42,6 +43,7 @@ export const processNodesWithoutDataSource = (nodes: Node[]) => { let newNoteNode if (!hasNoteBySystem) { newNoteNode = generateNewNode({ + id: 'note', type: CUSTOM_NOTE_NODE, data: { title: '',