From 6e1fb1d4ce80ce269410df967db5ab39d9ec6c4d Mon Sep 17 00:00:00 2001 From: shaohuzhang1 <80892890+shaohuzhang1@users.noreply.github.com> Date: Mon, 4 Aug 2025 14:19:03 +0800 Subject: [PATCH] fix: [Advanced Orchestration] The content in the specified reply was repeated several times when the Q&A was output. #3754 (#3801) --- ui/src/workflow/common/app-node.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/workflow/common/app-node.ts b/ui/src/workflow/common/app-node.ts index e3cdb3c4f..4b159cea1 100644 --- a/ui/src/workflow/common/app-node.ts +++ b/ui/src/workflow/common/app-node.ts @@ -372,7 +372,9 @@ class AppNodeModel extends HtmlResize.model { this.sourceRules.push({ message: t('views.applicationWorkflow.tip.notRecyclable'), validate: (sourceNode: any, targetNode: any, sourceAnchor: any, targetAnchor: any) => { - return !isLoop(sourceNode.id, targetNode.id) + const up_node_list = this.graphModel.getNodeIncomingNode(targetNode.id) + const is_c = up_node_list.find((up_node) => up_node.id == sourceNode.id) + return !is_c && !isLoop(sourceNode.id, targetNode.id) }, })