Skip to content

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

fix(agent): handle missing subagent spawn result gracefully

Steven Enamakel1810a991a9e6
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs
index c229f2082d..3550487d61 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_execute.rs
@@ -373,6 +373,7 @@ impl SpawnAsyncSubagentTool {
prompt: prompt.clone(),
worker_thread_id: worker_thread_id.clone(),
display_name: Some(definition.display_name().to_string()),
+ parent_call_id: None,
})
.await;
}