From 4b87ad8224b3277e5d3b81aa6c74c16eaeb05851 Mon Sep 17 00:00:00 2001 From: dal Date: Fri, 4 Apr 2025 11:00:09 -0600 Subject: [PATCH] dashboards available --- .../agents/src/tools/categories/file_tools/create_dashboards.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/libs/agents/src/tools/categories/file_tools/create_dashboards.rs b/api/libs/agents/src/tools/categories/file_tools/create_dashboards.rs index e80ee924c..2e0a9d21f 100644 --- a/api/libs/agents/src/tools/categories/file_tools/create_dashboards.rs +++ b/api/libs/agents/src/tools/categories/file_tools/create_dashboards.rs @@ -131,7 +131,7 @@ impl ToolExecutor for CreateDashboardFilesTool { async fn is_enabled(&self) -> bool { matches!(( - self.agent.get_state_value("metrics_available").await, + self.agent.get_state_value("dashboards_available").await, self.agent.get_state_value("plan_available").await, ), (Some(_), Some(_))) }