@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.
package/dist/index.mjs CHANGED
@@ -526,13 +526,13 @@ var OpenAIChatLanguageModel = class {
526
526
  }
527
527
  baseArgs.max_tokens = void 0;
528
528
  }
529
- } else if (this.modelId.startsWith("gpt-4o-search-preview")) {
529
+ } else if (this.modelId.startsWith("gpt-4o-search-preview") || this.modelId.startsWith("gpt-4o-mini-search-preview")) {
530
530
  if (baseArgs.temperature != null) {
531
531
  baseArgs.temperature = void 0;
532
532
  warnings.push({
533
533
  type: "unsupported-setting",
534
534
  setting: "temperature",
535
- details: "temperature is not supported for the gpt-4o-search-preview model and has been removed."
535
+ details: "temperature is not supported for the search preview models and has been removed."
536
536
  });
537
537
  }
538
538
  }