Преглед на файлове

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

takatost преди 7 месеца
родител
ревизия
f01602b570
променени са 1 файла, в които са добавени 1 реда и са изтрити 0 реда
  1. 1 0
      api/core/workflow/nodes/answer/answer_stream_generate_router.py

+ 1 - 0
api/core/workflow/nodes/answer/answer_stream_generate_router.py

@@ -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: