fix(workflow): answers are output simultaneously across different braches in the question classifier node. (#8225)

This commit is contained in:
takatost 2024-09-10 21:11:35 +08:00 committed by GitHub
parent f6dfe23cf8
commit fdbbdb706f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -151,7 +151,7 @@ class AnswerStreamGeneratorRouter:
if source_node_type in (
NodeType.ANSWER.value,
NodeType.IF_ELSE.value,
NodeType.QUESTION_CLASSIFIER,
NodeType.QUESTION_CLASSIFIER.value,
):
answer_dependencies[answer_node_id].append(source_node_id)
else: