mirror of https://github.com/langgenius/dify.git
remove answer as end
This commit is contained in:
parent
e66c55ba9e
commit
387a6cfee4
|
|
@ -161,7 +161,7 @@ class WorkflowEngineManager:
|
|||
callbacks=callbacks
|
||||
)
|
||||
|
||||
if next_node.node_type in [NodeType.END, NodeType.ANSWER]:
|
||||
if next_node.node_type in [NodeType.END]:
|
||||
break
|
||||
|
||||
predecessor_node = next_node
|
||||
|
|
|
|||
Loading…
Reference in New Issue