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
chore: files changed crates/openhuman-tinyhumans/src/doctor/mod.rs
Steven Enamakel50bb51112199
diff --git a/crates/openhuman-tinyhumans/src/doctor/mod.rs b/crates/openhuman-tinyhumans/src/doctor/mod.rsindex 15826cb65d..1c15d702f0 100644--- a/crates/openhuman-tinyhumans/src/doctor/mod.rs+++ b/crates/openhuman-tinyhumans/src/doctor/mod.rs@@ -5,8 +5,8 @@ use std::sync::Arc;use async_trait::async_trait;use openhuman_embed::__host::config::Config;use openhuman_embed::__host::doctor::{- register_check_source, register_check_source_in, DoctorCheck, DoctorCheckSource, DoctorCtx,- DoctorTier, Finding, FindingSeverity,+ register_check_source, register_check_source_in, ComponentId, DoctorCheck,+ DoctorCheckSource, DoctorCtx, DoctorTier, Finding, FindingSeverity,};use openhuman_embed::__host::platform::socket::{global_socket_manager, ConnectionStatus};use openhuman_embed::__host::security::credentials::api_key::get_api_key_read_only;@@ -100,6 +100,10 @@ impl DoctorCheck for BackendReachable {DoctorTier::Connect}+ fn component_gate(&self) -> Option<ComponentId> {+ Some(ComponentId::Hosting)+ }+async fn detect(&self, ctx: &DoctorCtx) -> Vec<Finding> {vec![match health_check(ctx.config()).await {Ok(()) => Finding::pass(self.id(), "The hosted backend is reachable."),@@ -133,6 +137,10 @@ impl DoctorCheck for BackendCredentialCheck {DoctorTier::Connect}+ fn component_gate(&self) -> Option<ComponentId> {+ Some(ComponentId::Hosting)+ }+async fn detect(&self, ctx: &DoctorCtx) -> Vec<Finding> {vec![match doctor_credential(ctx.config()) {CredentialState::Usable(_) => {@@ -183,6 +191,10 @@ impl DoctorCheck for BackendIdentity {DoctorTier::Connect}+ fn component_gate(&self) -> Option<ComponentId> {+ Some(ComponentId::Hosting)+ }+async fn detect(&self, ctx: &DoctorCtx) -> Vec<Finding> {let credential = match doctor_credential(ctx.config()) {CredentialState::Usable(credential) => credential,@@ -216,6 +228,10 @@ impl DoctorCheck for BackendSocket {DoctorTier::Connect}+ fn component_gate(&self) -> Option<ComponentId> {+ Some(ComponentId::Hosting)+ }+async fn detect(&self, ctx: &DoctorCtx) -> Vec<Finding> {let Some(url) = ctx.config().resolved_endpoints.control_plane_url.as_deref() else {return vec![Finding::skipped(@@ -289,6 +305,10 @@ impl DoctorCheck for BackendApiUrl {DoctorTier::Static}+ fn component_gate(&self) -> Option<ComponentId> {+ Some(ComponentId::Hosting)+ }+async fn detect(&self, ctx: &DoctorCtx) -> Vec<Finding> {let configured = ctx.config().api_url.as_deref().unwrap_or_default().trim();if !configured.is_empty() {@@ -353,6 +373,10 @@ impl DoctorCheck for ManagedCatalog {DoctorTier::Connect}+ fn component_gate(&self) -> Option<ComponentId> {+ Some(ComponentId::Hosting)+ }+async fn detect(&self, ctx: &DoctorCtx) -> Vec<Finding> {let credential = match doctor_credential(ctx.config()) {CredentialState::Usable(credential) => credential,