show tools

This commit is contained in:
wassname
2026-04-19 16:20:11 +08:00
parent c2d25b31fe
commit 5e10ff9f64
+1 -1
View File
@@ -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