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(memory): clone dispatch instead of moving it into blocking task
Steven Enamakel3a1b670477d4
diff --git a/crates/openhuman-core/src/memory/tools.rs b/crates/openhuman-core/src/memory/tools.rsindex 71cfb6e569..32ffc36acb 100644--- a/crates/openhuman-core/src/memory/tools.rs+++ b/crates/openhuman-core/src/memory/tools.rs@@ -195,9 +195,8 @@ impl MemoryTool {};let outcome = if is_write_action(&args) {let runtime = tokio::runtime::Handle::current();- match tokio::task::spawn_blocking(move || {- runtime.block_on(dispatch.enter(call))- })+ let write_dispatch = dispatch.clone();+ match tokio::task::spawn_blocking(move || runtime.block_on(write_dispatch.enter(call))).await{Ok(result) => result,