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(_))) }