@ai-sdk/anthropic 3.0.50 → 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/dist/index.mjs CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  } from "@ai-sdk/provider-utils";
13
13
 
14
14
  // src/version.ts
15
- var VERSION = true ? "3.0.50" : "0.0.0-test";
15
+ var VERSION = true ? "3.0.51" : "0.0.0-test";
16
16
 
17
17
  // src/anthropic-messages-language-model.ts
18
18
  import {
@@ -4145,7 +4145,7 @@ function getModelCapabilities(modelId) {
4145
4145
  supportsStructuredOutput: true,
4146
4146
  isKnownModel: true
4147
4147
  };
4148
- } else if (modelId.includes("claude-sonnet-4-") || modelId.includes("claude-3-7-sonnet")) {
4148
+ } else if (modelId.includes("claude-sonnet-4-")) {
4149
4149
  return {
4150
4150
  maxOutputTokens: 64e3,
4151
4151
  supportsStructuredOutput: false,
@@ -4157,12 +4157,6 @@ function getModelCapabilities(modelId) {
4157
4157
  supportsStructuredOutput: false,
4158
4158
  isKnownModel: true
4159
4159
  };
4160
- } else if (modelId.includes("claude-3-5-haiku")) {
4161
- return {
4162
- maxOutputTokens: 8192,
4163
- supportsStructuredOutput: false,
4164
- isKnownModel: true
4165
- };
4166
4160
  } else if (modelId.includes("claude-3-haiku")) {
4167
4161
  return {
4168
4162
  maxOutputTokens: 4096,