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 formatting across session host and toolpack tests
Steven Enamakelf85b0c92b65b
diff --git a/crates/openhuman-core/src/agent/session_host/builder/factory.rs b/crates/openhuman-core/src/agent/session_host/builder/factory.rsindex 7627b5556d..05ac605097 100644--- a/crates/openhuman-core/src/agent/session_host/builder/factory.rs+++ b/crates/openhuman-core/src/agent/session_host/builder/factory.rs@@ -209,18 +209,18 @@ impl OpenHumanSessionHost {let (mut tools, pack_registry_handle) =tool_registry::make_tool_registry(host_only, || {tools::ops::all_tools_with_runtime_and_pack_handle(- Arc::clone(&tool_config),- &security,- runtime,- audit,- &tool_config.browser,- &tool_config.http_request,- &tool_config.action_dir,- &tool_config,- workspace_descriptor- .as_ref()- .map(|descriptor| descriptor.root.as_path()),- )+ Arc::clone(&tool_config),+ &security,+ runtime,+ audit,+ &tool_config.browser,+ &tool_config.http_request,+ &tool_config.action_dir,+ &tool_config,+ workspace_descriptor+ .as_ref()+ .map(|descriptor| descriptor.root.as_path()),+ )});// Filter tools by the user preference loaded above.diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs b/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rsindex 2ff927b078..d06595b25f 100644--- a/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs+++ b/crates/openhuman-core/src/agent/session_host/runtime_session/prelude.rs@@ -93,11 +93,10 @@ impl OpenHumanTurnPrelude {let flow_archetype_text = super::prompt::flow_archetype_text(self, true).await?;let connected_identities_md =crate::integrations::render_connected_identities_async(&self.dispatch_ctx()).await;- let tiered = self- .build_system_prompt_tiered_with_flow_archetype_and_connected_identities(- flow_archetype_text.as_deref(),- &connected_identities_md,- )?;+ let tiered = self.build_system_prompt_tiered_with_flow_archetype_and_connected_identities(+ flow_archetype_text.as_deref(),+ &connected_identities_md,+ )?;Ok(tinyagents_runtime::PrefixSnapshot::new(tiered.system_messages()diff --git a/crates/openhuman-core/src/doctor/checks/inference_tests.rs b/crates/openhuman-core/src/doctor/checks/inference_tests.rsindex 1067f6d4d9..8bdadbfe66 100644--- a/crates/openhuman-core/src/doctor/checks/inference_tests.rs+++ b/crates/openhuman-core/src/doctor/checks/inference_tests.rs@@ -578,10 +578,7 @@ async fn invalid_role_and_route_temperatures_report_their_config_paths() {.filter_map(|result| result.config_path.as_deref()).collect::<Vec<_>>();- for expected in [- "chat_provider",- "model_routes[0].model",- ] {+ for expected in ["chat_provider", "model_routes[0].model"] {assert!(paths.contains(&expected),"missing {expected} temperature finding: {findings:#?}"diff --git a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rsindex 4a8d1313ac..e88c4ddc3a 100644--- a/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs+++ b/crates/openhuman-core/src/tools/toolpacks/toolpacks_tests.rs@@ -49,7 +49,10 @@ impl Tool for FakeTool {/// A registry holding several real packed tools plus the two pack tools, bound.fn registry_with_all(names: &[&'static str],-) -> (Arc<Vec<Box<dyn Tool>>>, tinyagents_harness_tools::skills::PackRegistryHandle) {+) -> (+ Arc<Vec<Box<dyn Tool>>>,+ tinyagents_harness_tools::skills::PackRegistryHandle,+) {let mut tools: Vec<Box<dyn Tool>> = names.iter().map(|name| {@@ -71,7 +74,10 @@ fn registry_with_all(fn registry_with(name: &'static str,level: PermissionLevel,-) -> (Arc<Vec<Box<dyn Tool>>>, tinyagents_harness_tools::skills::PackRegistryHandle) {+) -> (+ Arc<Vec<Box<dyn Tool>>>,+ tinyagents_harness_tools::skills::PackRegistryHandle,+) {let mut tools: Vec<Box<dyn Tool>> = vec![Box::new(FakeTool {name,level,