Skip to content

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

test(composio): store backend api key in direct mode test

Steven Enamakel51ea39c9d086
diff --git a/crates/openhuman-core/src/integrations/composio/client_tests.rs b/crates/openhuman-core/src/integrations/composio/client_tests.rs
index f89d781dec..fef4bbcf2e 100644
--- a/crates/openhuman-core/src/integrations/composio/client_tests.rs
+++ b/crates/openhuman-core/src/integrations/composio/client_tests.rs
@@ -420,6 +420,8 @@ async fn direct_connected_integrations_fetches_schemas_without_backend_composio_
true,
)
.expect("store offline local session token");
+ crate::security::credentials::api_key::store_api_key(&config, "th_test_backend_key")
+ .expect("store backend API key");
config.composio.mode = "direct".into();
config.composio.pin_host_credential(
crate::config::ComposioHostCredential::direct("ck_test_spawn_direct")