mirror of
https://github.com/wassname/pi-telegram.git
synced 2026-06-27 15:01:00 +08:00
misc
This commit is contained in:
@@ -643,7 +643,7 @@ export default function (pi: ExtensionAPI) {
|
|||||||
if (!text) return undefined;
|
if (!text) return undefined;
|
||||||
return { type: "thinking", text };
|
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 =
|
const name =
|
||||||
typeof candidate.name === "string"
|
typeof candidate.name === "string"
|
||||||
? candidate.name
|
? candidate.name
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@llblab/pi-telegram",
|
"name": "@llblab/pi-telegram",
|
||||||
"version": "0.2.0",
|
"version": "0.2.7",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@llblab/pi-telegram",
|
"name": "@llblab/pi-telegram",
|
||||||
"version": "0.2.0",
|
"version": "0.2.7",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@mariozechner/pi-agent-core": "*",
|
"@mariozechner/pi-agent-core": "*",
|
||||||
|
|||||||
Reference in New Issue
Block a user