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
fix(imports): reorder ArchetypeDelegationTool import to resolve unused import warning
Steven Enamakel641db94c2c6a
diff --git a/crates/openhuman-core/src/tools/orchestrator_tools.rs b/crates/openhuman-core/src/tools/orchestrator_tools.rsindex 4288f14508..1f50a01073 100644--- a/crates/openhuman-core/src/tools/orchestrator_tools.rs+++ b/crates/openhuman-core/src/tools/orchestrator_tools.rs@@ -38,9 +38,9 @@ use crate::integrations::composio::ComposioActionTool;// SpawnWorkerThreadTool import kept commented while the worker-thread spawn is// temporarily disabled (see tinyhumansai/openhuman#1624).+use super::ArchetypeDelegationTool;#[allow(unused_imports)]use super::SpawnWorkerThreadTool;-use super::ArchetypeDelegationTool;use crate::agent::orchestration::tools::DelegationTarget;use tinytools::Tool;diff --git a/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs b/crates/openhuman-core/src/tools/orchestrator_tools_tests.rsindex ffd24c2ed1..0a797dc579 100644--- a/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs+++ b/crates/openhuman-core/src/tools/orchestrator_tools_tests.rs@@ -186,7 +186,10 @@ fn skills_wildcard_adds_no_delegation_tool_for_any_integration_count() {.iter().filter(|t| t.name().starts_with("delegate_to_")).count();- assert_eq!(delegation_count, 0, "no integrations delegate for {n} integrations");+ assert_eq!(+ delegation_count, 0,+ "no integrations delegate for {n} integrations"+ );let action_count = tools.iter().filter(|t| t.exposure() == tinytools::ToolExposure::Deferred)@@ -354,14 +357,22 @@ fn deferred_actions_are_sorted_by_toolkit_then_action() {orch.subagents = vec![SubagentEntry::Skills(SkillsWildcard { skills: "*".into() })];let reg = registry_with_targets();let integrations = vec![- integration_with_actions("slack", "Chat.", &["SLACK_SEND_MESSAGE", "SLACK_LIST_CHANNELS"]),+ integration_with_actions(+ "slack",+ "Chat.",+ &["SLACK_SEND_MESSAGE", "SLACK_LIST_CHANNELS"],+ ),integration_with_actions("gmail", "Email.", &["GMAIL_SEND_EMAIL"]),];let tools = collect_orchestrator_tools(&orch, ®, &integrations);let names: Vec<&str> = tools.iter().map(|t| t.name()).collect();assert_eq!(names,- vec!["GMAIL_SEND_EMAIL", "SLACK_LIST_CHANNELS", "SLACK_SEND_MESSAGE"]+ vec![+ "GMAIL_SEND_EMAIL",+ "SLACK_LIST_CHANNELS",+ "SLACK_SEND_MESSAGE"+ ]);}