@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/package.json
CHANGED
|
@@ -2887,7 +2887,7 @@ export function getModelCapabilities(modelId: string): {
|
|
|
2887
2887
|
rejectsThinkingDisabledAboveHighEffort: false,
|
|
2888
2888
|
isKnownModel: true,
|
|
2889
2889
|
};
|
|
2890
|
-
} else if (
|
|
2890
|
+
} else if (/claude-sonnet-4(?:-|@)/.test(modelId)) {
|
|
2891
2891
|
return {
|
|
2892
2892
|
maxOutputTokens: 64000,
|
|
2893
2893
|
supportsStructuredOutput: false,
|
|
@@ -2897,7 +2897,7 @@ export function getModelCapabilities(modelId: string): {
|
|
|
2897
2897
|
rejectsThinkingDisabledAboveHighEffort: false,
|
|
2898
2898
|
isKnownModel: true,
|
|
2899
2899
|
};
|
|
2900
|
-
} else if (
|
|
2900
|
+
} else if (/claude-opus-4(?:-|@)/.test(modelId)) {
|
|
2901
2901
|
return {
|
|
2902
2902
|
maxOutputTokens: 32000,
|
|
2903
2903
|
supportsStructuredOutput: false,
|