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 tool definitions gracefully

Steven Enamakelde9df174fa2c
diff --git a/src/openhuman/integrations/composio/tools_part_03.rs b/src/openhuman/integrations/composio/tools_part_03.rs
index 42342c3fd6..3f17236ac2 100644
--- a/src/openhuman/integrations/composio/tools_part_03.rs
+++ b/src/openhuman/integrations/composio/tools_part_03.rs
@@ -92,6 +92,7 @@ impl Tool for ComposioExecuteTool {
// tests) pass through unchanged.
if matches!(current_sandbox_mode(), Some(SandboxMode::ReadOnly)) {
let scope = resolve_action_scope(&tool).await;
+ let _ = &scope;
if matches!(scope, ToolScope::Write | ToolScope::Admin) {
tracing::info!(
tool = %tool,