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 heartbeat interval option to progress helpers
Steven Enamakel40e591a8145f
diff --git a/crates/openhuman-core/src/web_chat/turn_host.rs b/crates/openhuman-core/src/web_chat/turn_host.rsindex d734628e8c..9ab82cde45 100644--- a/crates/openhuman-core/src/web_chat/turn_host.rs+++ b/crates/openhuman-core/src/web_chat/turn_host.rs@@ -44,7 +44,9 @@ use tinyagents_harness::progress::AgentProgress;#[path = "turn_host_progress.rs"]mod progress_helpers;-use progress_helpers::{settle_turn_snapshot, spawn_heartbeat, tap_progress, AbortOnDrop};+use progress_helpers::{+ settle_turn_snapshot, spawn_heartbeat, spawn_heartbeat_with_interval, tap_progress, AbortOnDrop,+};/// How long a finished turn waits for its progress tap to forward every eventdiff --git a/crates/openhuman-core/src/web_chat/turn_host_progress.rs b/crates/openhuman-core/src/web_chat/turn_host_progress.rsindex b72be95e94..c7d16530fd 100644--- a/crates/openhuman-core/src/web_chat/turn_host_progress.rs+++ b/crates/openhuman-core/src/web_chat/turn_host_progress.rs@@ -10,7 +10,7 @@ use crate::agent::queued_turn::QueuedPayload;use tokio::sync::{mpsc, watch};/// Aborts a task when dropped.-pub(super) struct AbortOnDrop(tokio::task::JoinHandle<()>);+pub(super) struct AbortOnDrop(pub(super) tokio::task::JoinHandle<()>);impl Drop for AbortOnDrop {fn drop(&mut self) {