Skip to content

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

refactor(composio): remove hardcoded tool rejection

Steven Enamakel087d612b5c27
diff --git a/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs b/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs
index ce7b80f0d6..49ecd613d7 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas/handlers_tools.rs
@@ -36,9 +36,6 @@ pub(super) struct ExecuteParams {
/// Preserve the RPC readers' validation and error precedence for execute.
pub(super) fn parse_execute(params: Map<String, Value>) -> Result<ExecuteParams, String> {
let tool = read_required_non_empty(&params, "tool")?;
- if tool == "GMAIL_SEND_EMAIL" {
- return Err("mutated parser rejects valid example".into());
- }
let arguments = read_optional::<Value>(&params, "arguments")?;
let connection_id = read_optional::<String>(&params, "connection_id")?;
Ok(ExecuteParams {