@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.
package/dist/index.mjs CHANGED
@@ -1837,8 +1837,8 @@ import {
1837
1837
  import { z as z10 } from "zod/v4";
1838
1838
  var comparisonFilterSchema = z10.object({
1839
1839
  key: z10.string(),
1840
- type: z10.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
1841
- value: z10.union([z10.string(), z10.number(), z10.boolean()])
1840
+ type: z10.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
1841
+ value: z10.union([z10.string(), z10.number(), z10.boolean(), z10.array(z10.string())])
1842
1842
  });
1843
1843
  var compoundFilterSchema = z10.object({
1844
1844
  type: z10.enum(["and", "or"]),
@@ -3343,22 +3343,24 @@ var OpenAIResponsesLanguageModel = class {
3343
3343
  }
3344
3344
  }
3345
3345
  };
3346
- if (modelCapabilities.isReasoningModel || (openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) === "none" && modelCapabilities.supportsNonReasoningParameters) {
3347
- if (baseArgs.temperature != null) {
3348
- baseArgs.temperature = void 0;
3349
- warnings.push({
3350
- type: "unsupported-setting",
3351
- setting: "temperature",
3352
- details: "temperature is not supported for reasoning models"
3353
- });
3354
- }
3355
- if (baseArgs.top_p != null) {
3356
- baseArgs.top_p = void 0;
3357
- warnings.push({
3358
- type: "unsupported-setting",
3359
- setting: "topP",
3360
- details: "topP is not supported for reasoning models"
3361
- });
3346
+ if (modelCapabilities.isReasoningModel) {
3347
+ if (!((openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) === "none" && modelCapabilities.supportsNonReasoningParameters)) {
3348
+ if (baseArgs.temperature != null) {
3349
+ baseArgs.temperature = void 0;
3350
+ warnings.push({
3351
+ type: "unsupported-setting",
3352
+ setting: "temperature",
3353
+ details: "temperature is not supported for reasoning models"
3354
+ });
3355
+ }
3356
+ if (baseArgs.top_p != null) {
3357
+ baseArgs.top_p = void 0;
3358
+ warnings.push({
3359
+ type: "unsupported-setting",
3360
+ setting: "topP",
3361
+ details: "topP is not supported for reasoning models"
3362
+ });
3363
+ }
3362
3364
  }
3363
3365
  } else {
3364
3366
  if ((openaiOptions == null ? void 0 : openaiOptions.reasoningEffort) != null) {
@@ -4630,7 +4632,7 @@ var OpenAITranscriptionModel = class {
4630
4632
  };
4631
4633
 
4632
4634
  // src/version.ts
4633
- var VERSION = true ? "2.0.78" : "0.0.0-test";
4635
+ var VERSION = true ? "2.0.80" : "0.0.0-test";
4634
4636
 
4635
4637
  // src/openai-provider.ts
4636
4638
  function createOpenAI(options = {}) {