@ai-sdk/anthropic 4.0.17 → 4.0.18

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.
@@ -3614,6 +3614,13 @@ var AnthropicLanguageModel = class _AnthropicLanguageModel {
3614
3614
  supportsXhighEffort,
3615
3615
  isKnownModel
3616
3616
  } = getModelCapabilities(this.modelId);
3617
+ if (!isKnownModel && maxOutputTokens == null) {
3618
+ warnings.push({
3619
+ type: "compatibility",
3620
+ feature: "maxOutputTokens",
3621
+ details: `The model "${this.modelId}" is unknown. The max output tokens have been limited to ${maxOutputTokensForModel}. Set maxOutputTokens explicitly to override this limit.`
3622
+ });
3623
+ }
3617
3624
  if (rejectsSamplingParameters) {
3618
3625
  if (temperature != null) {
3619
3626
  warnings.push({