@ai-sdk/openai 3.0.0-beta.63 → 3.0.0-beta.65

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
@@ -1948,6 +1948,7 @@ import { z as z13 } from "zod/v4";
1948
1948
  var webSearchArgsSchema = lazySchema12(
1949
1949
  () => zodSchema12(
1950
1950
  z13.object({
1951
+ externalWebAccess: z13.boolean().optional(),
1951
1952
  filters: z13.object({ allowedDomains: z13.array(z13.string()).optional() }).optional(),
1952
1953
  searchContextSize: z13.enum(["low", "medium", "high"]).optional(),
1953
1954
  userLocation: z13.object({
@@ -3346,6 +3347,7 @@ async function prepareResponsesTools({
3346
3347
  openaiTools2.push({
3347
3348
  type: "web_search",
3348
3349
  filters: args.filters != null ? { allowed_domains: args.filters.allowedDomains } : void 0,
3350
+ external_web_access: args.externalWebAccess,
3349
3351
  search_context_size: args.searchContextSize,
3350
3352
  user_location: args.userLocation
3351
3353
  });
@@ -5058,7 +5060,7 @@ var OpenAITranscriptionModel = class {
5058
5060
  };
5059
5061
 
5060
5062
  // src/version.ts
5061
- var VERSION = true ? "3.0.0-beta.63" : "0.0.0-test";
5063
+ var VERSION = true ? "3.0.0-beta.65" : "0.0.0-test";
5062
5064
 
5063
5065
  // src/openai-provider.ts
5064
5066
  function createOpenAI(options = {}) {