更新工具描述为中文,增强可读性

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-30 13:13:10 +08:00
parent 76d407a81c
commit 04f2f814f9
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { tool } from "@opencode-ai/plugin";
export default tool({
description: "Render a chart in the frontend chat UI.",
description: "在前端对话界面中渲染图表。",
args: {
title: tool.schema.string().optional().describe("Chart title."),
chart_type: tool.schema