The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(inference): reorder imports in provider factory
Steven Enamakele1d923aecc52
diff --git a/crates/openhuman-core/src/inference/provider/factory/chat_model.rs b/crates/openhuman-core/src/inference/provider/factory/chat_model.rsindex 0e8e228723..53684a710a 100644--- a/crates/openhuman-core/src/inference/provider/factory/chat_model.rs+++ b/crates/openhuman-core/src/inference/provider/factory/chat_model.rs@@ -19,8 +19,8 @@ use tinyagents_harness::host::{use tinyinference_llm::model::{ChatModel, ModelRequestDefaults, ProfileOverrideModel, ResolvedModelRoute,};-use tinyinference_providers::route::{ProviderRoute, RouteKind};use tinyinference_providers::route::split_model_and_temperature;+use tinyinference_providers::route::{ProviderRoute, RouteKind};/// OpenHuman's host policy and construction adapter for a harness turn.///diff --git a/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rs b/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rsindex 9065e83843..ce49fff32b 100644--- a/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rs+++ b/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rs@@ -2,13 +2,11 @@//! abstract-tier remapping, credentials, codex routing) and the crate-native builders.use super::{- access_gates::enforce_local_only_inference,- cloud_spec,- credentials::CredentialAccess,- managed_backend::managed_chat_model_for,- openai_bearer_is_oauth, provider_for_role, redact_endpoint_origin, resolve_codex_routing,- InspectionOutputBudgetCapability, OptionalChatModelResult, BYOK_INCOMPLETE_SENTINEL,- CLAUDE_AGENT_SDK_PREFIX, CLAUDE_AGENT_SDK_PROVIDER, PROVIDER_OPENHUMAN,+ access_gates::enforce_local_only_inference, cloud_spec, credentials::CredentialAccess,+ managed_backend::managed_chat_model_for, openai_bearer_is_oauth, provider_for_role,+ redact_endpoint_origin, resolve_codex_routing, InspectionOutputBudgetCapability,+ OptionalChatModelResult, BYOK_INCOMPLETE_SENTINEL, CLAUDE_AGENT_SDK_PREFIX,+ CLAUDE_AGENT_SDK_PROVIDER, PROVIDER_OPENHUMAN,};use crate::config::ops::resolve_primary_cloud_provider_string;use crate::config::schema::cloud_providers::AuthStyle;@@ -18,19 +16,19 @@ use crate::inference::provider::factory::access_gates::verify_backend_session_ac#[cfg(not(test))]use crate::inference::provider::factory::access_gates::verify_session_active;use crate::inference::provider::fallback_diagnostics;+use crate::inference::provider::openai_codex::resolve_openai_codex_routing_for_inspection;use crate::security::egress::EgressLedger;use std::sync::Arc;use tinyinference_llm::model::ChatModel;use tinyinference_llm::providers::anthropic::endpoint_is_anthropic_messages;-use tinyinference_llm::providers::registry::{- resolve_slug_model, ProviderBuildOptions, ProviderRegistry,-};use tinyinference_llm::providers::openai::codex::{openai_codex_client_version, openai_codex_user_agent, OPENAI_CODEX_ACCOUNT_HEADER,OPENAI_CODEX_ORIGINATOR, OPENAI_CODEX_ORIGINATOR_HEADER,};+use tinyinference_llm::providers::registry::{+ resolve_slug_model, ProviderBuildOptions, ProviderRegistry,+};use tinyinference_providers::route::split_model_and_temperature;-use crate::inference::provider::openai_codex::resolve_openai_codex_routing_for_inspection;type CloudSlugInspectionChatModelResult = Option<anyhow::Result<(