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
fix(host): remove duplicate progress channel wiring
Steven Enamakelf16831c9459a
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/bundle.rs b/crates/openhuman-core/src/agent/tinyagents/host/bundle.rsindex b0e6a01e85..46574e2a6c 100644--- a/crates/openhuman-core/src/agent/tinyagents/host/bundle.rs+++ b/crates/openhuman-core/src/agent/tinyagents/host/bundle.rs@@ -154,11 +154,21 @@ impl OpenHumanHostBundleFactory {let models = Arc::new(OpenHumanModelResolver::new(Arc::clone(&inputs.config)));let memory = Arc::new(OpenHumanAgentMemory::new(Arc::clone(&inputs.memory)));let budget = Arc::new(OpenHumanBudgetGate::new(Arc::clone(&inputs.config)));- let progress_tx = turn- .progress- .clone()- .unwrap_or_else(|| tokio::sync::mpsc::channel(1).0);- let progress = Arc::new(OpenHumanProgressSink::new(progress_tx));+ // The turn's live `AgentProgress` channel is fed by exactly one+ // producer: `OpenhumanEventBridge`, which `turn_runner` subscribes to+ // the run's `EventSink` on every turn and which carries what the UI+ // needs (iteration attribution, thinking, tool-argument fragments,+ // sub-agent scoping, cost). The harness also mirrors the loop onto the+ // coarse host `ProgressSink` (`emit_host_progress`: `Token` per model+ // delta, `ToolCall`/`ToolCallFinished`, `Finished`), so wiring this+ // sink to the same channel delivered every delta and every tool row+ // twice and interleaved the copies in the interim bubble. The sink+ // stays registered as the host capability with an unconsumed channel;+ // nothing OpenHuman renders depends on it.+ let _ = &turn.progress;+ let progress = Arc::new(OpenHumanProgressSink::new(+ tokio::sync::mpsc::channel(1).0,+ ));let learning = Arc::new(OpenHumanLearningSink::new(inputs.post_turn_hooks));let tool_outcomes = Arc::new(OpenHumanToolOutcomeClassifier::new());let experience = Arc::new(OpenHumanExperienceStore::new(inputs.memory));