Skip to content

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

fix(runtime): use core runtime scope for reaping

Steven Enamakel0a34c998e82f
diff --git a/crates/openhuman-core/src/tools/timeout/mod.rs b/crates/openhuman-core/src/tools/timeout/mod.rs
index 615634417f..a1629a1be5 100644
--- a/crates/openhuman-core/src/tools/timeout/mod.rs
+++ b/crates/openhuman-core/src/tools/timeout/mod.rs
@@ -248,7 +248,7 @@ pub async fn output_unbounded(
let pid = child.id();
let reaped = process_cleanup::Reaped::register();
let (cancel, cancellation) = tokio::sync::watch::channel(false);
- let waiter = crate::runtime::spawn_scoped(async move {
+ let waiter = crate::core::runtime::spawn_scoped(async move {
let _reaped = reaped;
collect_command_output(child, cancellation).await
});