@ai-sdk/openai 2.0.78 → 2.0.80

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.
@@ -3146,8 +3146,8 @@ import {
3146
3146
  import { z as z17 } from "zod/v4";
3147
3147
  var comparisonFilterSchema = z17.object({
3148
3148
  key: z17.string(),
3149
- type: z17.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
3150
- value: z17.union([z17.string(), z17.number(), z17.boolean()])
3149
+ type: z17.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
3150
+ value: z17.union([z17.string(), z17.number(), z17.boolean(), z17.array(z17.string())])
3151
3151
  });
3152
3152
  var compoundFilterSchema = z17.object({
3153
3153
  type: z17.enum(["and", "or"]),
@@ -3635,22 +3635,24 @@ var OpenAIResponsesLanguageModel = class {
3635
3635
  }
3636
3636
  }
3637
3637
  };
3638
- if (modelCapabilities.isReasoningModel || (openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) === "none" && modelCapabilities.supportsNonReasoningParameters) {
3639
- if (baseArgs.temperature != null) {
3640
- baseArgs.temperature = void 0;
3641
- warnings.push({
3642
- type: "unsupported-setting",
3643
- setting: "temperature",
3644
- details: "temperature is not supported for reasoning models"
3645
- });
3646
- }
3647
- if (baseArgs.top_p != null) {
3648
- baseArgs.top_p = void 0;
3649
- warnings.push({
3650
- type: "unsupported-setting",
3651
- setting: "topP",
3652
- details: "topP is not supported for reasoning models"
3653
- });
3638
+ if (modelCapabilities.isReasoningModel) {
3639
+ if (!((openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) === "none" && modelCapabilities.supportsNonReasoningParameters)) {
3640
+ if (baseArgs.temperature != null) {
3641
+ baseArgs.temperature = void 0;
3642
+ warnings.push({
3643
+ type: "unsupported-setting",
3644
+ setting: "temperature",
3645
+ details: "temperature is not supported for reasoning models"
3646
+ });
3647
+ }
3648
+ if (baseArgs.top_p != null) {
3649
+ baseArgs.top_p = void 0;
3650
+ warnings.push({
3651
+ type: "unsupported-setting",
3652
+ setting: "topP",
3653
+ details: "topP is not supported for reasoning models"
3654
+ });
3655
+ }
3654
3656
  }
3655
3657
  } else {
3656
3658
  if ((openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) != null) {