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
refactor(embedding_host): simplify custom endpoint provider selection
Steven Enamakelf25c7c1ea7d0
diff --git a/crates/openhuman-core/src/inference/embedding_host/rpc/embed.rs b/crates/openhuman-core/src/inference/embedding_host/rpc/embed.rsindex ec96000e62..df4450fc4f 100644--- a/crates/openhuman-core/src/inference/embedding_host/rpc/embed.rs+++ b/crates/openhuman-core/src/inference/embedding_host/rpc/embed.rs@@ -90,12 +90,11 @@ pub async fn test_connection("{LOG_PREFIX} test_connection starting");+ let custom_provider = custom_endpoint+ .as_deref()+ .map(|endpoint| format!("custom:{endpoint}"));let selected = settings(- if custom_endpoint.is_some() {- &format!("custom:{}", custom_endpoint.as_deref().unwrap_or_default())- } else {- provider_tag- },+ custom_provider.as_deref().unwrap_or(provider_tag),model,dims,tinyinference_local::ollama::ollama_base_url_from_override(