@ai-sdk/openai 1.3.12 → 1.3.14

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
  }
@@ -2134,6 +2134,7 @@ var OpenAIResponsesLanguageModel = class {
2134
2134
  constructor(modelId, config) {
2135
2135
  this.specificationVersion = "v1";
2136
2136
  this.defaultObjectGenerationMode = "json";
2137
+ this.supportsStructuredOutputs = true;
2137
2138
  this.modelId = modelId;
2138
2139
  this.config = config;
2139
2140
  }