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 optional fields in schema deserialization

Steven Enamakeld57349c0a321
diff --git a/crates/openhuman-core/src/integrations/composio/schemas.rs b/crates/openhuman-core/src/integrations/composio/schemas.rs
index e6bca3d3bd..0dc2cd91a4 100644
--- a/crates/openhuman-core/src/integrations/composio/schemas.rs
+++ b/crates/openhuman-core/src/integrations/composio/schemas.rs
@@ -31,6 +31,9 @@ mod tests;
pub use registry::{all_controller_schemas, all_registered_controllers};
+#[cfg(test)]
+use definitions::schemas;
+
// Brought into this module's own namespace (private `use`, not `pub use`)
// so `schemas_tests.rs` — declared as a direct child module of `schemas`
// above — can still reach these via a plain `use super::*;`, exactly as