From 371399896d6ad6581d5c3a143b02d4be620ac85c Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 10 Dec 2025 16:27:51 +0800 Subject: [PATCH] fix: The local file node of the knowledge base workflow supports MD format --- ui/src/workflow/nodes/data-source-local-node/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/workflow/nodes/data-source-local-node/index.vue b/ui/src/workflow/nodes/data-source-local-node/index.vue index 431fb7130df..e0b588fec15 100644 --- a/ui/src/workflow/nodes/data-source-local-node/index.vue +++ b/ui/src/workflow/nodes/data-source-local-node/index.vue @@ -93,9 +93,9 @@ import { set } from 'lodash' const NodeFormRef = ref() const props = defineProps<{ nodeModel: any }>() -const file_type_list_options = ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV'] +const file_type_list_options = ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV', 'MD'] const form = { - file_type_list: ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV'], + file_type_list: ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV', 'MD'], file_size_limit: 100, file_count_limit: 50, }