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
style: apply rustfmt import ordering and assertion formatting
Steven Enamakelb67134df30c7
diff --git a/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread.rs b/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread.rsindex ac46d701e6..9838205804 100644--- a/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread.rs+++ b/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread.rs@@ -9,7 +9,7 @@//! Worker threads carry a hard cap on depth: a worker thread cannot spawn//! another worker thread.-use crate::agent::subagent_host::{run_subagent_with_parent, SubagentRunOptions};+use crate::agent::subagent_host::{SubagentRunOptions, run_subagent_with_parent};use crate::agent_registry::host_definition::AgentDefinitionRegistry;use crate::threads::store as conversations;use async_trait::async_trait;diff --git a/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread_tests.rs b/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread_tests.rsindex bfe5833de8..2f753c8705 100644--- a/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread_tests.rs+++ b/crates/openhuman-core/src/tools/impl/threads/spawn_worker_thread_tests.rs@@ -62,9 +62,11 @@ async fn rejects_if_already_worker_thread() {let result = spawn_from_thread(temp.path(), thread_id).await;assert!(result.is_error);- assert!(result- .output()- .contains("cannot spawn other worker threads"));+ assert!(+ result+ .output()+ .contains("cannot spawn other worker threads")+ );}#[tokio::test]@@ -89,9 +91,11 @@ async fn rejects_if_has_parent_thread_id() {let result = spawn_from_thread(temp.path(), thread_id).await;assert!(result.is_error);- assert!(result- .output()- .contains("cannot spawn other worker threads"));+ assert!(+ result+ .output()+ .contains("cannot spawn other worker threads")+ );}async fn spawn_from_thread(workspace: &std::path::Path, thread_id: &str) -> tinytools::ToolResult {