Skip to content

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

fix(subagent_host): read checkpoint dir from host request options

Steven Enamakel4abe1bc6d572
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 75bbdfcfda..5b38fbec3f 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -320,7 +320,7 @@ async fn invoke_driver_tool_with_request(
.clone()
.unwrap_or_else(|| format!("sub-{}", uuid::Uuid::new_v4()));
let checkpoint_dir =
- absolute_checkpoint_dir(options.checkpoint_dir.clone().unwrap_or_else(|| {
+ absolute_checkpoint_dir(host_request.options.checkpoint_dir.clone().unwrap_or_else(|| {
parent
.data
.parent