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
chore: files changed crates/openhuman-core/src/integrations/composio/module_client.rs
Steven Enamakelc3775ff8c01a
diff --git a/crates/openhuman-core/src/integrations/composio/module_client.rs b/crates/openhuman-core/src/integrations/composio/module_client.rsindex 1780c7dec9..24ea567b5e 100644--- a/crates/openhuman-core/src/integrations/composio/module_client.rs+++ b/crates/openhuman-core/src/integrations/composio/module_client.rs@@ -88,6 +88,18 @@ const WITHOUT_MODULES: &str ="composio is unavailable in this build: connectors run in the `tinyconnectors` module, \which needs the `modules` feature";+/// Fill the process snapshot of the module's curated catalogs, once per+/// pinned module version. The synchronous catalog lookups read that snapshot,+/// so it must exist before the first call whose reply they gate. A failure is+/// logged and the call proceeds: the lookups then read every toolkit as+/// uncurated until a later call succeeds.+#[cfg(feature = "modules")]+async fn prime_curated_catalogs(config: &crate::config::Config) {+ if let Err(error) = super::contract::curated::prime(config).await {+ tracing::debug!("[composio][curated] prime failed: {error}");+ }+}+/// Call one member with an argument and decode its reply.////// # Errors@@ -108,6 +120,7 @@ whereRequest: serde::Serialize + Send,Reply: serde::de::DeserializeOwned,{+ prime_curated_catalogs(config).await;crate::modules::connectors::call(config, member, request).await.map_err(|error| normalize_error(member, error))@@ -170,6 +183,7 @@ whereRequest: serde::Serialize + Send,Reply: serde::de::DeserializeOwned,{+ prime_curated_catalogs(config).await;crate::modules::connectors::call_stateless(config, member, request).await}