From 5e10ff9f6498d48c16a683effffcef58e91b3780 Mon Sep 17 00:00:00 2001 From: wassname <1103714+wassname@users.noreply.github.com> Date: Sun, 19 Apr 2026 16:20:11 +0800 Subject: [PATCH] show tools --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 889d11f..4bef4ad 100644 --- a/index.ts +++ b/index.ts @@ -643,7 +643,7 @@ export default function (pi: ExtensionAPI) { if (!text) return undefined; return { type: "thinking", text }; } - if (candidate.type === "tool_call" || candidate.type === "tool_use") { + if (candidate.type === "tool_call" || candidate.type === "tool_use" || candidate.type === "toolCall") { const name = typeof candidate.name === "string" ? candidate.name