fix(workflow): the answer node after the iteration node containing the answer was output prematurely (#8419)

This commit is contained in:
takatost 2024-09-14 14:02:09 +08:00 committed by GitHub
parent 0123498452
commit f01602b570
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -152,6 +152,7 @@ class AnswerStreamGeneratorRouter:
NodeType.ANSWER.value,
NodeType.IF_ELSE.value,
NodeType.QUESTION_CLASSIFIER.value,
NodeType.ITERATION.value,
}:
answer_dependencies[answer_node_id].append(source_node_id)
else: