Skip to content

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

fix(integrations): handle missing tool catalog entries gracefully

Steven Enamakel0a704595286a
diff --git a/src/openhuman/integrations/composio/catalog_part_01.rs b/src/openhuman/integrations/composio/catalog_part_01.rs
index 598beff2be..341fd2e4b3 100644
--- a/src/openhuman/integrations/composio/catalog_part_01.rs
+++ b/src/openhuman/integrations/composio/catalog_part_01.rs
@@ -554,14 +554,11 @@ fn resolve_composio_action_scope(
slug: &str,
) -> Option<crate::openhuman::integrations::composio::providers::ToolScope> {
use crate::openhuman::integrations::composio::providers::{
- catalog_for_toolkit, classify_unknown, find_curated, get_provider, toolkit_from_slug,
+ catalog_for_toolkit, classify_unknown, find_curated, toolkit_from_slug,
};
let toolkit = toolkit_from_slug(slug)?;
- match get_provider(&toolkit)
- .and_then(|p| p.curated_tools())
- .or_else(|| catalog_for_toolkit(&toolkit))
- {
+ match catalog_for_toolkit(&toolkit) {
// A static catalog exists for this toolkit — only a genuinely
// curated entry's scope is trustworthy; an uncurated slug fails
// closed rather than being guessed via the verb heuristic.