Skip to content

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

chore(config): rename BYOK log field and update stale doc reference

Steven Enamakel3ad64a6f886f
diff --git a/crates/openhuman-core/src/config/ops/mod.rs b/crates/openhuman-core/src/config/ops/mod.rs
index a98e83cd11..f09234e2ea 100644
--- a/crates/openhuman-core/src/config/ops/mod.rs
+++ b/crates/openhuman-core/src/config/ops/mod.rs
@@ -119,9 +119,8 @@ pub use model::{
pub use cloud_providers::{build_cloud_provider_creds, CloudProviderUpdate};
pub(crate) use primary_cloud::{
cloud_entry_provider_string, has_custom_inference_intent, is_openhuman_cloud_entry,
- legacy_custom_inference_provider_string, legacy_inference_slug,
- looks_like_openhuman_backend, normalize_endpoint_for_compare,
- resolve_primary_cloud_provider_string,
+ legacy_custom_inference_provider_string, legacy_inference_slug, looks_like_openhuman_backend,
+ normalize_endpoint_for_compare, resolve_primary_cloud_provider_string,
};
pub use privacy::{
diff --git a/crates/openhuman-core/src/config/ops/primary_cloud.rs b/crates/openhuman-core/src/config/ops/primary_cloud.rs
index cf37c327a1..0be76082d5 100644
--- a/crates/openhuman-core/src/config/ops/primary_cloud.rs
+++ b/crates/openhuman-core/src/config/ops/primary_cloud.rs
@@ -20,7 +20,7 @@ pub(crate) fn resolve_primary_cloud_provider_string(config: &Config) -> String {
// silently routing through the managed backend.
if has_custom_inference_intent(config) {
log::debug!(
- "[providers][chat-factory] BYOK intent detected (host={}) \
+ "[providers][chat-factory] BYOK intent detected (endpoint={}) \
but no matching cloud_providers entry found; returning fail-closed sentinel",
tinyinference_core::sanitize::redact_url(
config.inference_url.as_deref().unwrap_or_default()
@@ -40,7 +40,7 @@ pub(crate) fn resolve_primary_cloud_provider_string(config: &Config) -> String {
legacy_custom_inference_provider_string(config).unwrap_or_else(|| {
if has_custom_inference_intent(config) {
log::debug!(
- "[providers][chat-factory] BYOK intent detected (host={}) \
+ "[providers][chat-factory] BYOK intent detected (endpoint={}) \
with no primary_cloud and no matching provider entry; returning fail-closed sentinel",
tinyinference_core::sanitize::redact_url(
config.inference_url.as_deref().unwrap_or_default()
diff --git a/crates/openhuman-core/src/config/schema/cloud_providers.rs b/crates/openhuman-core/src/config/schema/cloud_providers.rs
index e8cf5d029b..6b79c7e0d7 100644
--- a/crates/openhuman-core/src/config/schema/cloud_providers.rs
+++ b/crates/openhuman-core/src/config/schema/cloud_providers.rs
@@ -2,7 +2,7 @@
//!
//! Each entry in `Config::cloud_providers` represents one configured LLM
//! backend. Providers are keyed by a user-chosen `slug` (e.g. `"openai"`,
-//! `"my-deepseek"`). The factory in `inference::provider::factory`
+//! `"my-deepseek"`). Inference routing in `config::ops::primary_cloud`
//! resolves workload-to-provider strings against this list at runtime using
//! the grammar `"<slug>:<model>"`.
//!