The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(composio): add sync operation for composio integration
Steven Enamakel711687b91c09
diff --git a/crates/openhuman-core/src/integrations/composio/ops/sync.rs b/crates/openhuman-core/src/integrations/composio/ops/sync.rsindex 0e9ea4f8e6..5d7c3b23e1 100644--- a/crates/openhuman-core/src/integrations/composio/ops/sync.rs+++ b/crates/openhuman-core/src/integrations/composio/ops/sync.rs@@ -45,9 +45,6 @@ pub struct SyncPassOutcome {/// Whether the module has more to read — the caller decides whether to/// call again.pub more_pending: bool,- /// What the module said about a pass that stopped short without failing- /// (today's request budget being spent, typically).- pub message: Option<String>,/// Why the connector stopped this pass on an error (openhuman#6255). The/// counts above still stand; the caller ends or retries the run.pub failure: Option<String>,@@ -237,7 +234,6 @@ pub async fn run_sync_pass(// A failed pass keeps what it read but is not "more pending" (#6255).let failure = pass_failure(&response, toolkit, connection_id);let more_pending = failure.is_none() && !response.batch.complete;- let message = response.message.clone().filter(|_| failure.is_none());let records_read = response.batch.records.len();let written = if records_read == 0 {@@ -254,8 +250,10 @@ pub async fn run_sync_pass(};if more_pending {+ // The module's note says why (today's request budget, typically).tracing::info!(toolkit = %toolkit,+ note = response.message.as_deref().unwrap_or(""),"[composio] sync pass stopped short of the end; the next run resumes");}@@ -272,7 +270,6 @@ pub async fn run_sync_pass(records_read,written,more_pending,- message,failure,})}