From 06d680240c3705203b891d02becc03e803369a9b Mon Sep 17 00:00:00 2001 From: Hunter Bown Date: Wed, 10 Jun 2026 16:40:17 -0700 Subject: [PATCH] style: cargo fmt Co-Authored-By: Claude Fable 5 --- crates/tui/src/tools/subagent/mod.rs | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/crates/tui/src/tools/subagent/mod.rs b/crates/tui/src/tools/subagent/mod.rs index 824f621d..5720bdfb 100644 --- a/crates/tui/src/tools/subagent/mod.rs +++ b/crates/tui/src/tools/subagent/mod.rs @@ -4222,7 +4222,10 @@ async fn run_subagent( record_agent_progress( runtime, &agent_id, - format!("{}: requesting model response", format_step_counter(steps, max_steps)), + format!( + "{}: requesting model response", + format_step_counter(steps, max_steps) + ), ); while let Ok(input) = input_rx.try_recv() { @@ -4546,18 +4549,21 @@ async fn run_subagent( record_agent_progress( runtime, &agent_id, - format!( - "{}: executing {} tool call(s)", - format_step_counter(steps, max_steps), - tool_uses.len() - ), + format!( + "{}: executing {} tool call(s)", + format_step_counter(steps, max_steps), + tool_uses.len() + ), ); let mut tool_results: Vec = Vec::new(); for (tool_id, tool_name, tool_input) in tool_uses { record_agent_progress( runtime, &agent_id, - format!("{}: running tool '{tool_name}'", format_step_counter(steps, max_steps)), + format!( + "{}: running tool '{tool_name}'", + format_step_counter(steps, max_steps) + ), ); if let Some(mb) = runtime.mailbox.as_ref() { let _ = mb.send(MailboxMessage::ToolCallStarted { @@ -4581,7 +4587,10 @@ async fn run_subagent( record_agent_progress( runtime, &agent_id, - format!("{}: finished tool '{tool_name}'", format_step_counter(steps, max_steps)), + format!( + "{}: finished tool '{tool_name}'", + format_step_counter(steps, max_steps) + ), ); if let Some(mb) = runtime.mailbox.as_ref() { let _ = mb.send(MailboxMessage::ToolCallCompleted {