@ai-sdk/openai 3.0.0-beta.87 → 3.0.0-beta.88

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 3.0.0-beta.88
4
+
5
+ ### Patch Changes
6
+
7
+ - 92c6241: feat(openai): additional settings for file search tool
8
+
3
9
  ## 3.0.0-beta.87
4
10
 
5
11
  ### Patch Changes
package/dist/index.d.mts CHANGED
@@ -137,13 +137,13 @@ type OpenAIResponsesFileSearchToolComparisonFilter = {
137
137
  */
138
138
  key: string;
139
139
  /**
140
- * Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
140
+ * Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
141
141
  */
142
- type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
142
+ type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
143
143
  /**
144
- * The value to compare against the attribute key; supports string, number, or boolean types.
144
+ * The value to compare against the attribute key; supports string, number, boolean, or array of string types.
145
145
  */
146
- value: string | number | boolean;
146
+ value: string | number | boolean | string[];
147
147
  };
148
148
  /**
149
149
  * Combine multiple filters using and or or.
package/dist/index.d.ts CHANGED
@@ -137,13 +137,13 @@ type OpenAIResponsesFileSearchToolComparisonFilter = {
137
137
  */
138
138
  key: string;
139
139
  /**
140
- * Specifies the comparison operator: eq, ne, gt, gte, lt, lte.
140
+ * Specifies the comparison operator: eq, ne, gt, gte, lt, lte, in, nin.
141
141
  */
142
- type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte';
142
+ type: 'eq' | 'ne' | 'gt' | 'gte' | 'lt' | 'lte' | 'in' | 'nin';
143
143
  /**
144
- * The value to compare against the attribute key; supports string, number, or boolean types.
144
+ * The value to compare against the attribute key; supports string, number, boolean, or array of string types.
145
145
  */
146
- value: string | number | boolean;
146
+ value: string | number | boolean | string[];
147
147
  };
148
148
  /**
149
149
  * Combine multiple filters using and or or.
package/dist/index.js CHANGED
@@ -1839,8 +1839,8 @@ var import_provider_utils16 = require("@ai-sdk/provider-utils");
1839
1839
  var import_v411 = require("zod/v4");
1840
1840
  var comparisonFilterSchema = import_v411.z.object({
1841
1841
  key: import_v411.z.string(),
1842
- type: import_v411.z.enum(["eq", "ne", "gt", "gte", "lt", "lte"]),
1843
- value: import_v411.z.union([import_v411.z.string(), import_v411.z.number(), import_v411.z.boolean()])
1842
+ type: import_v411.z.enum(["eq", "ne", "gt", "gte", "lt", "lte", "in", "nin"]),
1843
+ value: import_v411.z.union([import_v411.z.string(), import_v411.z.number(), import_v411.z.boolean(), import_v411.z.array(import_v411.z.string())])
1844
1844
  });
1845
1845
  var compoundFilterSchema = import_v411.z.object({
1846
1846
  type: import_v411.z.enum(["and", "or"]),
@@ -5404,7 +5404,7 @@ var OpenAITranscriptionModel = class {
5404
5404
  };
5405
5405
 
5406
5406
  // src/version.ts
5407
- var VERSION = true ? "3.0.0-beta.87" : "0.0.0-test";
5407
+ var VERSION = true ? "3.0.0-beta.88" : "0.0.0-test";
5408
5408
 
5409
5409
  // src/openai-provider.ts
5410
5410
  function createOpenAI(options = {}) {