@ai-sdk/anthropic 3.0.49 → 3.0.51
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 +13 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -8
- package/dist/index.mjs.map +1 -1
- package/dist/internal/index.d.mts +1 -1
- package/dist/internal/index.d.ts +1 -1
- package/dist/internal/index.js +1 -7
- package/dist/internal/index.js.map +1 -1
- package/dist/internal/index.mjs +1 -7
- package/dist/internal/index.mjs.map +1 -1
- package/docs/05-anthropic.mdx +14 -16
- package/package.json +2 -2
- package/src/anthropic-messages-language-model.ts +1 -10
- package/src/anthropic-messages-options.ts +1 -5
package/dist/internal/index.mjs
CHANGED
|
@@ -4129,7 +4129,7 @@ function getModelCapabilities(modelId) {
|
|
|
4129
4129
|
supportsStructuredOutput: true,
|
|
4130
4130
|
isKnownModel: true
|
|
4131
4131
|
};
|
|
4132
|
-
} else if (modelId.includes("claude-sonnet-4-")
|
|
4132
|
+
} else if (modelId.includes("claude-sonnet-4-")) {
|
|
4133
4133
|
return {
|
|
4134
4134
|
maxOutputTokens: 64e3,
|
|
4135
4135
|
supportsStructuredOutput: false,
|
|
@@ -4141,12 +4141,6 @@ function getModelCapabilities(modelId) {
|
|
|
4141
4141
|
supportsStructuredOutput: false,
|
|
4142
4142
|
isKnownModel: true
|
|
4143
4143
|
};
|
|
4144
|
-
} else if (modelId.includes("claude-3-5-haiku")) {
|
|
4145
|
-
return {
|
|
4146
|
-
maxOutputTokens: 8192,
|
|
4147
|
-
supportsStructuredOutput: false,
|
|
4148
|
-
isKnownModel: true
|
|
4149
|
-
};
|
|
4150
4144
|
} else if (modelId.includes("claude-3-haiku")) {
|
|
4151
4145
|
return {
|
|
4152
4146
|
maxOutputTokens: 4096,
|