Skip to content

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

fix(composio): handle missing connected integration gracefully

Steven Enamakelfedd3c5f37bd
diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations.rs
index 6c1350d039..8269c46149 100644
--- a/crates/openhuman-core/src/integrations/composio/connected_integrations.rs
+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations.rs
@@ -31,3 +31,7 @@ pub(crate) use fetch::{
// direct child modules of `connected_integrations` above — can still reach
// these via a plain `use super::<name>;`, exactly as when this was one
// un-split file. See each item's `pub(super)` in its owning submodule.
+#[cfg(test)]
+use cache::{cache_key, CachedIntegrations, CACHE_TTL, INTEGRATIONS_CACHE};
+#[cfg(test)]
+use fetch::{connectable_toolkit_slugs, resolve_toolkit_description};