The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(tinyagents): thread run context through failure effect helper
Steven Enamakelc89cddb24476
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rsindex b92f5a3bf1..c2e91724f2 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_failure_effect_tests.rs@@ -23,15 +23,16 @@ fn harness_timeout(tool: &str) -> String {async fn run_call(mw: &RepeatedToolFailureMiddleware,+ context: &mut RunContext<OpenHumanRunContext>,id: &str,tool: &str,args: serde_json::Value,error: &str,) {let mut call = TaToolCall::new(id, tool, args);- mw.before_tool(&mut ctx(), &(), &mut call).await.unwrap();+ mw.before_tool(context, &(), &mut call).await.unwrap();let mut result = failing_result(tool, error);- mw.after_tool(&mut ctx(), &(), &invocation(id, tool), &mut result)+ mw.after_tool(context, &(), &invocation(id, tool), &mut result).await.unwrap();}