Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

style: reformat long lines in subagent spawn code

Steven Enamakel7da37355ef39
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_async_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_async_tests.rs
index cb7e66f66a..b10ee75398 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_async_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_async_tests.rs
@@ -371,9 +371,8 @@ fn headless_core_backed_parent(
.expect("task manager definition")
.clone();
definition.model = tinyagents_definition::ModelSpec::Inherit;
- let definitions = Arc::new(
- AgentDefinitionRegistry::builtins_only().with_definitions([definition]),
- );
+ let definitions =
+ Arc::new(AgentDefinitionRegistry::builtins_only().with_definitions([definition]));
let mut config = crate::config::Config::default();
config.workspace_dir = workspace.to_path_buf();
config.components.juice = false;
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index b4b0b41ba2..779d2b0fda 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -203,8 +203,10 @@ pub(crate) async fn spawn_async_via_driver_tool(
+ Sync
+ 'static,
) -> Result<String, SubagentRunError> {
- spawn_async_via_driver_tool_using_jobs(parent, definition, input, options, None, None, completion)
- .await
+ spawn_async_via_driver_tool_using_jobs(
+ parent, definition, input, options, None, None, completion,
+ )
+ .await
}
/// Resumes a host-authorized clarification checkpoint through the same