Skip to content

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

refactor(inference): clean up backend error code module imports

Steven Enamakelbeb80b61c5f2
diff --git a/crates/openhuman-embed/src/host_internals.rs b/crates/openhuman-embed/src/host_internals.rs
index 92cdc7e129..858f89effe 100644
--- a/crates/openhuman-embed/src/host_internals.rs
+++ b/crates/openhuman-embed/src/host_internals.rs
@@ -111,7 +111,7 @@ pub mod config {
pub use openhuman_core::config::{
active_workspace_dir, active_workspace_dir_cached, active_workspace_snapshot,
build_runtime_proxy_client_with_timeouts, load_config_with_timeout, workspace_handle,
- Config, PrivacyMode, MODEL_MANAGED_DEFAULT,
+ Config, PrivacyMode,
};
pub mod app_env {
diff --git a/crates/openhuman-tinyhumans/src/inference/backend_error_code.rs b/crates/openhuman-tinyhumans/src/inference/backend_error_code.rs
index 57dc4ec684..fc7d99e9a3 100644
--- a/crates/openhuman-tinyhumans/src/inference/backend_error_code.rs
+++ b/crates/openhuman-tinyhumans/src/inference/backend_error_code.rs
@@ -259,6 +259,3 @@ pub(crate) fn classify(
#[path = "backend_error_code_tests.rs"]
mod tests;
-#[cfg(test)]
-#[path = "error_code_tests.rs"]
-mod tests;
diff --git a/crates/openhuman-tinyhumans/src/inference/mod.rs b/crates/openhuman-tinyhumans/src/inference/mod.rs
index 821b486989..8bc05ac45a 100644
--- a/crates/openhuman-tinyhumans/src/inference/mod.rs
+++ b/crates/openhuman-tinyhumans/src/inference/mod.rs
@@ -17,11 +17,11 @@ mod managed_calls;
mod managed_catalog;
mod managed_embedding;
mod managed_model;
+mod backend_error_code;
mod managed_reasoning;
mod managed_session;
mod managed_usage;
mod tiers;
-mod backend_error_code;
use std::sync::Arc;