@ai-sdk/anthropic 3.0.0-beta.60 → 3.0.0-beta.62
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 +30 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "@ai-sdk/provider-utils";
|
|
12
12
|
|
|
13
13
|
// src/version.ts
|
|
14
|
-
var VERSION = true ? "3.0.0-beta.
|
|
14
|
+
var VERSION = true ? "3.0.0-beta.62" : "0.0.0-test";
|
|
15
15
|
|
|
16
16
|
// src/anthropic-messages-language-model.ts
|
|
17
17
|
import {
|
|
@@ -3509,8 +3509,8 @@ function createAnthropic(options = {}) {
|
|
|
3509
3509
|
provider.languageModel = createChatModel;
|
|
3510
3510
|
provider.chat = createChatModel;
|
|
3511
3511
|
provider.messages = createChatModel;
|
|
3512
|
-
provider.
|
|
3513
|
-
throw new NoSuchModelError({ modelId, modelType: "
|
|
3512
|
+
provider.embeddingModel = (modelId) => {
|
|
3513
|
+
throw new NoSuchModelError({ modelId, modelType: "embeddingModel" });
|
|
3514
3514
|
};
|
|
3515
3515
|
provider.imageModel = (modelId) => {
|
|
3516
3516
|
throw new NoSuchModelError({ modelId, modelType: "imageModel" });
|