@ai-sdk/openai 1.3.11 → 1.3.13

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.
@@ -520,13 +520,13 @@ var OpenAIChatLanguageModel = class {
520
520
  }
521
521
  baseArgs.max_tokens = void 0;
522
522
  }
523
- } else if (this.modelId.startsWith("gpt-4o-search-preview")) {
523
+ } else if (this.modelId.startsWith("gpt-4o-search-preview") || this.modelId.startsWith("gpt-4o-mini-search-preview")) {
524
524
  if (baseArgs.temperature != null) {
525
525
  baseArgs.temperature = void 0;
526
526
  warnings.push({
527
527
  type: "unsupported-setting",
528
528
  setting: "temperature",
529
- details: "temperature is not supported for the gpt-4o-search-preview model and has been removed."
529
+ details: "temperature is not supported for the search preview models and has been removed."
530
530
  });
531
531
  }
532
532
  }