@ai-sdk/openai 2.0.83 → 2.0.85

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
@@ -1990,7 +1990,7 @@ var webSearchOutputSchema = lazySchema5(
1990
1990
  url: z13.string().nullish()
1991
1991
  }),
1992
1992
  z13.object({
1993
- type: z13.literal("find"),
1993
+ type: z13.literal("findInPage"),
1994
1994
  url: z13.string().nullish(),
1995
1995
  pattern: z13.string().nullish()
1996
1996
  })
@@ -2049,7 +2049,7 @@ var webSearchPreviewOutputSchema = lazySchema6(
2049
2049
  url: z14.string().nullish()
2050
2050
  }),
2051
2051
  z14.object({
2052
- type: z14.literal("find"),
2052
+ type: z14.literal("findInPage"),
2053
2053
  url: z14.string().nullish(),
2054
2054
  pattern: z14.string().nullish()
2055
2055
  })
@@ -2616,7 +2616,7 @@ var openaiResponsesChunkSchema = lazyValidator8(
2616
2616
  url: z16.string().nullish()
2617
2617
  }),
2618
2618
  z16.object({
2619
- type: z16.literal("find"),
2619
+ type: z16.literal("find_in_page"),
2620
2620
  url: z16.string().nullish(),
2621
2621
  pattern: z16.string().nullish()
2622
2622
  })
@@ -2826,7 +2826,7 @@ var openaiResponsesResponseSchema = lazyValidator8(
2826
2826
  url: z16.string().nullish()
2827
2827
  }),
2828
2828
  z16.object({
2829
- type: z16.literal("find"),
2829
+ type: z16.literal("find_in_page"),
2830
2830
  url: z16.string().nullish(),
2831
2831
  pattern: z16.string().nullish()
2832
2832
  })
@@ -2951,7 +2951,10 @@ var openaiResponsesReasoningModelIds = [
2951
2951
  "gpt-5.1-chat-latest",
2952
2952
  "gpt-5.1-codex-mini",
2953
2953
  "gpt-5.1-codex",
2954
- "gpt-5.1-codex-max"
2954
+ "gpt-5.1-codex-max",
2955
+ "gpt-5.2",
2956
+ "gpt-5.2-chat-latest",
2957
+ "gpt-5.2-pro"
2955
2958
  ];
2956
2959
  var openaiResponsesModelIds = [
2957
2960
  "gpt-4.1",
@@ -4265,9 +4268,13 @@ function mapWebSearchOutput(action) {
4265
4268
  };
4266
4269
  case "open_page":
4267
4270
  return { action: { type: "openPage", url: action.url } };
4268
- case "find":
4271
+ case "find_in_page":
4269
4272
  return {
4270
- action: { type: "find", url: action.url, pattern: action.pattern }
4273
+ action: {
4274
+ type: "findInPage",
4275
+ url: action.url,
4276
+ pattern: action.pattern
4277
+ }
4271
4278
  };
4272
4279
  }
4273
4280
  }
@@ -4643,7 +4650,7 @@ var OpenAITranscriptionModel = class {
4643
4650
  };
4644
4651
 
4645
4652
  // src/version.ts
4646
- var VERSION = true ? "2.0.83" : "0.0.0-test";
4653
+ var VERSION = true ? "2.0.85" : "0.0.0-test";
4647
4654
 
4648
4655
  // src/openai-provider.ts
4649
4656
  function createOpenAI(options = {}) {