Skip to content

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

test(cost): add hint prefix to route normalization tests

Steven Enamakelf7e346076434
diff --git a/crates/openhuman-core/src/platform/cost/route_tests.rs b/crates/openhuman-core/src/platform/cost/route_tests.rs
index 3d96193f07..1fe5af353d 100644
--- a/crates/openhuman-core/src/platform/cost/route_tests.rs
+++ b/crates/openhuman-core/src/platform/cost/route_tests.rs
@@ -84,6 +84,10 @@ fn normalizes_case_whitespace_and_prefixes() {
crate::agent::session_host::test_support::install_model_fixture();
assert_eq!(route_for_model(" FIXTURE-REASONING "), CostRoute::Managed);
assert_eq!(route_for_model("fixture-reasoning"), CostRoute::Managed);
+ assert_eq!(
+ route_for_model("hint:fixture-reasoning"),
+ CostRoute::Managed
+ );
assert_eq!(
route_for_model("openhuman/fixture-reasoning"),
CostRoute::Managed