@ai-sdk/anthropic 3.0.0-beta.58 → 3.0.0-beta.59
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 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +2 -2
- package/dist/internal/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.59" : "0.0.0-test";
|
|
15
15
|
|
|
16
16
|
// src/anthropic-messages-language-model.ts
|
|
17
17
|
import {
|
|
@@ -3004,13 +3004,13 @@ var AnthropicMessagesLanguageModel = class {
|
|
|
3004
3004
|
}
|
|
3005
3005
|
};
|
|
3006
3006
|
function getModelCapabilities(modelId) {
|
|
3007
|
-
if (modelId.includes("claude-sonnet-4-5")) {
|
|
3007
|
+
if (modelId.includes("claude-sonnet-4-5") || modelId.includes("claude-opus-4-5")) {
|
|
3008
3008
|
return {
|
|
3009
3009
|
maxOutputTokens: 64e3,
|
|
3010
3010
|
supportsStructuredOutput: true,
|
|
3011
3011
|
isKnownModel: true
|
|
3012
3012
|
};
|
|
3013
|
-
} else if (modelId.includes("claude-opus-4-1")
|
|
3013
|
+
} else if (modelId.includes("claude-opus-4-1")) {
|
|
3014
3014
|
return {
|
|
3015
3015
|
maxOutputTokens: 32e3,
|
|
3016
3016
|
supportsStructuredOutput: true,
|