Skip to content

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

test(orchestration): add failure_cause field to dispatch test fixtures

Steven Enamakeld3641fb56d06
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs
index 1489ad0459..2594f91231 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/dispatch_tests.rs
@@ -403,6 +403,7 @@ fn an_unpersisted_synchronous_pause_is_a_failure_not_an_awaiting_user_envelope()
agent_id: "crypto_agent".to_string(),
output: String::new(),
iterations: 1,
+ failure_cause: None,
elapsed: Duration::from_secs(0),
mode: SubagentMode::Typed,
status: SubagentRunStatus::AwaitingUser {
@@ -458,6 +459,7 @@ fn the_question_in_an_unpersisted_pause_failure_is_encoded_not_interpolated() {
agent_id: "crypto_agent".to_string(),
output: String::new(),
iterations: 1,
+ failure_cause: None,
elapsed: Duration::from_secs(0),
mode: SubagentMode::Typed,
status: SubagentRunStatus::AwaitingUser {