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(example): simplify memory reconcile exit condition
Steven Enamakel68507fd9b30c
diff --git a/examples/run_memory_reconcile.rs b/examples/run_memory_reconcile.rsindex 857eb4d6d8..2fa33e0116 100644--- a/examples/run_memory_reconcile.rs+++ b/examples/run_memory_reconcile.rs@@ -46,12 +46,11 @@ async fn main() -> anyhow::Result<()> {}).unwrap_or(0);eprintln!("t+{}s pending={pending}", (i + 1) * 15);- if (pending == 0 || pending == last)- && pending == 0 {- break;- }- // Two identical non-zero readings in a row: still draining or- // stalled — keep waiting either way, the cap bounds us.+ if pending == 0 {+ break;+ }+ // Non-zero readings (identical or not): still draining or stalled —+ // keep waiting either way, the cap bounds us.last = pending;}Ok(())