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 name in direct tool execution

Steven Enamakelcbbfab31b6e9
diff --git a/crates/openhuman-core/src/integrations/composio/tools/direct.rs b/crates/openhuman-core/src/integrations/composio/tools/direct.rs
index 0d1366ccf5..604153d0c6 100644
--- a/crates/openhuman-core/src/integrations/composio/tools/direct.rs
+++ b/crates/openhuman-core/src/integrations/composio/tools/direct.rs
@@ -36,6 +36,6 @@ use discovery::{
ComposioV3Tool,
};
#[cfg(test)]
-use http_errors::{extract_api_error_message, extract_redirect_url};
+use http_errors::{extract_api_error_message, extract_redirect_url, sanitize_error_message};
#[cfg(test)]
use types::{ensure_https, is_loopback_http_url, COMPOSIO_API_BASE_V3};