@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/CHANGELOG.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -5842,7 +5842,7 @@ function getModelCapabilities(modelId) {
|
|
|
5842
5842
|
rejectsThinkingDisabledAboveHighEffort: false,
|
|
5843
5843
|
isKnownModel: true
|
|
5844
5844
|
};
|
|
5845
|
-
} else if (
|
|
5845
|
+
} else if (/claude-sonnet-4(?:-|@)/.test(modelId)) {
|
|
5846
5846
|
return {
|
|
5847
5847
|
maxOutputTokens: 64e3,
|
|
5848
5848
|
supportsStructuredOutput: false,
|
|
@@ -5852,7 +5852,7 @@ function getModelCapabilities(modelId) {
|
|
|
5852
5852
|
rejectsThinkingDisabledAboveHighEffort: false,
|
|
5853
5853
|
isKnownModel: true
|
|
5854
5854
|
};
|
|
5855
|
-
} else if (
|
|
5855
|
+
} else if (/claude-opus-4(?:-|@)/.test(modelId)) {
|
|
5856
5856
|
return {
|
|
5857
5857
|
maxOutputTokens: 32e3,
|
|
5858
5858
|
supportsStructuredOutput: false,
|
|
@@ -7563,7 +7563,7 @@ var AnthropicSkills = class {
|
|
|
7563
7563
|
};
|
|
7564
7564
|
|
|
7565
7565
|
// src/version.ts
|
|
7566
|
-
var VERSION = true ? "4.0.
|
|
7566
|
+
var VERSION = true ? "4.0.49" : "0.0.0-test";
|
|
7567
7567
|
|
|
7568
7568
|
// src/anthropic-provider.ts
|
|
7569
7569
|
var ANTHROPIC_API_URL = "https://api.anthropic.com";
|