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
refactor(composio): extract connected integrations cache
Steven Enamakelc4df2175d505
diff --git a/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs b/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rsindex 2cc155f9ee..e368b43675 100644--- a/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs+++ b/crates/openhuman-core/src/integrations/composio/connected_integrations/cache.rs@@ -131,8 +131,13 @@ static COMPOSIO_CACHE_TEST_LOCK: tokio::sync::Mutex<()> = tokio::sync::Mutex::co/// credentials. SaaS work without a profile cannot read or populate the cache.pub(crate) fn checked_cache_key(config: &Config) -> Option<String> {let prefix = current_cache_scope_prefix("cache_key")?;- let backend_url = crate::backend::base_url(&config.api_url)- .map(|url| crate::util::url::normalize_backend_api_base_url(&url))+ // The control-plane origin a host's config enricher resolved (empty when no+ // host resolved one, as with no hosted connection).+ let backend_url = config+ .resolved_endpoints+ .control_plane_url+ .as_deref()+ .map(crate::util::url::normalize_backend_api_base_url).unwrap_or_default();Some(format!("{prefix}{}",