ai 5.0.0-beta.22 → 5.0.0-beta.23
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/CHANGELOG.md +6 -0
- package/dist/bin/ai.js +1 -1
- package/dist/bin/ai.js.map +1 -1
- package/dist/bin/ai.min.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
@@ -3055,7 +3055,7 @@ function isToolUIPart(part) {
|
|
3055
3055
|
return part.type.startsWith("tool-");
|
3056
3056
|
}
|
3057
3057
|
function getToolName(part) {
|
3058
|
-
return part.type.split("-")
|
3058
|
+
return part.type.split("-").slice(1).join("-");
|
3059
3059
|
}
|
3060
3060
|
|
3061
3061
|
// src/ui/process-ui-message-stream.ts
|