@iinm/plain-agent 1.8.7 → 1.8.9
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/package.json
CHANGED
package/src/config.mjs
CHANGED
|
@@ -578,7 +578,9 @@ function convertOpenAIStreamDataToAgentPartialContent(
|
|
|
578
578
|
content: [
|
|
579
579
|
firstChoice.delta.tool_calls.at(0)?.function?.name,
|
|
580
580
|
firstChoice.delta.tool_calls.at(0)?.function?.arguments,
|
|
581
|
-
]
|
|
581
|
+
]
|
|
582
|
+
.filter((s) => s)
|
|
583
|
+
.join(" "),
|
|
582
584
|
position: previousPartialContent?.type === "tool_use" ? "delta" : "start",
|
|
583
585
|
});
|
|
584
586
|
}
|