mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-12 16:29:01 +08:00
fix(workflow): answers are output simultaneously across different braches in the question classifier node. (#8225)
This commit is contained in:
parent
f6dfe23cf8
commit
fdbbdb706f
@ -151,7 +151,7 @@ class AnswerStreamGeneratorRouter:
|
|||||||
if source_node_type in (
|
if source_node_type in (
|
||||||
NodeType.ANSWER.value,
|
NodeType.ANSWER.value,
|
||||||
NodeType.IF_ELSE.value,
|
NodeType.IF_ELSE.value,
|
||||||
NodeType.QUESTION_CLASSIFIER,
|
NodeType.QUESTION_CLASSIFIER.value,
|
||||||
):
|
):
|
||||||
answer_dependencies[answer_node_id].append(source_node_id)
|
answer_dependencies[answer_node_id].append(source_node_id)
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user