Skip to content

Commit 11a894f

Browse files
authored
fix: The local file node of the knowledge base workflow supports MD format (#4487)
1 parent 5a8b910 commit 11a894f

File tree

1 file changed

+2
-2
lines changed
  • ui/src/workflow/nodes/data-source-local-node

1 file changed

+2
-2
lines changed

ui/src/workflow/nodes/data-source-local-node/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ import { set } from 'lodash'
9393
const NodeFormRef = ref()
9494
const props = defineProps<{ nodeModel: any }>()
9595
96-
const file_type_list_options = ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV']
96+
const file_type_list_options = ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV', 'MD']
9797
const form = {
98-
file_type_list: ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV'],
98+
file_type_list: ['TXT', 'DOCX', 'PDF', 'HTML', 'XLS', 'XLSX', 'ZIP', 'CSV', 'MD'],
9999
file_size_limit: 100,
100100
file_count_limit: 50,
101101
}

0 commit comments

Comments
 (0)