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
refactor(web_chat): add Arc to tokio::sync::Mutex import
Steven Enamakel39556ddeb212
diff --git a/crates/openhuman-core/src/web_chat/turn_host_progress.rs b/crates/openhuman-core/src/web_chat/turn_host_progress.rsindex 5479b4ce5f..233bbfe88d 100644--- a/crates/openhuman-core/src/web_chat/turn_host_progress.rs+++ b/crates/openhuman-core/src/web_chat/turn_host_progress.rs@@ -1,3 +1,4 @@+use std::sync::Arc;use std::time::Duration;use super::super::progress::{ProgressProjection, INFERENCE_HEARTBEAT_SECS};@@ -8,7 +9,7 @@ use crate::agent::queued_turn::QueuedPayload;use crate::core::runtime::DispatchCtx;use tinyagents_harness::progress::AgentProgress;use tinyagents_harness::turn_runner::TurnRequest;-use tokio::sync::{mpsc, watch};+use tokio::sync::{mpsc, watch, Mutex as AsyncMutex};/// Aborts a task when dropped.pub(super) struct AbortOnDrop(pub(super) tokio::task::JoinHandle<()>);