mirror of https://github.com/langgenius/dify.git
pipeline template
This commit is contained in:
parent
53cdee1e2f
commit
44a8b4120b
|
|
@ -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: '',
|
||||
|
|
|
|||
Loading…
Reference in New Issue