fix: conversation variable may not change in the answer node (#10034)

This commit is contained in:
非法操作 2024-10-30 11:10:31 +08:00 committed by GitHub
parent eb87e690ed
commit c7fb8a4f20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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