Skip to content

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

fix(ops): pass config to load_user_scope_pref

Steven Enamakel988170709078
diff --git a/src/openhuman/flows/tinyflows/caps/ops.rs b/src/openhuman/flows/tinyflows/caps/ops.rs
index af027a8504..734bbcfa1a 100644
--- a/src/openhuman/flows/tinyflows/caps/ops.rs
+++ b/src/openhuman/flows/tinyflows/caps/ops.rs
@@ -172,7 +172,7 @@ async fn flow_tool_allowed(
tracing::debug!(target: "flows", %slug, %toolkit, "[flows] tool_call curation: reject — slug is not a curated action of this toolkit");
return false;
};
- let pref = load_user_scope_pref(&toolkit).await;
+ let pref = load_user_scope_pref(config, &toolkit).await;
let allowed = pref.allows(curated.scope);
tracing::debug!(target: "flows", %slug, %toolkit, allowed, "[flows] tool_call curation: static curated catalog decision");
return allowed;