fix: a2ui is much closer to bDS parity than before

This commit is contained in:
2026-05-31 14:32:15 +02:00
parent a33131ddea
commit 040b5db37b
6 changed files with 16206 additions and 41 deletions

View File

@@ -104,7 +104,7 @@ defmodule BDS.Desktop.ShellLive.ChatEditor.ToolSurfaces do
id: surface_id,
type: "chart",
title: map_value(arguments, "title"),
chart_type: map_value(arguments, "chart_type", "bar"),
chart_type: map_value(arguments, "chartType") || map_value(arguments, "chart_type", "bar"),
series: series,
max_value: Enum.max([0 | Enum.map(series, & &1.value)])
}