Skip to content

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

chore(inference): remove unused imports from provider factory

Steven Enamakel76e8378771bd
diff --git a/crates/openhuman-core/src/inference/provider/factory.rs b/crates/openhuman-core/src/inference/provider/factory.rs
index 1b14911c9d..f81ca3c43d 100644
--- a/crates/openhuman-core/src/inference/provider/factory.rs
+++ b/crates/openhuman-core/src/inference/provider/factory.rs
@@ -44,9 +44,7 @@ pub(crate) use routing::{workload_router, ConfigRouteSource};
// Factory-internal helpers shared across the implementation modules.
use access_gates::{emit_inference_egress, enforce_local_only_inference};
-use chat_model::{
- unresolved_chat_model_error, unresolved_chat_model_error_for_access, with_default_temperature,
-};
+use chat_model::{unresolved_chat_model_error_for_access, with_default_temperature};
#[cfg(test)]
use cloud_slug::try_create_cloud_slug_chat_model;
use cloud_slug::{
diff --git a/crates/openhuman-core/src/inference/provider/factory/managed_backend.rs b/crates/openhuman-core/src/inference/provider/factory/managed_backend.rs
index 7241b7e94e..f7a52b066d 100644
--- a/crates/openhuman-core/src/inference/provider/factory/managed_backend.rs
+++ b/crates/openhuman-core/src/inference/provider/factory/managed_backend.rs
@@ -7,7 +7,6 @@
//! `BACKEND_UNAVAILABLE:` sentinel.
use super::*;
-use tinyinference_llm::providers::overrides::ChatModelRequest;
type ManagedChatModel = (
std::sync::Arc<dyn tinyinference_llm::model::ChatModel<()>>,
diff --git a/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs b/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs
index 4bb9210cae..a1a3ca0d33 100644
--- a/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs
+++ b/crates/openhuman-core/src/inference/provider/models/catalog_listing.rs
@@ -15,7 +15,6 @@ use tinyinference_llm::providers::openai::codex::{
openai_codex_client_version, openai_codex_user_agent, OpenAiCodexRouting,
OPENAI_CODEX_ACCOUNT_HEADER, OPENAI_CODEX_ORIGINATOR, OPENAI_CODEX_ORIGINATOR_HEADER,
};
-use tinyinference_llm::providers::overrides::CatalogEntry;
/// Resolve the API key used to probe a provider's `/models` endpoint.
///