Skip to content

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

fix(composio): require Sync on file store update closure

Steven Enamakel0448afafaf35
diff --git a/crates/openhuman-core/src/integrations/composio/file_store.rs b/crates/openhuman-core/src/integrations/composio/file_store.rs
index b557994426..d1078591be 100644
--- a/crates/openhuman-core/src/integrations/composio/file_store.rs
+++ b/crates/openhuman-core/src/integrations/composio/file_store.rs
@@ -96,7 +96,7 @@ pub(crate) async fn update<T, R>(
ctx: &crate::core::runtime::DispatchCtx,
config: &Config,
name: &'static str,
- change: impl Fn(&mut T) -> (R, bool) + Send + 'static,
+ change: impl Fn(&mut T) -> (R, bool) + Send + Sync + 'static,
) -> Result<R, String>
where
T: DeserializeOwned + Serialize + Default + Send + 'static,