Skip to content

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

test: use current local AI runtime switch in offline fixture

Steven Enamakel0d70a6a63664
diff --git a/tests/raw_coverage/automation_scheduling_e2e.rs b/tests/raw_coverage/automation_scheduling_e2e.rs
index 7eb7199d1c..67b082ee3f 100644
--- a/tests/raw_coverage/automation_scheduling_e2e.rs
+++ b/tests/raw_coverage/automation_scheduling_e2e.rs
@@ -91,7 +91,7 @@ chat_onboarding_completed = true
encrypt = false
[local_ai]
-enabled = false
+runtime_enabled = false
"#;
@@ -100,7 +100,7 @@ enabled = false
fn assert_offline_config() -> openhuman_core::config::Config {
let parsed: openhuman_core::config::Config =
toml::from_str(TEST_CONFIG_TOML).expect("test config must match the Config schema");
- assert!(!parsed.local_ai.enabled);
+ assert!(!parsed.local_ai.runtime_enabled);
assert_eq!(parsed.api_url.as_deref(), Some("http://127.0.0.1:9"));
parsed
}