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 response body in execute action

Steven Enamakel45d5c793a819
diff --git a/crates/openhuman-core/src/integrations/composio/client/execute.rs b/crates/openhuman-core/src/integrations/composio/client/execute.rs
index aee3c20522..5f693408a3 100644
--- a/crates/openhuman-core/src/integrations/composio/client/execute.rs
+++ b/crates/openhuman-core/src/integrations/composio/client/execute.rs
@@ -118,7 +118,9 @@ impl ComposioClient {
.await?;
if !resp.successful {
if let Some(ref err) = resp.error {
- resp.error = Some(super::super::error_mapping::format_provider_error(tool, err));
+ resp.error = Some(super::super::error_mapping::format_provider_error(
+ tool, err,
+ ));
}
}
Ok(resp)