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: workflow as tool always outdated (#8798)

非法操作6df14e50b2c7
diff --git a/web/app/components/tools/workflow-tool/configure-button.tsx b/web/app/components/tools/workflow-tool/configure-button.tsx
index d2c5142f53c..6521410daea 100644
--- a/web/app/components/tools/workflow-tool/configure-button.tsx
+++ b/web/app/components/tools/workflow-tool/configure-button.tsx
@@ -65,7 +65,7 @@ const WorkflowToolConfigureButton = ({
else {
if (item.type === 'paragraph' && param.type !== 'string')
return true
- if (param.type !== item.type && !(param.type === 'string' && item.type === 'paragraph'))
+ if (item.type === 'text-input' && param.type !== 'string')
return true
}
}