@ai-sdk/anthropic 4.0.48 → 4.0.49
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/internal/index.js +2 -2
- package/dist/internal/index.js.map +1 -1
- package/package.json +1 -1
- package/src/anthropic-language-model.ts +2 -2
package/dist/internal/index.js
CHANGED
|
@@ -5802,7 +5802,7 @@ function getModelCapabilities(modelId) {
|
|
|
5802
5802
|
rejectsThinkingDisabledAboveHighEffort: false,
|
|
5803
5803
|
isKnownModel: true
|
|
5804
5804
|
};
|
|
5805
|
-
} else if (
|
|
5805
|
+
} else if (/claude-sonnet-4(?:-|@)/.test(modelId)) {
|
|
5806
5806
|
return {
|
|
5807
5807
|
maxOutputTokens: 64e3,
|
|
5808
5808
|
supportsStructuredOutput: false,
|
|
@@ -5812,7 +5812,7 @@ function getModelCapabilities(modelId) {
|
|
|
5812
5812
|
rejectsThinkingDisabledAboveHighEffort: false,
|
|
5813
5813
|
isKnownModel: true
|
|
5814
5814
|
};
|
|
5815
|
-
} else if (
|
|
5815
|
+
} else if (/claude-opus-4(?:-|@)/.test(modelId)) {
|
|
5816
5816
|
return {
|
|
5817
5817
|
maxOutputTokens: 32e3,
|
|
5818
5818
|
supportsStructuredOutput: false,
|