diff --git a/packages/ai/src/tools/visualization-tools/modify-dashboards-file-tool.ts b/packages/ai/src/tools/visualization-tools/modify-dashboards-file-tool.ts index 20c2b5f2c..31fb92897 100644 --- a/packages/ai/src/tools/visualization-tools/modify-dashboards-file-tool.ts +++ b/packages/ai/src/tools/visualization-tools/modify-dashboards-file-tool.ts @@ -371,7 +371,7 @@ const modifyDashboardFiles = wrapTraced( for (const file of dashboardFilesToUpdate) { // Get current metric IDs from updated dashboard content - const newMetricIds = (file.content as DashboardYml).rows.flatMap((row: any) => row.items).map((item: any) => item.id); + const newMetricIds = (file.content as DashboardYml).rows.flatMap(row => row.items).map(item => item.id); const existingAssociations = await tx .select({ metricFileId: metricFilesToDashboardFiles.metricFileId })