Skip to content

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

style(tests): reorder imports in model listing tests

Steven Enamakel96641a3222c0
diff --git a/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs b/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs
index 89383d7937..901ef07b9a 100644
--- a/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs
+++ b/crates/openhuman-core/src/inference/provider/models/catalog_listing_error_tests.rs
@@ -1,11 +1,12 @@
use super::*;
+
use super::catalog_listing::list_configured_models_from_config;
use crate::config::schema::cloud_providers::AuthStyle;
-use axum::http::StatusCode;
use crate::inference::provider::model_listing_test_support::{
configure_generic_workspace, configure_openrouter_workspace, spawn_openrouter_probe_server,
spawn_static_models_server,
};
+use axum::http::StatusCode;
use std::sync::atomic::Ordering as AtomicOrdering;
use tinyinference_core::sanitize::{sanitize_api_error, MAX_API_ERROR_CHARS};
diff --git a/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs b/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs
index 8915b157ad..190558a465 100644
--- a/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs
+++ b/crates/openhuman-core/src/inference/provider/models/catalog_listing_tests.rs
@@ -1,12 +1,13 @@
use super::*;
+
use super::catalog_listing::list_configured_models_from_config;
use super::local_runtime::synthesize_local_runtime_entry;
use crate::config::schema::cloud_providers::{AuthStyle, CloudProviderCreds};
use crate::config::Config;
-use axum::http::StatusCode;
use crate::inference::provider::model_listing_test_support::{
configure_generic_workspace, spawn_static_models_server,
};
+use axum::http::StatusCode;
#[tokio::test]
async fn list_models_empty_body_returns_diagnostic_error() {
diff --git a/crates/openhuman-core/src/inference/provider/models/mod_tests.rs b/crates/openhuman-core/src/inference/provider/models/mod_tests.rs
index d4101ae4be..26723bccc7 100644
--- a/crates/openhuman-core/src/inference/provider/models/mod_tests.rs
+++ b/crates/openhuman-core/src/inference/provider/models/mod_tests.rs
@@ -1,6 +1,7 @@
use super::*;
-use catalog_listing::resolve_local_runtime_key;
+
use crate::config::Config;
+use catalog_listing::resolve_local_runtime_key;
#[test]
fn omlx_key_falls_back_to_local_ai_api_key() {