Skip to content

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

fix(provider): handle missing managed backend module

Steven Enamakelcbb86a4829ca
diff --git a/crates/openhuman-core/src/inference/provider/factory.rs b/crates/openhuman-core/src/inference/provider/factory.rs
index 182874c11d..b7d94ee7f8 100644
--- a/crates/openhuman-core/src/inference/provider/factory.rs
+++ b/crates/openhuman-core/src/inference/provider/factory.rs
@@ -58,7 +58,7 @@ pub use chat_model::{
pub(crate) use credentials::openai_bearer_is_oauth;
pub use credentials::{auth_key_for_slug, lookup_key_for_slug, redact_endpoint};
pub(crate) use local_runtime::create_local_chat_model_from_string;
-pub(crate) use managed_backend::{make_openhuman_backend_model, summarization_tier_model};
+pub(crate) use managed_backend::make_openhuman_backend_model;
pub(crate) use routing::role_uses_implicit_cloud_fallback;
pub use routing::{provider_for_role, role_bypasses_managed_credits};
pub(crate) use tiers::{
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 48e65391da..dd0a4c4050 100644
--- a/crates/openhuman-core/src/inference/provider/factory/managed_backend.rs
+++ b/crates/openhuman-core/src/inference/provider/factory/managed_backend.rs
@@ -3,14 +3,6 @@
use super::*;
-/// The managed summarization model. Historically a dedicated
-/// `hint:summarization` tier; now the managed default like every other role.
-/// Kept as a named seam because the memory tree, the chat-turn payload
-/// summarizer and the `extract` sub-agent all read it.
-pub(crate) fn summarization_tier_model() -> &'static str {
- crate::config::MODEL_MANAGED_DEFAULT
-}
-
/// Resolve the managed OpenHuman backend for `role` — the model id (tier /
/// summarization / default, with `hint:<tier>` translation) plus a configured
/// [`OpenHumanBackendModel`]. Shared by both the `Provider` path