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
fix(composio): handle missing connection ID in tool execution
Steven Enamakel58b9ddd65cfe
diff --git a/crates/openhuman-core/src/channels/controllers/ops_tests.rs b/crates/openhuman-core/src/channels/controllers/ops_tests.rsindex bae85a502e..6bb289365e 100644--- a/crates/openhuman-core/src/channels/controllers/ops_tests.rs+++ b/crates/openhuman-core/src/channels/controllers/ops_tests.rs@@ -87,7 +87,7 @@ fn yuanbao_test_config(mock_uri: &str) -> (tempfile::TempDir, Config) {(tmp, config)}-#[path = "ops_tests_part_01_tests.rs"]-mod part_01_tests;-#[path = "ops_tests_part_02_tests.rs"]-mod part_02_tests;+#[path = "ops_connect_status_tests.rs"]+mod connect_status_tests;+#[path = "ops_yuanbao_email_tests.rs"]+mod yuanbao_email_tests;diff --git a/crates/openhuman-core/src/integrations/composio/tools/direct/connections.rs b/crates/openhuman-core/src/integrations/composio/tools/direct/connections.rsindex 33112b0bc5..6991c357e0 100644--- a/crates/openhuman-core/src/integrations/composio/tools/direct/connections.rs+++ b/crates/openhuman-core/src/integrations/composio/tools/direct/connections.rs@@ -211,16 +211,16 @@ struct ComposioAuthConfigsResponse {}#[derive(Debug, Clone, Deserialize)]-struct ComposioAuthConfig {- id: String,+pub(super) struct ComposioAuthConfig {+ pub(super) id: String,#[serde(default)]- status: Option<String>,+ pub(super) status: Option<String>,#[serde(default)]- enabled: Option<bool>,+ pub(super) enabled: Option<bool>,}impl ComposioAuthConfig {- fn is_enabled(&self) -> bool {+ pub(super) fn is_enabled(&self) -> bool {self.enabled.unwrap_or(false)|| self.status