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