@ai-sdk/anthropic 3.0.99 → 3.0.100

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.
@@ -3389,6 +3389,13 @@ var AnthropicMessagesLanguageModel = class {
3389
3389
  rejectsSamplingParameters,
3390
3390
  isKnownModel
3391
3391
  } = getModelCapabilities(this.modelId);
3392
+ if (!isKnownModel && maxOutputTokens == null) {
3393
+ warnings.push({
3394
+ type: "compatibility",
3395
+ feature: "maxOutputTokens",
3396
+ details: `The model "${this.modelId}" is unknown. The max output tokens have been limited to ${maxOutputTokensForModel}. Set maxOutputTokens explicitly to override this limit.`
3397
+ });
3398
+ }
3392
3399
  if (rejectsSamplingParameters) {
3393
3400
  if (temperature != null) {
3394
3401
  warnings.push({