@getpochi/cli 0.5.79 → 0.5.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -404613,7 +404613,7 @@ var {
|
|
|
404613
404613
|
// package.json
|
|
404614
404614
|
var package_default = {
|
|
404615
404615
|
name: "@getpochi/cli",
|
|
404616
|
-
version: "0.5.
|
|
404616
|
+
version: "0.5.80",
|
|
404617
404617
|
type: "module",
|
|
404618
404618
|
bin: {
|
|
404619
404619
|
pochi: "src/cli.ts"
|
|
@@ -445145,7 +445145,7 @@ function createToolCallStream(toolCallStartRegex, toolCallStartPrefix, toolCallE
|
|
|
445145
445145
|
});
|
|
445146
445146
|
}
|
|
445147
445147
|
function processAssistant(message) {
|
|
445148
|
-
const toolCalls = message.content.filter((x11) => x11.type === "tool-call").map((x11) => `<api-request name="${x11.toolName}">${convertToolCallInput(x11)}</api-request>`);
|
|
445148
|
+
const toolCalls = message.content.filter((x11) => x11.type === "tool-call").map((x11) => `<api-request name="${x11.toolName}">${convertToolCallInput(x11.input)}</api-request>`);
|
|
445149
445149
|
const toolContent = `<api-section>
|
|
445150
445150
|
${toolCalls.join(`
|
|
445151
445151
|
`)}
|