Skip to content

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

feat(inference): export create_chat_model_with_model_id_in

Steven Enamakel343af33e5e90
diff --git a/crates/openhuman-core/src/inference/provider/factory.rs b/crates/openhuman-core/src/inference/provider/factory.rs
index 563f350e6a..17f8a1a2ea 100644
--- a/crates/openhuman-core/src/inference/provider/factory.rs
+++ b/crates/openhuman-core/src/inference/provider/factory.rs
@@ -57,7 +57,7 @@ pub(crate) use access_gates::current_host_requires_session;
pub(crate) use chat_model::resolves_to_managed_backend;
pub use chat_model::{
create_chat_model, create_chat_model_from_string, create_chat_model_from_string_with_model_id,
- create_chat_model_with_model_id, probe_inference_readiness,
+ create_chat_model_with_model_id, create_chat_model_with_model_id_in, probe_inference_readiness,
};
pub(crate) use credentials::openai_bearer_is_oauth;
pub use credentials::{auth_key_for_slug, lookup_key_for_slug, redact_endpoint};
diff --git a/crates/openhuman-core/src/inference/provider/mod.rs b/crates/openhuman-core/src/inference/provider/mod.rs
index 70b0aa9e90..7e2da0905c 100644
--- a/crates/openhuman-core/src/inference/provider/mod.rs
+++ b/crates/openhuman-core/src/inference/provider/mod.rs
@@ -29,7 +29,8 @@ pub use error_code::{
pub(crate) use factory::is_raw_passthrough_model;
pub use factory::{
create_chat_model, create_chat_model_from_string, create_chat_model_from_string_with_model_id,
- create_chat_model_with_model_id, probe_inference_readiness, provider_for_role,
+ create_chat_model_with_model_id, create_chat_model_with_model_id_in, probe_inference_readiness,
+ provider_for_role,
role_for_model_tier, BYOK_INCOMPLETE_SENTINEL,
};
pub use openhuman_backend_model::{OpenHumanBackendModel, PROVIDER_LABEL};