@ai-sdk/openai 2.1.0-beta.2 → 2.1.0-beta.3

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
@@ -251,7 +251,7 @@ function mapOpenAIFinishReason(finishReason) {
251
251
 
252
252
  // src/chat/openai-chat-options.ts
253
253
  import { z as z2 } from "zod/v4";
254
- var openaiProviderOptions = z2.object({
254
+ var openaiChatLanguageModelOptions = z2.object({
255
255
  /**
256
256
  * Modify the likelihood of specified tokens appearing in the completion.
257
257
  *
@@ -435,7 +435,7 @@ var OpenAIChatLanguageModel = class {
435
435
  const openaiOptions = (_a = await parseProviderOptions({
436
436
  provider: "openai",
437
437
  providerOptions,
438
- schema: openaiProviderOptions
438
+ schema: openaiChatLanguageModelOptions
439
439
  })) != null ? _a : {};
440
440
  const structuredOutputs = (_b = openaiOptions.structuredOutputs) != null ? _b : true;
441
441
  if (topK != null) {
@@ -3905,7 +3905,7 @@ var openaiTranscriptionResponseSchema = z18.object({
3905
3905
  });
3906
3906
 
3907
3907
  // src/version.ts
3908
- var VERSION = true ? "2.1.0-beta.2" : "0.0.0-test";
3908
+ var VERSION = true ? "2.1.0-beta.3" : "0.0.0-test";
3909
3909
 
3910
3910
  // src/openai-provider.ts
3911
3911
  function createOpenAI(options = {}) {