@ai-sdk/anthropic 3.0.10 → 3.0.11
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 +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
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_utils22 = require("@ai-sdk/provider-utils");
|
|
33
33
|
|
|
34
34
|
// src/version.ts
|
|
35
|
-
var VERSION = true ? "3.0.
|
|
35
|
+
var VERSION = true ? "3.0.11" : "0.0.0-test";
|
|
36
36
|
|
|
37
37
|
// src/anthropic-messages-language-model.ts
|
|
38
38
|
var import_provider3 = require("@ai-sdk/provider");
|
|
@@ -4263,7 +4263,8 @@ function createAnthropic(options = {}) {
|
|
|
4263
4263
|
fetch: options.fetch,
|
|
4264
4264
|
generateId: (_a2 = options.generateId) != null ? _a2 : import_provider_utils22.generateId,
|
|
4265
4265
|
supportedUrls: () => ({
|
|
4266
|
-
"image/*": [/^https?:\/\/.*$/]
|
|
4266
|
+
"image/*": [/^https?:\/\/.*$/],
|
|
4267
|
+
"application/pdf": [/^https?:\/\/.*$/]
|
|
4267
4268
|
})
|
|
4268
4269
|
});
|
|
4269
4270
|
};
|