Skip to content

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

refactor(subagent_host): use continue_with_task_key for continuations

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