@ai-sdk/anthropic 3.0.49 → 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.
@@ -4129,7 +4129,7 @@ function getModelCapabilities(modelId) {
4129
4129
  supportsStructuredOutput: true,
4130
4130
  isKnownModel: true
4131
4131
  };
4132
- } else if (modelId.includes("claude-sonnet-4-") || modelId.includes("claude-3-7-sonnet")) {
4132
+ } else if (modelId.includes("claude-sonnet-4-")) {
4133
4133
  return {
4134
4134
  maxOutputTokens: 64e3,
4135
4135
  supportsStructuredOutput: false,
@@ -4141,12 +4141,6 @@ function getModelCapabilities(modelId) {
4141
4141
  supportsStructuredOutput: false,
4142
4142
  isKnownModel: true
4143
4143
  };
4144
- } else if (modelId.includes("claude-3-5-haiku")) {
4145
- return {
4146
- maxOutputTokens: 8192,
4147
- supportsStructuredOutput: false,
4148
- isKnownModel: true
4149
- };
4150
4144
  } else if (modelId.includes("claude-3-haiku")) {
4151
4145
  return {
4152
4146
  maxOutputTokens: 4096,