mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
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({
|
||||
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)
|
||||
},
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue