Skip to content

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

fix(spawn_subagent): drop delivery thread refusal check

Steven Enamakel5906c0782547
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs
index 4bbc5fb51a..139fbb88bf 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_host_impl.rs
@@ -95,13 +95,6 @@ impl SpawnSubagentTool {
.or(run_context.thread_id.as_deref())
.map(str::to_owned);
- if let Some(refusal) = refuse_missing_delivery_thread(
- parent_thread_id.as_deref(),
- &parent.agent_definition_id,
- &definition.id,
- ) {
- return Ok(refusal);
- }
let store = SubagentSessionStore::new(parent.workspace_dir.clone());
let workspace_descriptor = tool_context
.and_then(|ctx| ctx.workspace().cloned())