Skip to content

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

fix(spawn_parallel): pass failure cause to stop summary

Steven Enamakel105932cadfa8
diff --git a/crates/openhuman-core/src/agent/orchestration/spawn_parallel/collect.rs b/crates/openhuman-core/src/agent/orchestration/spawn_parallel/collect.rs
index d4600999f0..2e18f05e9a 100644
--- a/crates/openhuman-core/src/agent/orchestration/spawn_parallel/collect.rs
+++ b/crates/openhuman-core/src/agent/orchestration/spawn_parallel/collect.rs
@@ -117,7 +117,7 @@ pub(crate) async fn project_spawn_parallel_result(
// An incomplete worker was stopped early (breaker /
// cap); its span closes at WARNING with that stop.
stop: matches!(result.status, ParallelAgentStatus::Incomplete).then(|| {
- crate::agent::session_host::stop_summary::stop_from_incomplete(
+ crate::agent::session_host::stop_summary::stop_from_incomplete_with_cause(
error.as_deref().unwrap_or(""),
result.failure_cause.clone(),
)