Skip to content

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

fix(orchestration): pass jobs by reference to cancel driver job

Steven Enamakelbea4f0195dcc
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs
index 23cf0339ae..d1713c81da 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents/cancel.rs
@@ -86,7 +86,7 @@ pub(crate) fn cancel_by_task(
let selected = crate::agent::orchestration::subagent_sessions::cancel_driver_job_by_task(
&store,
&workspace_dir.join(".openhuman/subagent_checkpoints"),
- jobs,
+ &jobs,
task_id,
)?;
Some(CancelledSubagent {