mirror of
https://github.com/langgenius/dify.git
synced 2026-03-26 00:38:03 +08:00
remove answer as end
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user