tinyhumansai/openhuman · error

dashboard_model_health: {e}

Error message

dashboard_model_health: {e}

What it means

The dashboard_model_health tool failed to assemble the model-health table (per-model status plus active routing configuration); the ops-layer error is wrapped with the tool name. The tool takes no arguments, so the failure is in reading routing/inference status, not in caller input.

Source

Thrown at src/openhuman/desktop/dashboard/tools.rs:43

impl Tool for DashboardModelHealthTool {
    fn name(&self) -> &str {
        "dashboard_model_health"
    }

    fn description(&self) -> &str {
        "Return the model-health table the dashboard shows: per-model status and \
         the active routing configuration. Use to advise on which models are \
         healthy/available."
    }

    fn parameters_schema(&self) -> serde_json::Value {
        json!({ "type": "object", "properties": {} })
    }

    async fn execute(&self, _args: serde_json::Value) -> anyhow::Result<ToolResult> {
        log::debug!("[tool][dashboard] model_health invoked");
        let outcome = ops::model_health(&self.config)
            .map_err(|e| anyhow::anyhow!("dashboard_model_health: {e}"))?;
        Ok(ToolResult::success(serde_json::to_string(&outcome.value)?))
    }

    fn is_concurrency_safe(&self, _args: &serde_json::Value) -> bool {
        true
    }
}

#[cfg(test)]
mod tests {
    use super::*;
    use crate::openhuman::tools::traits::{PermissionLevel, ToolScope};

    #[test]
    fn metadata() {
        let t = DashboardModelHealthTool::new(Arc::new(Config::default()));
        assert_eq!(t.name(), "dashboard_model_health");
        assert_eq!(t.permission_level(), PermissionLevel::ReadOnly);

View on GitHub (pinned to 7491200858)

Solutions

  1. Inspect the wrapped error for the routing/inference cause
  2. Verify inference routing config is loadable
  3. Retry once the inference subsystem is healthy
Defensive patterns

Strategy: try-catch

When it happens

Trigger: Thrown at src/openhuman/desktop/dashboard/tools.rs:43 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of tinyhumansai/openhuman@7491200858 (2026-08-17). Data as JSON: /api/errors/09bbc3d1db02fa6d. Report an issue: GitHub.