mirror of
https://github.com/wassname/pi-telegram.git
synced 2026-06-27 15:16:19 +08:00
show tools
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user