Skip to content

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

style: format background delivery

Steven Enamakeldaa8c64f4a4a
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 1bce0b3d64..396c85ce40 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -228,9 +228,7 @@ async fn run_system_turn_on_thread(thread_id: String, prompt: String) -> Result<
// provider response is replaced with the empty-turn fallback.
let (progress_tx, mut progress_rx) = tokio::sync::mpsc::channel(128);
host.set_on_progress(Some(progress_tx));
- let progress_drain = tokio::spawn(async move {
- while progress_rx.recv().await.is_some() {}
- });
+ let progress_drain = tokio::spawn(async move { while progress_rx.recv().await.is_some() {} });
let result = crate::agent::turn_origin::with_origin(
crate::agent::turn_origin::AgentTurnOrigin::Cli,
host.run_single(&prompt),