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
chore: files changed src/openhuman/agent/harness/session/session_tests_part_02_tests.rs,src/openhuma
Steven Enamakel79c277014a32
diff --git a/src/openhuman/agent/harness/session/session_tests_part_02_tests.rs b/src/openhuman/agent/harness/session/session_tests_part_02_tests.rsindex 186033f88e..9ccfb756a2 100644--- a/src/openhuman/agent/harness/session/session_tests_part_02_tests.rs+++ b/src/openhuman/agent/harness/session/session_tests_part_02_tests.rs@@ -644,7 +644,7 @@ fn a_durable_tool_owning_a_delegate_name_wins_everywhere_across_refreshes() {.any(|tool| tool.name() == DELEGATE),"the colliding delegate must not be synthesised beside the durable tool");- let specs: Vec<&crate::openhuman::tools::ToolSpec> = agent+ let specs: Vec<&std::sync::Arc<crate::openhuman::tools::ToolSpec>> = agent.tool_specs().iter().filter(|spec| spec.name == DELEGATE)diff --git a/src/openhuman/agent/harness/subagent_runner/ops_tests.rs b/src/openhuman/agent/harness/subagent_runner/ops_tests.rsindex 0afcc67ff7..a7a159235c 100644--- a/src/openhuman/agent/harness/subagent_runner/ops_tests.rs+++ b/src/openhuman/agent/harness/subagent_runner/ops_tests.rs@@ -240,8 +240,8 @@ fn make_parent(provider: Arc<dyn ChatModel<()>>,tools: Vec<Box<dyn Tool>>,) -> ParentExecutionContext {- let tool_specs: Vec<crate::openhuman::tools::ToolSpec> =- tools.iter().map(|t| t.spec()).collect();+ let tool_specs: Vec<Arc<crate::openhuman::tools::ToolSpec>> =+ tools.iter().map(|t| Arc::new(t.spec())).collect();ParentExecutionContext {workspace_descriptor: None,agent_definition_id: "orchestrator".into(),diff --git a/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs b/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rsindex b14af61cb2..4dfcf2cae8 100644--- a/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs+++ b/src/openhuman/agent/orchestration/tools/agent_prepare_context_tests.rs@@ -338,8 +338,8 @@ fn catalog_spec(name: &str, description: &str) -> crate::openhuman::tools::ToolS/// `visible_tool_names` is derived from the visible specs, as the turn/// builder derives it.fn parent_context_with_specs(- all_tool_specs: Vec<crate::openhuman::tools::ToolSpec>,- visible_tool_specs: Vec<crate::openhuman::tools::ToolSpec>,+ all_tool_specs: Vec<std::sync::Arc<crate::openhuman::tools::ToolSpec>>,+ visible_tool_specs: Vec<std::sync::Arc<crate::openhuman::tools::ToolSpec>>,) -> crate::openhuman::agent::harness::fork_context::ParentExecutionContext {use std::sync::Arc;let workspace = tempfile::TempDir::new().expect("temp workspace");