@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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var import_provider4 = require("@ai-sdk/provider");
|
|
|
32
32
|
var import_provider_utils24 = require("@ai-sdk/provider-utils");
|
|
33
33
|
|
|
34
34
|
// src/version.ts
|
|
35
|
-
var VERSION = true ? "3.0.
|
|
35
|
+
var VERSION = true ? "3.0.53" : "0.0.0-test";
|
|
36
36
|
|
|
37
37
|
// src/anthropic-messages-language-model.ts
|
|
38
38
|
var import_provider3 = require("@ai-sdk/provider");
|
|
@@ -1644,7 +1644,7 @@ var toolSearchRegex_20251119 = (args = {}) => {
|
|
|
1644
1644
|
// src/convert-to-anthropic-messages-prompt.ts
|
|
1645
1645
|
function convertToString(data) {
|
|
1646
1646
|
if (typeof data === "string") {
|
|
1647
|
-
return
|
|
1647
|
+
return new TextDecoder().decode((0, import_provider_utils11.convertBase64ToUint8Array)(data));
|
|
1648
1648
|
}
|
|
1649
1649
|
if (data instanceof Uint8Array) {
|
|
1650
1650
|
return new TextDecoder().decode(data);
|