mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 11:26:52 +08:00
fix(workflow): both parallel and single branch errors occur in if-else (#8378)
This commit is contained in:
@@ -405,7 +405,8 @@ class Graph(BaseModel):
|
|||||||
|
|
||||||
if condition_edge_mappings:
|
if condition_edge_mappings:
|
||||||
for condition_hash, graph_edges in condition_edge_mappings.items():
|
for condition_hash, graph_edges in condition_edge_mappings.items():
|
||||||
current_parallel = cls._get_current_parallel(
|
for graph_edge in graph_edges:
|
||||||
|
current_parallel: GraphParallel | None = cls._get_current_parallel(
|
||||||
parallel_mapping=parallel_mapping,
|
parallel_mapping=parallel_mapping,
|
||||||
graph_edge=graph_edge,
|
graph_edge=graph_edge,
|
||||||
parallel=condition_parallels.get(condition_hash),
|
parallel=condition_parallels.get(condition_hash),
|
||||||
|
|||||||
Reference in New Issue
Block a user