From cc2ec69d880be25c1e435d2747b125a7897d85b7 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 8 Apr 2026 11:33:58 +0800 Subject: [PATCH 1/2] fix: There is a situation in the intelligent agent where workflow tools cannot be used as end nodes --- ui/src/workflow/common/validate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/workflow/common/validate.ts b/ui/src/workflow/common/validate.ts index af59d58b899..c72a0bdfaab 100644 --- a/ui/src/workflow/common/validate.ts +++ b/ui/src/workflow/common/validate.ts @@ -21,6 +21,7 @@ const end_nodes: Array = [ WorkflowType.VideoUnderstandNode, WorkflowType.VariableAssignNode, WorkflowType.KnowledgeWriteNode, + WorkflowType.ToolWorkflowLib, ] const loop_end_nodes: Array = [ From 4d4353ec4daf4e9bc6208f58b0d8cd98cd96ddec Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Wed, 8 Apr 2026 11:36:45 +0800 Subject: [PATCH 2/2] fix: There is a situation in the intelligent agent where workflow tools cannot be used as end nodes --- ui/src/workflow/common/validate.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/src/workflow/common/validate.ts b/ui/src/workflow/common/validate.ts index c72a0bdfaab..08c7f8935d8 100644 --- a/ui/src/workflow/common/validate.ts +++ b/ui/src/workflow/common/validate.ts @@ -41,6 +41,7 @@ const loop_end_nodes: Array = [ WorkflowType.LoopNode, WorkflowType.LoopBreakNode, WorkflowType.VariableAssignNode, + WorkflowType.ToolWorkflowLib, ] const end_nodes_dict = { [WorkflowMode.Application]: end_nodes,