Skip to content

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

fix(agent): use parent epoch when spawning subagent host

Steven Enamakeldab87e13ca42
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_host_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_host_impl.rs
index 3e938d339d..54afd0d725 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_host_impl.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_host_impl.rs
@@ -329,7 +329,7 @@ impl SpawnAsyncSubagentTool {
parent_thread_id.clone(),
),
),
- parent_epoch: None,
+ parent_epoch: completion_target.parent_epoch(),
},
reusable.as_ref(),
) {