@ai-sdk/openai 2.0.115 → 2.0.116

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
@@ -2188,7 +2188,10 @@ var webSearchArgsSchema = lazySchema5(
2188
2188
  () => zodSchema13(
2189
2189
  z14.object({
2190
2190
  externalWebAccess: z14.boolean().optional(),
2191
- filters: z14.object({ allowedDomains: z14.array(z14.string()).optional() }).optional(),
2191
+ filters: z14.object({
2192
+ allowedDomains: z14.array(z14.string()).optional(),
2193
+ blockedDomains: z14.array(z14.string()).optional()
2194
+ }).optional(),
2192
2195
  searchContextSize: z14.enum(["low", "medium", "high"]).optional(),
2193
2196
  userLocation: z14.object({
2194
2197
  type: z14.literal("approximate"),
@@ -3502,7 +3505,10 @@ async function prepareResponsesTools({
3502
3505
  });
3503
3506
  openaiTools2.push({
3504
3507
  type: "web_search",
3505
- filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
3508
+ filters: args.filters != null ? {
3509
+ allowed_domains: args.filters.allowedDomains,
3510
+ blocked_domains: args.filters.blockedDomains
3511
+ } : void 0,
3506
3512
  external_web_access: args.externalWebAccess,
3507
3513
  search_context_size: args.searchContextSize,
3508
3514
  user_location: args.userLocation
@@ -5091,7 +5097,7 @@ var OpenAITranscriptionModel = class {
5091
5097
  };
5092
5098
 
5093
5099
  // src/version.ts
5094
- var VERSION = true ? "2.0.115" : "0.0.0-test";
5100
+ var VERSION = true ? "2.0.116" : "0.0.0-test";
5095
5101
 
5096
5102
  // src/openai-provider.ts
5097
5103
  function createOpenAI(options = {}) {