Skip to content

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

test(inference): add assertion for deepseek route in native tests

Steven Enamakel09a89a96e925
diff --git a/crates/openhuman-core/src/inference/turn_models_native_tests.rs b/crates/openhuman-core/src/inference/turn_models_native_tests.rs
index 17e5fee0e9..0a0c40d0e4 100644
--- a/crates/openhuman-core/src/inference/turn_models_native_tests.rs
+++ b/crates/openhuman-core/src/inference/turn_models_native_tests.rs
@@ -227,6 +227,7 @@ async fn native_turn_preserves_deepseek_route_metadata_after_cloud_resolution()
.primary_route();
assert_eq!(route.provider, "deepseek");
assert_eq!(route.model, "deepseek-chat");
+ assert_eq!(route.route, "hint:chat");
let profile = models.primary.profile().expect("cloud model profile");
assert_eq!(profile.provider.as_deref(), Some("deepseek"));
assert_eq!(profile.model.as_deref(), Some("deepseek-chat"));