File tree Expand file tree Collapse file tree
apps/sim/lib/copilot/request/lifecycle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -237,12 +237,13 @@ export async function runCopilotLifecycle(
237237// Per-subagent checkpoint resume (concurrent fan-out)
238238// ---------------------------------------------------------------------------
239239//
240- // Under the subagent-checkpoints model each paused subagent is its OWN checkpoint
241- // chain (frame.checkpointId) joined at the orchestrator. Instead of one bundled
242- // /resume, Sim drives one resume chain per child CONCURRENTLY so a fast child
243- // never waits on a slow sibling, and the Go join wakes the orchestrator on
244- // whichever child finishes last. Gated by the Go `subagent-checkpoints` flag,
245- // surfaced here purely by frames carrying their own checkpointId.
240+ // Under the per-subagent checkpoint model each paused subagent is its OWN
241+ // checkpoint chain (frame.checkpointId) joined at the orchestrator. Instead of
242+ // one bundled /resume, Sim drives one resume chain per child CONCURRENTLY so a
243+ // fast child never waits on a slow sibling, and the Go join wakes the
244+ // orchestrator on whichever child finishes last. Gated by the Go
245+ // `parallel-subagents` flag, surfaced here purely by frames carrying their own
246+ // checkpointId.
246247//
247248// IMPORTANT (concurrency): JS is single-threaded, so the legs interleave at await
248249// points rather than running truly in parallel; shared accumulators
You can’t perform that action at this time.
0 commit comments