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 identity fields gracefully

Steven Enamakel33b886c54c38
diff --git a/src/openhuman/integrations/composio/identity.rs b/src/openhuman/integrations/composio/identity.rs
index f400005bed..59383d78d8 100644
--- a/src/openhuman/integrations/composio/identity.rs
+++ b/src/openhuman/integrations/composio/identity.rs
@@ -6,11 +6,14 @@
//! compare the connected account against another subsystem (e.g. local
//! `git config user.name`).
//!
-//! The lookup goes through the per-toolkit
-//! [`ComposioProvider::fetch_user_profile`](crate::openhuman::integrations::composio::providers::ComposioProvider::fetch_user_profile)
-//! call, which already knows the right Composio action slug for each
-//! toolkit (`GITHUB_GET_THE_AUTHENTICATED_USER`,
-//! `GMAIL_GET_PROFILE`, …) and the JSON field that holds the username.
+//! The lookup goes through the `tinyconnectors` module's `GetUserProfile`
+//! member, which already knows the right Composio action slug for each
+//! toolkit (`GITHUB_GET_THE_AUTHENTICATED_USER`, `GMAIL_GET_PROFILE`, …) and
+//! the JSON field that holds the username. This used to go through the
+//! engine's per-toolkit `ComposioProvider::fetch_user_profile`, deleted by
+//! tinymemory v1.13.4 along with the rest of the in-process pipeline —
+//! `GetUserProfile` is the module-hosted equivalent, already used by
+//! `integrations::composio::ops::providers_ops::composio_get_user_profile`.
//!
//! ## Failure surface
//!