Skip to content

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

fix(subagent_host): await continuation request construction

Steven Enamakel8243f909abe2
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index d3f058d4d6..25580ff92b 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -372,7 +372,15 @@ impl OpenHumanSubagentHost {
})
.map_err(map_lifecycle_error)?;
let request = if continuation {
- SubagentRequest::continue_with_key(task_key.clone(), child, request, input, None)
+ SubagentRequest::continue_with_key(
+ task_key.clone(),
+ child,
+ request,
+ input,
+ None,
+ None,
+ )
+ .await
} else {
// `direct_subagent_child` derives the same key for the host's
// durable lookup; this constructor independently proves that the