Skip to content

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

fix(memory): pass owner by reference to drain_locked

Steven Enamakel01d1ffe8cf85
diff --git a/crates/openhuman-core/src/memory/tool_writes.rs b/crates/openhuman-core/src/memory/tool_writes.rs
index 66e002e3d7..d6a45fe828 100644
--- a/crates/openhuman-core/src/memory/tool_writes.rs
+++ b/crates/openhuman-core/src/memory/tool_writes.rs
@@ -547,7 +547,7 @@ fn schedule_partition(ctx: &crate::core::runtime::DispatchCtx, config: Arc<Confi
let _guard = guard;
let _owner_guard = owner_guard;
let _state = state;
- drain_locked(&config, &file, owner, generation).await;
+ drain_locked(&config, &file, &owner, generation).await;
});
}