Skip to content

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

fix(agent): handle empty parallel graph gracefully

Steven Enamakelb65a0de6ed47
diff --git a/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/run.rs b/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/run.rs
index 5a161b2178..27bcf2d8f0 100644
--- a/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/run.rs
+++ b/crates/openhuman-core/src/agent/orchestration/spawn_parallel_graph/run.rs
@@ -29,6 +29,7 @@ pub(crate) async fn run_spawn_parallel_tasks_with_cancellation_and_workspace(
live_parent: &tinyagents_harness::context::RunContext<
crate::agent::tinyagents::host::OpenHumanRunContext,
>,
+ parent_call_id: Option<String>,
) -> Result<SpawnParallelGraphOutcome, String> {
let parent = match run_context.parent.clone() {
Some(parent) => parent,