Skip to content

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

style: reformat chained call in spawn subagent tool

Steven Enamakel190ef0e2dc13
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs
index a5b69267cd..131476a074 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs
@@ -83,8 +83,9 @@ impl SpawnSubagentTool {
let task_workspace = workspace_descriptor
.clone()
.unwrap_or_else(|| tinytools::WorkspaceDescriptor::new(parent.workspace_dir.clone()));
- let detached_parent_with_workspace =
- (*detached_parent).clone().with_workspace(task_workspace.clone());
+ let detached_parent_with_workspace = (*detached_parent)
+ .clone()
+ .with_workspace(task_workspace.clone());
let resolved_model = definition.model.resolve(parent.model_name.as_str());
let target_model = model_override.as_deref().unwrap_or(&resolved_model);
if crate::attachments::should_forward_parent_images(&prompt)