Skip to content

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

fix(composio): replace deprecated scope loader with user preference function

Steven Enamakel53683f70bd2d
diff --git a/src/openhuman/integrations/composio/connected_integrations_part_02.rs b/src/openhuman/integrations/composio/connected_integrations_part_02.rs
index 9eca6f4e86..17cc637adc 100644
--- a/src/openhuman/integrations/composio/connected_integrations_part_02.rs
+++ b/src/openhuman/integrations/composio/connected_integrations_part_02.rs
@@ -353,7 +353,7 @@ async fn fetch_connected_integrations_uncached(
// know the gated action exists at all and will tell the user
// "I don't support that" — technically correct about its
// callable surface, but misleading about the toolkit.
- let pref = super::providers::load_user_scope_or_default(slug).await;
+ let pref = super::ops::load_user_scope_pref(slug).await;
let mut visible: Vec<ConnectedIntegrationTool> = Vec::new();
let mut gated: Vec<GatedIntegrationTool> = Vec::new();
for t in tools_by_toolkit
@@ -523,7 +523,7 @@ pub async fn fetch_toolkit_actions(
let action_prefix = format!("{}_", toolkit_slug.to_uppercase());
// Apply curated whitelist + user scope so spawn-time tool
// discovery agrees with the bulk path and the meta-tool layer.
- let pref = super::providers::load_user_scope_or_default(toolkit_slug).await;
+ let pref = super::ops::load_user_scope_pref(toolkit_slug).await;
let actions: Vec<ConnectedIntegrationTool> = resp
.tools
.into_iter()