Skip to content

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

fix(daemon_env_checks): correct environment variable check for daemon readiness

Steven Enamakeld76195900a93
diff --git a/crates/openhuman-core/src/platform/doctor/core/daemon_env_checks.rs b/crates/openhuman-core/src/platform/doctor/core/daemon_env_checks.rs
index 812afe25b3..01f1ae23e1 100644
--- a/crates/openhuman-core/src/platform/doctor/core/daemon_env_checks.rs
+++ b/crates/openhuman-core/src/platform/doctor/core/daemon_env_checks.rs
@@ -254,7 +254,7 @@ fn check_command_available(
///
/// The driver probe always runs regardless of file existence, so a bound driver
/// that does not use SQLite still surfaces its health here.
-fn truncate_for_display(text: &str, max_len: usize) -> String {
+pub(super) fn truncate_for_display(text: &str, max_len: usize) -> String {
if text.chars().count() <= max_len {
return text.to_string();
}