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(profile_host): update shell tool calls to use spawn_subagent
Steven Enamakelbf4d536c7514
diff --git a/crates/openhuman-embed/tests/profile_host_capabilities.rs b/crates/openhuman-embed/tests/profile_host_capabilities.rsindex 435269e2e1..5c60bf82d7 100644--- a/crates/openhuman-embed/tests/profile_host_capabilities.rs+++ b/crates/openhuman-embed/tests/profile_host_capabilities.rs@@ -109,7 +109,7 @@ impl Respond for CallTools {tool_call_completion("tenant_probe", r#"{"deny":true}"#)} else if common::last_user_message(&body).contains("unsafe fixture request") {let mut completion = tool_call_completion("shell", "{}");- completion["choices"][0]["message"]["tool_calls"] = json!(["shell", "delegate", "http_request", "run_workflow"].iter().enumerate().map(|(i, name)| json!({"id":format!("unsafe_{i}"),"type":"function","function":{"name":name,"arguments":"{}"}})).collect::<Vec<_>>());+ completion["choices"][0]["message"]["tool_calls"] = json!(["shell", "spawn_subagent", "http_request", "run_workflow"].iter().enumerate().map(|(i, name)| json!({"id":format!("unsafe_{i}"),"type":"function","function":{"name":name,"arguments":"{}"}})).collect::<Vec<_>>());completion} else if has_tool_results|| !tool_names(request)@@ -214,7 +214,7 @@ async fn scenario() {"tenant_probe","hidden","shell",- "delegate",+ "spawn_subagent","curl","install_workflow_from_url","http_request",@@ -236,7 +236,7 @@ async fn scenario() {"tenant_probe".into(),"memory".into(),"shell".into(),- "delegate".into(),+ "spawn_subagent".into(),"curl".into(),"install_workflow_from_url".into(),"http_request".into(),@@ -412,7 +412,7 @@ async fn scenario() {for name in ["hidden","shell",- "delegate",+ "spawn_subagent","curl","http_request","run_workflow",