Skip to content

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

style: format composio integration code

Steven Enamakela66f7ae1cf60
diff --git a/crates/openhuman-core/src/integrations/composio/client_tests.rs b/crates/openhuman-core/src/integrations/composio/client_tests.rs
index 509d34ce8a..4abe5cdbf5 100644
--- a/crates/openhuman-core/src/integrations/composio/client_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/client_tests.rs
@@ -377,7 +377,10 @@ async fn direct_connected_integrations_fetches_schemas_without_backend_composio_
let hits = backend_hits.clone();
async move {
hits.fetch_add(1, Ordering::SeqCst);
- (StatusCode::UNAUTHORIZED, Json(json!({"error":"SESSION_EXPIRED"})))
+ (
+ StatusCode::UNAUTHORIZED,
+ Json(json!({"error":"SESSION_EXPIRED"})),
+ )
}
}),
);
diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs
index 5c21ed25dc..387a8c4f4b 100644
--- a/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs
+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations/fetch_uncached.rs
@@ -250,10 +250,7 @@ async fn fetch_connected_integrations_uncached_inner(
// every Composio request on the user's direct route. Failure is
// non-fatal — lazy resolution can still discover actions later.
let tools = match super::super::client::direct_list_tools(
- config,
- direct,
- &allowlist,
- None,
+ config, direct, &allowlist, None,
)
.await
{