mirror of
https://github.com/langgenius/dify.git
synced 2026-04-03 13:40:53 +08:00
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
Block a user