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
fix(composio): pass config to enrich_connections_with_identity and await it
Steven Enamakel7fae50771e99
diff --git a/src/openhuman/integrations/composio/ops/connections.rs b/src/openhuman/integrations/composio/ops/connections.rsindex 0d312c1325..d84276a897 100644--- a/src/openhuman/integrations/composio/ops/connections.rs+++ b/src/openhuman/integrations/composio/ops/connections.rs@@ -270,10 +270,17 @@ pub(super) async fn resolve_toolkit_for_connection(/// "Gmail · [email protected]" instead of a generic "Account N" label.////// This is best-effort — no live API calls are made (one SQLite read per poll).-pub(crate) fn enrich_connections_with_identity(+pub(crate) async fn enrich_connections_with_identity(+ config: &Config,mut resp: ComposioConnectionsResponse,) -> ComposioConnectionsResponse {- let identities = load_connected_identities();+ let identities = load_connected_identities(config).await.unwrap_or_else(|error| {+ tracing::debug!(+ %error,+ "[composio] enrich_connections_with_identity: load_connected_identities failed"+ );+ Vec::new()+ });if identities.is_empty() {tracing::debug!("[composio] enrich_connections_with_identity: no cached identities yet \