Skip to content

Commit 4d4353e

Browse files
committed
fix: There is a situation in the intelligent agent where workflow tools cannot be used as end nodes
1 parent cc2ec69 commit 4d4353e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/src/workflow/common/validate.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ const loop_end_nodes: Array<string> = [
4141
WorkflowType.LoopNode,
4242
WorkflowType.LoopBreakNode,
4343
WorkflowType.VariableAssignNode,
44+
WorkflowType.ToolWorkflowLib,
4445
]
4546
const end_nodes_dict = {
4647
[WorkflowMode.Application]: end_nodes,

0 commit comments

Comments
 (0)