Skip to content

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

test(orchestration): re-export cancel_by_task for tests

Steven Enamakelbff68bfdde44
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
index 0d2461b84c..1f731f5c86 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents.rs
@@ -70,6 +70,8 @@ pub(crate) use cancel::{
cancel_all, cancel_by_session_in_workspace, cancel_by_task_with_workspace_reason,
cancel_for_thread, stop_for_thread, CancelledSubagent,
};
+#[cfg(test)]
+pub(crate) use cancel::cancel_by_task;
pub(crate) use registry::admit_spawn;
#[cfg(test)]
pub(crate) use registry::{register, status_channel, RegistrationError};