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 visibility field in tool response

Steven Enamakelf94a0e222fe1
diff --git a/crates/openhuman-core/src/integrations/composio/tools/visibility.rs b/crates/openhuman-core/src/integrations/composio/tools/visibility.rs
index 5e7a1b3d8c..8b192890b8 100644
--- a/crates/openhuman-core/src/integrations/composio/tools/visibility.rs
+++ b/crates/openhuman-core/src/integrations/composio/tools/visibility.rs
@@ -134,7 +134,7 @@ pub(super) fn normalized_scope_toolkits(
out.into_iter().collect()
}
-fn uncatalogued_toolkits(toolkits: &[String]) -> Vec<String> {
+pub(super) fn uncatalogued_toolkits(toolkits: &[String]) -> Vec<String> {
toolkits
.iter()
.filter(|toolkit| catalog_for_toolkit(toolkit).is_none())