From 11a894f8710f0e3881bdd51bf82cf3e20fd88143 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Wed, 10 Dec 2025 16:28:43 +0800 Subject: [PATCH] fix: The local file node of the knowledge base workflow supports MD format (#4487) --- 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 431fb7130..e0b588fec 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, }