mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 08:16:01 +08:00
fix(workflow): both parallel and single branch errors occur in if-else (#8378)
This commit is contained in:
parent
9d80d7def7
commit
cd3eaed335
@ -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),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user