fix(ui): restrict chart types

This commit is contained in:
2026-07-14 11:01:07 +08:00
parent 6b45e7c40c
commit 909bb771f4
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export default tool({
.describe("Why this chart should be rendered for the user request."),
title: tool.schema.string().optional().describe("Chart title."),
chart_type: tool.schema
.enum(["line", "bar", "pie"])
.enum(["line", "bar"])
.optional()
.describe("Chart type."),
x_data: tool.schema