Skip to content

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

feat(hosted): install backend transport in signed_in test helper

Steven Enamakel522a42cc900f
diff --git a/crates/openhuman-tinyhumans/src/hosted/test_support.rs b/crates/openhuman-tinyhumans/src/hosted/test_support.rs
index 8842de72b1..6bfdad9260 100644
--- a/crates/openhuman-tinyhumans/src/hosted/test_support.rs
+++ b/crates/openhuman-tinyhumans/src/hosted/test_support.rs
@@ -30,6 +30,12 @@ pub fn store_session(config: &Config, token: &str) {
/// A signed-in config against `api_url` (session token `jwt.test`).
pub fn signed_in(tmp: &TempDir, api_url: &str) -> Config {
+ crate::install(
+ crate::InstallOptions::default()
+ .hosted_controllers(false)
+ .tool_ranker(false),
+ )
+ .expect("install backend transport for hosted tests");
let config = config(tmp, api_url);
store_session(&config, "jwt.test");
config