Skip to content

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

test(config): correct router_enabled assertion in patch test

Steven Enamakel41dd7922911c
diff --git a/crates/openhuman-core/src/inference/tokenjuice/config_patch_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/config_patch_tests.rs
index b921235c61..7ab739a7f6 100644
--- a/crates/openhuman-core/src/inference/tokenjuice/config_patch_tests.rs
+++ b/crates/openhuman-core/src/inference/tokenjuice/config_patch_tests.rs
@@ -9,7 +9,7 @@ fn applies_only_present_fields() {
assert_eq!(cfg.ccr_min_tokens, 1200);
assert!(!cfg.search_enabled);
// Untouched fields keep defaults.
- assert!(cfg.router_enabled);
+ assert!(!cfg.router_enabled);
assert!(cfg.code_enabled);
}