Skip to content

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

fix(composio): correct test assertion for operation result

Steven Enamakelcbf4fc6c2ddd
diff --git a/src/openhuman/integrations/composio/ops_tests_part_02_tests.rs b/src/openhuman/integrations/composio/ops_tests_part_02_tests.rs
index f9143950c2..6ae282d234 100644
--- a/src/openhuman/integrations/composio/ops_tests_part_02_tests.rs
+++ b/src/openhuman/integrations/composio/ops_tests_part_02_tests.rs
@@ -245,7 +245,7 @@ async fn notion_cleanup_targets_include_synced_page_sources() {
.kv_set(
Some(tinycortex::memory::sync::state::STATE_NAMESPACE),
"notion:conn-1",
- &state,
+ &serde_json::to_value(&state).expect("sync state should serialize"),
)
.await
.expect("sync state should save");