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(rpc): use new backend base_url helper in root handler
Steven Enamakel52bd60b11713
diff --git a/crates/openhuman-rpc/src/server/http/mod.rs b/crates/openhuman-rpc/src/server/http/mod.rsindex 146c24bc9d..f32deef0ee 100644--- a/crates/openhuman-rpc/src/server/http/mod.rs+++ b/crates/openhuman-rpc/src/server/http/mod.rs@@ -129,8 +129,8 @@ async fn http_request_log_middleware(req: Request, next: Next) -> Response {/// Handler for the root endpoint, returning server information and available endpoints.async fn root_handler() -> impl IntoResponse {let api_server = match openhuman_core::config::Config::load_or_init().await {- Ok(cfg) => openhuman_core::api::config::effective_backend_api_url(&cfg.api_url),- Err(_) => openhuman_core::api::config::effective_backend_api_url(&None),+ Ok(cfg) => openhuman_core::backend::base_url(&cfg.api_url).ok(),+ Err(_) => openhuman_core::backend::base_url(&None).ok(),};(