diff --git a/ui/src/workflow/nodes/ai-chat-node/index.vue b/ui/src/workflow/nodes/ai-chat-node/index.vue index d9781713e..3a5e4a0f1 100644 --- a/ui/src/workflow/nodes/ai-chat-node/index.vue +++ b/ui/src/workflow/nodes/ai-chat-node/index.vue @@ -109,11 +109,12 @@ - { } } +function submitSystemDialog(val: string) { + set(props.nodeModel.properties.node_data, 'system', val) +} + function submitDialog(val: string) { set(props.nodeModel.properties.node_data, 'prompt', val) } diff --git a/ui/src/workflow/nodes/question-node/index.vue b/ui/src/workflow/nodes/question-node/index.vue index e96fcf830..c6a9918f9 100644 --- a/ui/src/workflow/nodes/question-node/index.vue +++ b/ui/src/workflow/nodes/question-node/index.vue @@ -106,11 +106,12 @@ - { function submitDialog(val: string) { set(props.nodeModel.properties.node_data, 'prompt', val) } + +function submitSystemDialog(val: string) { + set(props.nodeModel.properties.node_data, 'system', val) +} const { params: { id } } = app.config.globalProperties.$route as any diff --git a/ui/src/workflow/nodes/reranker-node/index.vue b/ui/src/workflow/nodes/reranker-node/index.vue index 82f964fa3..731c6d74d 100644 --- a/ui/src/workflow/nodes/reranker-node/index.vue +++ b/ui/src/workflow/nodes/reranker-node/index.vue @@ -117,14 +117,14 @@ >