Skip to content

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

test: pass host dispatch ctx to composio authorize calls

Steven Enamakelc89d450a6421
diff --git a/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs b/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs
index eb8d6660a1..8d3b70adc4 100644
--- a/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tools_composio_large_round25_raw_coverage_e2e.rs
@@ -166,6 +166,7 @@ async fn round25_direct_mode_ops_use_loopback_factory_for_tools_connections_and_
assert_eq!(markdown.output(), "{\"tools\":[]}");
let authorize = composio_authorize(
+ &openhuman_core::core::runtime::DispatchCtx::host_default(),
&harness.config,
" gmail ",
Some(json!({ "ignored_in_direct": true })),
diff --git a/tests/raw_coverage/tools_composio_network_leftovers_raw_coverage_e2e.rs b/tests/raw_coverage/tools_composio_network_leftovers_raw_coverage_e2e.rs
index 08a9b3177c..70fff3443c 100644
--- a/tests/raw_coverage/tools_composio_network_leftovers_raw_coverage_e2e.rs
+++ b/tests/raw_coverage/tools_composio_network_leftovers_raw_coverage_e2e.rs
@@ -230,6 +230,7 @@ async fn round20_composio_ops_cover_authorize_scopes() {
store_session_token(&harness.config);
let legacy_extra = composio_authorize(
+ &openhuman_core::core::runtime::DispatchCtx::host_default(),
&harness.config,
"gmail",
Some(json!({ "oauth_scopes": [123] })),
@@ -240,6 +241,7 @@ async fn round20_composio_ops_cover_authorize_scopes() {
assert_eq!(legacy_extra.connection_id, "conn-authorize");
let authorized = composio_authorize(
+ &openhuman_core::core::runtime::DispatchCtx::host_default(),
&harness.config,
" gmail ",
Some(json!({ "waba_id": "waba-round20" })),