Skip to content

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

style: reformat finish_driver_task calls onto single lines

Steven Enamakelc64180bb1a0c
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 3c5c8ba66e..0a90a82e2a 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
@@ -341,9 +341,7 @@ impl SpawnSubagentTool {
completion_target
.failed(task_id, &definition.id, &message)
.await;
- crate::agent::orchestration::completion_owners::finish_driver_task(
- &dispatch, task_id,
- );
+ crate::agent::orchestration::completion_owners::finish_driver_task(&dispatch, task_id);
return Ok(ToolResult::error(format!("spawn_subagent: {message}")));
}
if let Err(error) = crate::agent::subagent_host::resume_async_via_driver_tool(
@@ -368,9 +366,7 @@ impl SpawnSubagentTool {
completion_target
.failed(task_id, &definition.id, &message)
.await;
- crate::agent::orchestration::completion_owners::finish_driver_task(
- &dispatch, task_id,
- );
+ crate::agent::orchestration::completion_owners::finish_driver_task(&dispatch, task_id);
crate::agent::orchestration::subagent_events::publish_subagent_failed(
parent_session,
task_id.to_owned(),