Skip to content

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

fix(doctor): correct type definition for platform health check

Steven Enamakelf369e95aff7c
diff --git a/crates/openhuman-core/src/platform/doctor/core/types.rs b/crates/openhuman-core/src/platform/doctor/core/types.rs
index b694927504..4d95b3e4be 100644
--- a/crates/openhuman-core/src/platform/doctor/core/types.rs
+++ b/crates/openhuman-core/src/platform/doctor/core/types.rs
@@ -18,7 +18,7 @@ pub struct DiagnosticItem {
}
impl DiagnosticItem {
- fn ok(category: impl Into<String>, msg: impl Into<String>) -> Self {
+ pub(crate) fn ok(category: impl Into<String>, msg: impl Into<String>) -> Self {
Self {
severity: Severity::Ok,
category: category.into(),