@ai-sdk/anthropic 3.0.52 → 3.0.53
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +1 -1
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -1
- package/dist/internal/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/convert-to-anthropic-messages-prompt.ts +2 -1
package/dist/internal/index.js
CHANGED
|
@@ -1636,7 +1636,7 @@ var toolSearchRegex_20251119 = (args = {}) => {
|
|
|
1636
1636
|
// src/convert-to-anthropic-messages-prompt.ts
|
|
1637
1637
|
function convertToString(data) {
|
|
1638
1638
|
if (typeof data === "string") {
|
|
1639
|
-
return
|
|
1639
|
+
return new TextDecoder().decode((0, import_provider_utils11.convertBase64ToUint8Array)(data));
|
|
1640
1640
|
}
|
|
1641
1641
|
if (data instanceof Uint8Array) {
|
|
1642
1642
|
return new TextDecoder().decode(data);
|