Skip to content

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

test(composio): include integrations in direct connection panic

Steven Enamakel9ad49506e390
diff --git a/crates/openhuman-core/src/integrations/composio/client_tests.rs b/crates/openhuman-core/src/integrations/composio/client_tests.rs
index 0115078046..64d714f9fc 100644
--- a/crates/openhuman-core/src/integrations/composio/client_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/client_tests.rs
@@ -433,7 +433,7 @@ async fn direct_connected_integrations_fetches_schemas_without_backend_composio_
let gmail = integrations
.iter()
.find(|integration| integration.toolkit == "gmail")
- .expect("direct connection should be represented");
+ .unwrap_or_else(|| panic!("direct connection should be represented: {integrations:?}"));
assert_eq!(gmail.tools.len(), 1);
assert_eq!(gmail.tools[0].name, "GMAIL_SEND_EMAIL");
assert_eq!(backend_tool_requests.load(Ordering::SeqCst), 0);