fix: [Advanced Orchestration] The content in the specified reply was repeated several times when the Q&A was output. #3754 (#3801)
This commit is contained in:
parent
fe94ca578e
commit
6e1fb1d4ce
@ -372,7 +372,9 @@ class AppNodeModel extends HtmlResize.model {
|
|||||||
this.sourceRules.push({
|
this.sourceRules.push({
|
||||||
message: t('views.applicationWorkflow.tip.notRecyclable'),
|
message: t('views.applicationWorkflow.tip.notRecyclable'),
|
||||||
validate: (sourceNode: any, targetNode: any, sourceAnchor: any, targetAnchor: any) => {
|
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)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user