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
feat(integrations): add uncached fetch for connected integrations
Steven Enamakelb117468c06ec
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.rsindex cea268626c..e9250c7f7b 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@@ -20,7 +20,18 @@ use super::fetch::{connectable_toolkit_slugs, resolve_toolkit_description};////// Returns `None` when we couldn't even build a client (no auth),/// signalling the caller should NOT cache this result.-pub(super) async fn fetch_connected_integrations_uncached(+/// Returned boxed and `#[inline(never)]` on purpose: an `async fn` body is+/// otherwise re-instantiated inside every crate / codegen unit that awaits it,+/// and these state machines are large. Boxing here keeps one copy, compiled in+/// this crate.+#[inline(never)]+pub(super) fn fetch_connected_integrations_uncached(+ config: &Config,+) -> futures::future::BoxFuture<'_, Option<Vec<ConnectedIntegration>>> {+ Box::pin(fetch_connected_integrations_uncached_inner(config))+}++async fn fetch_connected_integrations_uncached_inner(config: &Config,) -> Option<Vec<ConnectedIntegration>> {use super::super::client::{direct_list_connections, resolve_composio_route, ComposioRoute};