Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(workflow-runs): reformat supervisor calls in lifecycle

Steven Enamakel87aa153be481
diff --git a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs
index fd61cb0392..2f560736fe 100644
--- a/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/orchestration/workflow_runs/engine/lifecycle.rs
@@ -190,11 +190,16 @@ fn schedule_workflow_drive(
};
if resume {
- supervisor
- .resume_scoped_with_commit(run_id, commit, make_future, root_parent, origin, spawn)
+ supervisor.resume_scoped_with_commit(
+ run_id,
+ commit,
+ make_future,
+ root_parent,
+ origin,
+ spawn,
+ )
} else {
- supervisor
- .start_scoped_with_commit(run_id, commit, make_future, root_parent, origin, spawn)
+ supervisor.start_scoped_with_commit(run_id, commit, make_future, root_parent, origin, spawn)
}
}