fix(ui): restrict chart types
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user