Skip to content

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

fix(subagent-host): populate failure_cause for incomplete runs

Steven Enamakelf5639b2b9db8
diff --git a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
index 36f109e76d..eb3d6ed47b 100644
--- a/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/lifecycle.rs
@@ -998,6 +998,7 @@ fn outcome_to_host(
},
SubagentOutcomeKind::Incomplete(incomplete) => SubagentRunStatus::Incomplete {
reason: incomplete.reason,
+ failure_cause: None,
},
SubagentOutcomeKind::Cancelled => SubagentRunStatus::Cancelled,
};