Skip to content

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

fix(tools): update scoped task wrapper path

Steven Enamakelc0bf7c6d53ad
diff --git a/crates/openhuman-core/src/tools/timeout/mod.rs b/crates/openhuman-core/src/tools/timeout/mod.rs
index da4dc0a244..d5252df9ec 100644
--- a/crates/openhuman-core/src/tools/timeout/mod.rs
+++ b/crates/openhuman-core/src/tools/timeout/mod.rs
@@ -35,7 +35,7 @@ fn ensure_configured() {
CONFIGURE.call_once(|| {
let secs = module::resolve_effective(module::DEFAULT_TIMEOUT_SECS, read_env().as_deref());
module::configure(module::TimeoutSettings::with_inherited_secs(secs));
- module::set_task_wrapper(|fut| Box::pin(crate::core::runtime::scoped(fut)));
+ module::set_task_wrapper(|fut| Box::pin(crate::core::runtime::spawn::scoped(fut)));
log::debug!("[tool_timeout] configured module settings inherited={secs}s");
});
}