@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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/anthropic
2
2
 
3
+ ## 3.0.0-beta.59
4
+
5
+ ### Patch Changes
6
+
7
+ - 2109385: 'fix(anthropic): Opus 4.5 `maxOutputTokens` bump `32000` -> `64000`'
8
+
3
9
  ## 3.0.0-beta.58
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ var import_provider4 = require("@ai-sdk/provider");
31
31
  var import_provider_utils20 = require("@ai-sdk/provider-utils");
32
32
 
33
33
  // src/version.ts
34
- var VERSION = true ? "3.0.0-beta.58" : "0.0.0-test";
34
+ var VERSION = true ? "3.0.0-beta.59" : "0.0.0-test";
35
35
 
36
36
  // src/anthropic-messages-language-model.ts
37
37
  var import_provider3 = require("@ai-sdk/provider");
@@ -2985,13 +2985,13 @@ var AnthropicMessagesLanguageModel = class {
2985
2985
  }
2986
2986
  };
2987
2987
  function getModelCapabilities(modelId) {
2988
- if (modelId.includes("claude-sonnet-4-5")) {
2988
+ if (modelId.includes("claude-sonnet-4-5") || modelId.includes("claude-opus-4-5")) {
2989
2989
  return {
2990
2990
  maxOutputTokens: 64e3,
2991
2991
  supportsStructuredOutput: true,
2992
2992
  isKnownModel: true
2993
2993
  };
2994
- } else if (modelId.includes("claude-opus-4-1") || modelId.includes("claude-opus-4-5")) {
2994
+ } else if (modelId.includes("claude-opus-4-1")) {
2995
2995
  return {
2996
2996
  maxOutputTokens: 32e3,
2997
2997
  supportsStructuredOutput: true,