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): reformat web search timeout test setup
Steven Enamakel017bb9831e11
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 4f098a7e65..6f56addf96 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@@ -355,13 +355,15 @@ fn search_spec(name: &str) -> tinysearch_bus::ToolSpec {#[test]fn a_web_search_tool_timeout_is_transient_not_an_uncertain_action() {- let tools: Vec<Box<dyn tinytools::Tool>> = ["web_answer_tool", "web_search_tool", "web_contents_tool"]- .into_iter()- .map(|name| {- Box::new(crate::search::tools::TinySearchTool::recorded(search_spec(name)))- as Box<dyn tinytools::Tool>- })- .collect();+ let tools: Vec<Box<dyn tinytools::Tool>> =+ ["web_answer_tool", "web_search_tool", "web_contents_tool"]+ .into_iter()+ .map(|name| {+ Box::new(crate::search::tools::TinySearchTool::recorded(search_spec(+ name,+ ))) as Box<dyn tinytools::Tool>+ })+ .collect();let lookup = super::super::call_effect::tool_sets_lookup(vec![std::sync::Arc::new(tools)]);for name in ["web_answer_tool", "web_search_tool", "web_contents_tool"] {let args = serde_json::json!({"query": "what changed in the release"});