Skip to content

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

test(orchestration): use ambient dispatch ctx in tenant tests

Steven Enamakel61f350bbdc40
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
index b5e9d4f4a5..8cbf26c3bd 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tenant_tests.rs
@@ -129,7 +129,7 @@ async fn control(function: &str, task: &str) -> serde_json::Value {
if function == "steer" {
params.insert("message".into(), serde_json::json!("ownership regression"));
}
- (controller.handler)(DispatchCtx::process_default(), params)
+ (controller.handler)(DispatchCtx::ambient(), params)
.await
.expect("control response")
}