Skip to content

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

fix(composio): thread approval chat context into execute tool

Steven Enamakelcd04332ff628
diff --git a/crates/openhuman-core/src/integrations/composio/tools/execute.rs b/crates/openhuman-core/src/integrations/composio/tools/execute.rs
index 5f42c5888c..8259a27fc8 100644
--- a/crates/openhuman-core/src/integrations/composio/tools/execute.rs
+++ b/crates/openhuman-core/src/integrations/composio/tools/execute.rs
@@ -133,6 +133,7 @@ impl ComposioExecuteTool {
args: Value,
sandbox_mode: Option<SandboxMode>,
task_recency_window: Option<std::time::Duration>,
+ chat: Option<&crate::security::approval::ApprovalChatContext>,
) -> (Box<Config>, anyhow::Result<ToolResult>) {
let tool = args
.get("tool")