The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: apply rustfmt formatting to progress modules
Steven Enamakelfcfc2d2d0b51
diff --git a/crates/openhuman-core/src/agent/turn_progress.rs b/crates/openhuman-core/src/agent/turn_progress.rsindex 2fa5af09ac..fcb2c7871e 100644--- a/crates/openhuman-core/src/agent/turn_progress.rs+++ b/crates/openhuman-core/src/agent/turn_progress.rs@@ -22,9 +22,7 @@ type Failure = tinytools::status::ClassifiedFailure;pub(crate) fn turn_event(event: AgentProgress) -> Option<ChannelOutputEvent> {match event {AgentProgress::TextDelta { delta, iteration } => Some(text_delta(delta, iteration)),- AgentProgress::ThinkingDelta { delta, iteration } => {- Some(thinking_delta(delta, iteration))- }+ AgentProgress::ThinkingDelta { delta, iteration } => Some(thinking_delta(delta, iteration)),AgentProgress::ToolCallStarted {call_id,tool_name,@@ -436,4 +434,3 @@ pub(crate) fn sub_delta(out.iteration = Some(iteration);ChannelOutputEvent::Subagent(Box::new(out))}-diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs b/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rsindex a3da48882e..cc719a4d10 100644--- a/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs+++ b/crates/openhuman-core/src/channels/runtime/dispatch/processor/progressive.rs@@ -87,9 +87,7 @@ pub(crate) async fn finish_native_reply(delivered}-pub(super) async fn close_native_reply(- reply: &Option<std::sync::Arc<NativeProgressiveReply>>,-) {+pub(super) async fn close_native_reply(reply: &Option<std::sync::Arc<NativeProgressiveReply>>) {if let Some(reply) = reply {if let Err(error) = reply.close().await {tracing::warn!("[dispatch] native progressive close failed: {error}");diff --git a/crates/openhuman-core/src/web_chat/progress.rs b/crates/openhuman-core/src/web_chat/progress.rsindex 665e868e8e..6890f47163 100644--- a/crates/openhuman-core/src/web_chat/progress.rs+++ b/crates/openhuman-core/src/web_chat/progress.rs@@ -275,9 +275,7 @@ impl ProgressProjection {}self.pending_narration.push_str(&delta);if !self.metadata.hold_text_stream {- self.surface- .output(map::text_delta(delta, iteration))- .await;+ self.surface.output(map::text_delta(delta, iteration)).await;}}AgentProgress::ThinkingDelta { delta, iteration } => {