Skip to content

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

chore: files changed crates/openhuman-core/src/core/runtime/context.rs

Steven Enamakela6a3baa54571
diff --git a/crates/openhuman-core/src/core/runtime/context.rs b/crates/openhuman-core/src/core/runtime/context.rs
index b45c55eb87..71c2231997 100644
--- a/crates/openhuman-core/src/core/runtime/context.rs
+++ b/crates/openhuman-core/src/core/runtime/context.rs
@@ -442,7 +442,10 @@ impl CoreContext {
// `[subsystems.memory]`) keeps that override.
let shared_binding = {
let parent_handle = self.workspace_binding.read();
- let parent_handle = parent_handle.as_ref().ok().map(Arc::clone);
+ let parent_handle = parent_handle
+ .as_ref()
+ .ok()
+ .map(|handle| Arc::clone(&**handle));
let parent = parent_handle.as_ref().and_then(|h| h.read().ok());
match parent {
Some(parent)