fix(workflow): the answer node after the iteration node containing the answer was output prematurely (#8419)
This commit is contained in:
parent
0123498452
commit
f01602b570
1 changed files with 1 additions and 0 deletions
|
|
@ -152,6 +152,7 @@ class AnswerStreamGeneratorRouter:
|
||||||
NodeType.ANSWER.value,
|
NodeType.ANSWER.value,
|
||||||
NodeType.IF_ELSE.value,
|
NodeType.IF_ELSE.value,
|
||||||
NodeType.QUESTION_CLASSIFIER.value,
|
NodeType.QUESTION_CLASSIFIER.value,
|
||||||
|
NodeType.ITERATION.value,
|
||||||
}:
|
}:
|
||||||
answer_dependencies[answer_node_id].append(source_node_id)
|
answer_dependencies[answer_node_id].append(source_node_id)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue