Skip to content

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

fix(agent): handle spawn_subagent tool when subagent is not found

Steven Enamakel492e284dfea4
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs
index 5d96e48a5b..9833367ea7 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_subagent_tool_impl.rs
@@ -457,6 +457,7 @@ impl SpawnSubagentTool {
prompt: prompt.clone(),
worker_thread_id: worker_thread_id.clone(),
display_name: Some(definition.display_name().to_string()),
+ parent_call_id: None,
})
.await;
}