diff --git a/ui/src/components/ai-chat/component/chat-input-operate/index.vue b/ui/src/components/ai-chat/component/chat-input-operate/index.vue index e548dcf8b..d533d6466 100644 --- a/ui/src/components/ai-chat/component/chat-input-operate/index.vue +++ b/ui/src/components/ai-chat/component/chat-input-operate/index.vue @@ -568,7 +568,7 @@ const uploadFile = async (file: any, fileList: any) => { } filePromisionDict.value[file.uid] = false const inner = reactive(file) - fileAllList.value.push(inner) + // fileAllList.value.push(inner) if (!chatId_context.value) { chatId_context.value = await props.openChatId() } @@ -1313,9 +1313,9 @@ async function saveUrl() { // 并行处理所有 URL await Promise.all(validUrls.map(url => processUrl(url))); - if (validFiles.length > 0) { - fileAllList.value.push(...validFiles); - } + // if (validFiles.length > 0) { + // fileAllList.value.push(...validFiles); + // } showURLSetting.value = false; urlForm.source_url = ''; diff --git a/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailCard.vue b/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailCard.vue index c22b74cad..64d111e3c 100644 --- a/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailCard.vue +++ b/ui/src/components/ai-chat/component/knowledge-source-component/ExecutionDetailCard.vue @@ -294,7 +294,7 @@
- + + @@ -892,7 +893,11 @@ {{ $t('views.workflow.nodes.variableAggregationNode.Strategy') }}
- {{ data.strategy }} + {{ + data.strategy === 'variable_to_json' + ? t('views.workflow.nodes.variableAggregationNode.placeholder1') + : t('views.workflow.nodes.variableAggregationNode.placeholder') + }}
{{ group.label + ' ' + $t('common.param.inputParam') }} -
-
- {{ `${f.node_name}.${f.field}` }}: - {{ f.value }} + +
+
+ {{ `${f.node_name}.${f.field}` }}: + {{ f.value }} +
-
+
@@ -1106,9 +1113,16 @@ > {{ data.split_strategy }}
+
+ {{ $t('views.workflow.nodes.documentSplitNode.chunk_length.label') }}: + {{ data.chunk_size }} +
+ {{ data.size }}
{{ $t('common.inputContent') }}: - {{ data.document_list }} + {{ data.document_list?.map((v: any) => v.name).join(',') }}
@@ -1119,72 +1133,100 @@ }})
- - - -