Skip to content

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

chore(model): add test module declaration for byok tests

Steven Enamakelbd4a14acd3dd
diff --git a/crates/openhuman-core/src/config/ops/model.rs b/crates/openhuman-core/src/config/ops/model.rs
index 344d7deb7f..df14fd5da4 100644
--- a/crates/openhuman-core/src/config/ops/model.rs
+++ b/crates/openhuman-core/src/config/ops/model.rs
@@ -726,3 +726,7 @@ pub async fn load_and_resolve_api_url() -> Result<RpcOutcome<serde_json::Value>,
Vec::new(),
))
}
+
+#[cfg(test)]
+#[path = "model_byok_tests.rs"]
+mod byok_tests;
diff --git a/crates/openhuman-core/src/config/ops/model_byok_tests.rs b/crates/openhuman-core/src/config/ops/model_byok_tests.rs
index 5bef3046fb..7ff17d12b3 100644
--- a/crates/openhuman-core/src/config/ops/model_byok_tests.rs
+++ b/crates/openhuman-core/src/config/ops/model_byok_tests.rs
@@ -6,7 +6,7 @@
//! resolution goes through `cloud_providers` and nothing had put the endpoint
//! there.
-use super::model::{complete_byok_route, ExplicitRolePins, BYOK_INFERENCE_SLUG};
+use super::*;
use crate::config::schema::cloud_providers::{AuthStyle, CloudProviderCreds};
use crate::config::Config;