@ai-sdk/openai 3.0.88 → 3.0.89

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
@@ -2720,7 +2720,10 @@ var webSearchArgsSchema = lazySchema17(
2720
2720
  () => zodSchema17(
2721
2721
  z18.object({
2722
2722
  externalWebAccess: z18.boolean().optional(),
2723
- filters: z18.object({ allowedDomains: z18.array(z18.string()).optional() }).optional(),
2723
+ filters: z18.object({
2724
+ allowedDomains: z18.array(z18.string()).optional(),
2725
+ blockedDomains: z18.array(z18.string()).optional()
2726
+ }).optional(),
2724
2727
  searchContextSize: z18.enum(["low", "medium", "high"]).optional(),
2725
2728
  userLocation: z18.object({
2726
2729
  type: z18.literal("approximate"),
@@ -5087,7 +5090,10 @@ async function prepareResponsesTools({
5087
5090
  });
5088
5091
  openaiTools2.push({
5089
5092
  type: "web_search",
5090
- filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
5093
+ filters: args.filters != null ? {
5094
+ allowed_domains: args.filters.allowedDomains,
5095
+ blocked_domains: args.filters.blockedDomains
5096
+ } : void 0,
5091
5097
  external_web_access: args.externalWebAccess,
5092
5098
  search_context_size: args.searchContextSize,
5093
5099
  user_location: args.userLocation
@@ -7468,7 +7474,7 @@ var OpenAITranscriptionModel = class {
7468
7474
  };
7469
7475
 
7470
7476
  // src/version.ts
7471
- var VERSION = true ? "3.0.88" : "0.0.0-test";
7477
+ var VERSION = true ? "3.0.89" : "0.0.0-test";
7472
7478
 
7473
7479
  // src/openai-provider.ts
7474
7480
  function createOpenAI(options = {}) {