Skip to content

Commit d96638e

Browse files
committed
improvement(subagents): update comment to reflect new go feature flag
1 parent b6c3018 commit d96638e

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

  • apps/sim/lib/copilot/request/lifecycle

apps/sim/lib/copilot/request/lifecycle/run.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)