Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: tool's file input display string (#10887)

非法操作f3af7b5f35b3
diff --git a/web/app/components/workflow/nodes/tool/components/input-var-list.tsx b/web/app/components/workflow/nodes/tool/components/input-var-list.tsx
index e47082f4b77..10c534509ce 100644
--- a/web/app/components/workflow/nodes/tool/components/input-var-list.tsx
+++ b/web/app/components/workflow/nodes/tool/components/input-var-list.tsx
@@ -46,6 +46,8 @@ const InputVarList: FC<Props> = ({
const paramType = (type: string) => {
if (type === FormTypeEnum.textNumber)
return 'Number'
+ else if (type === FormTypeEnum.file)
+ return 'File'
else if (type === FormTypeEnum.files)
return 'Files'
else if (type === FormTypeEnum.select)