Skip to content

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

test(provider): remove unused native test

Steven Enamakeldd434602a804
diff --git a/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs b/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs
index eedc1a4fe6..dadb1bbac5 100644
--- a/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs
+++ b/crates/openhuman-core/src/inference/provider/factory_crate_native_tests.rs
@@ -362,37 +362,6 @@ fn create_chat_model_routes_plain_bearer_cloud_slug_to_crate_native() {
assert!(profile.tool_calling);
}
-#[test]
-fn unmanaged_openhuman_jwt_route_never_builds_a_direct_unauthenticated_model() {
- let _guard = crate::inference::inference_test_guard();
- let mut config = Config::default();
- config.cloud_providers.push(CloudProviderCreds {
- id: "p_managed".to_string(),
- slug: "managed".to_string(),
- label: "Managed".to_string(),
- endpoint: "https://api.example/v1".to_string(),
- auth_style: AuthStyle::OpenhumanJwt,
- ..Default::default()
- });
-
- let error = try_create_cloud_slug_chat_model_from_string_with_native_tools(
- "chat",
- "managed:model",
- &config,
- true,
- &EgressLedger::none(),
- )
- .expect("configured slug")
- .expect_err("unregistered managed credentials must not reach the direct registry");
-
- assert!(
- error
- .to_string()
- .contains("hosted cloud authentication is unavailable"),
- "unexpected error: {error}"
- );
-}
-
#[test]
fn turn_model_route_metadata_uses_post_remap_cloud_model() {
let _guard = crate::inference::inference_test_guard();