fix: error in obtaining end_to_node_id during conditional parallel execution (#13673)

This commit is contained in:
Novice 2025-02-13 18:00:28 +08:00 committed by GitHub
parent c398c9cb6a
commit f0b9257387
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -590,8 +590,6 @@ class Graph(BaseModel):
start_node_id=node_id,
routes_node_ids=routes_node_ids,
)
# Exclude conditional branch nodes
and all(edge.run_condition is None for edge in reverse_edge_mapping.get(node_id, []))
):
if node_id not in merge_branch_node_ids:
merge_branch_node_ids[node_id] = []