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
fix(inference): prevent cloud slug creation with openhuman jwt auth
Steven Enamakeld21649641a0b
diff --git a/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rs b/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rsindex f25aa7dc2a..969a4aeb98 100644--- a/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rs+++ b/crates/openhuman-core/src/inference/provider/factory/cloud_slug.rs@@ -373,6 +373,11 @@ pub(super) fn try_create_cloud_slug_chat_model_from_string_with_native_tools(}codex_route = Some(&codex);}+ AuthStyle::OpenhumanJwt => {+ return Some(Err(anyhow::anyhow!(+ "hosted cloud authentication is unavailable without a registered host provider"+ )));+ }}// Egress spine (privacy epic S2, #4436): committed to a BYOK cloud slug herediff --git a/crates/openhuman-core/src/inference/provider/factory/cloud_spec.rs b/crates/openhuman-core/src/inference/provider/factory/cloud_spec.rsindex 8c12fd014b..d3bcfd29ee 100644--- a/crates/openhuman-core/src/inference/provider/factory/cloud_spec.rs+++ b/crates/openhuman-core/src/inference/provider/factory/cloud_spec.rs@@ -40,7 +40,7 @@ pub(super) fn registry_auth_style(style: AuthStyle) -> Option<CompatAuthStyle> {AuthStyle::Bearer => Some(CompatAuthStyle::Bearer),AuthStyle::Anthropic => Some(CompatAuthStyle::Anthropic),AuthStyle::None => Some(CompatAuthStyle::None),- style if crate::config::schema::cloud_providers::is_hosted_auth_style(style) => None,+ _ => None,}}