mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-15 08:55:05 -05:00
fix(parallel): add parallel sentinel to make parallel-parallel and parallel-loop work correctly (#2593)
* fix(parallel): add parallel sentinel to make parallel-parallel and parallel-loop work correctly * fix regular -> parallel + copilot nested subflows * add tests * consolidate to always explode parallel dag at runtime
This commit is contained in:
committed by
GitHub
parent
b60b98e42c
commit
298546daf1
@@ -129,6 +129,10 @@ export class EdgeManager {
|
||||
return handle === EDGE.LOOP_CONTINUE || handle === EDGE.LOOP_CONTINUE_ALT
|
||||
}
|
||||
|
||||
if (output.selectedRoute === EDGE.PARALLEL_EXIT) {
|
||||
return handle === EDGE.PARALLEL_EXIT
|
||||
}
|
||||
|
||||
if (!handle) {
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user