mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-09 02:46:52 +08:00
fix(workflow): IF-ELSE nodes connected to the same subsequent node cause execution to stop (#8247)
This commit is contained in:
@@ -86,10 +86,6 @@ class Graph(BaseModel):
|
|||||||
if target_node_id not in reverse_edge_mapping:
|
if target_node_id not in reverse_edge_mapping:
|
||||||
reverse_edge_mapping[target_node_id] = []
|
reverse_edge_mapping[target_node_id] = []
|
||||||
|
|
||||||
# is target node id in source node id edge mapping
|
|
||||||
if any(graph_edge.target_node_id == target_node_id for graph_edge in edge_mapping[source_node_id]):
|
|
||||||
continue
|
|
||||||
|
|
||||||
target_edge_ids.add(target_node_id)
|
target_edge_ids.add(target_node_id)
|
||||||
|
|
||||||
# parse run condition
|
# parse run condition
|
||||||
|
|||||||
Reference in New Issue
Block a user