feat(web): 增加节点输出编辑

This commit is contained in:
2025-06-24 10:15:08 +08:00
parent b58c34443f
commit ab56385c8a
4 changed files with 60 additions and 33 deletions

View File

@@ -1,5 +1,5 @@
import type {NodeProps} from '@xyflow/react'
import AmisNode from './AmisNode.tsx'
import AmisNode, {outputsFormColumns} from './AmisNode.tsx'
const LlmNode = (props: NodeProps) => AmisNode(
props,
@@ -31,6 +31,10 @@ const LlmNode = (props: NodeProps) => AmisNode(
label: '系统提示词',
required: true,
},
{
type: 'divider',
},
...outputsFormColumns(false, {text: {type: 'string'}}),
],
)