Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(memory): await tool call directly in write dispatch

Steven Enamakelb7495be89d64
diff --git a/crates/openhuman-core/src/memory/tools.rs b/crates/openhuman-core/src/memory/tools.rs
index 390d8d2c35..b8dac7d55f 100644
--- a/crates/openhuman-core/src/memory/tools.rs
+++ b/crates/openhuman-core/src/memory/tools.rs
@@ -195,7 +195,7 @@ impl MemoryTool {
};
let outcome = if is_write_action(&args) {
let write_dispatch = dispatch.clone();
- match write_dispatch.spawn(async move { call.await }).await {
+ match write_dispatch.spawn(call).await {
Ok(result) => result,
Err(_) => {
return ToolResult::error(render_error(