Skip to content

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

fix(subagent_host): use workspace field directly in detached parent

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