LLM 请求透明化

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-05-06 11:03:07 +08:00
parent fb2b4fad9f
commit 883faa2d54
12 changed files with 144 additions and 0 deletions
+3
View File
@@ -3,6 +3,9 @@ import { tool } from "@opencode-ai/plugin";
export default tool({
description: "为选定的管网要素打开前端的历史记录或计算结果面板。",
args: {
reason: tool.schema
.string()
.describe("Why this history panel should be opened for the current task."),
feature_infos: tool.schema
.array(tool.schema.tuple([tool.schema.string(), tool.schema.string()]))
.describe("List of [id, type] pairs."),