Skip to content

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

fix(subagent_host): avoid cloning parent workspace option

Steven Enamakel8a7314c43198
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index d078e4f73b..51425c9a8a 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -49,7 +49,7 @@ pub(crate) fn detached_subagent_parent(
let cancellation = data.cancellation.clone();
let workspace = parent
.workspace
- .cloned()
+ .clone()
.or_else(|| {
data.parent
.as_ref()