Skip to content

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

chore(tools): add tests for timeout tool

Steven Enamakeld1ffe13f925b
diff --git a/crates/openhuman-core/src/tools/timeout/mod_tests.rs b/crates/openhuman-core/src/tools/timeout/mod_tests.rs
index 407adbf35c..48a9cc5a10 100644
--- a/crates/openhuman-core/src/tools/timeout/mod_tests.rs
+++ b/crates/openhuman-core/src/tools/timeout/mod_tests.rs
@@ -341,7 +341,14 @@ mod harness_install {
let started = std::time::Instant::now();
let run = harness
- .invoke_in_context(&(), (), vec![Message::user("go")])
+ .invoke_in_context(
+ &(),
+ tinyagents_harness::context::RunContext::new(
+ tinyagents_harness::context::RunConfig::new("timeout-e2e"),
+ (),
+ ),
+ vec![Message::user("go")],
+ )
.await
.expect("a timed-out tool is a recoverable result, not a run failure");
let elapsed = started.elapsed();