The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(orchestration): reformat repeated cancel dispatch call
Steven Enamakeld8906a04e519
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rsindex 97db1712cc..6f47b2d6c0 100644--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_continuation_tests.rs@@ -426,9 +426,15 @@ async fn cancelling_a_paused_driver_settles_once_with_its_reason() {let mut repeated_params = serde_json::Map::new();repeated_params.insert("taskId".into(), json!(task_id));- let repeated = (controller.handler)(DispatchCtx::new(Arc::clone(- live.data.dispatch_ctx().resolved().expect("RPC uses the spawned parent's core"),- )), repeated_params)+ let repeated = (controller.handler)(+ DispatchCtx::new(Arc::clone(+ live.data+ .dispatch_ctx()+ .resolved()+ .expect("RPC uses the spawned parent's core"),+ )),+ repeated_params,+ ).await.expect("repeated cancel RPC result");assert_eq!(response_field(&repeated, "cancelled"), Some(json!(false)));