@ai-sdk/openai 2.0.57 → 2.0.59

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/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 2.0.59
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f2da310]
8
+ - @ai-sdk/provider-utils@3.0.15
9
+
10
+ ## 2.0.58
11
+
12
+ ### Patch Changes
13
+
14
+ - 0f9d079: fix(openai): revised_prompt sometimes returns null, causing errors
15
+
3
16
  ## 2.0.57
4
17
 
5
18
  ### Patch Changes
package/dist/index.js CHANGED
@@ -1654,7 +1654,7 @@ var openaiImageResponseSchema = (0, import_provider_utils12.lazyValidator)(
1654
1654
  data: import_v48.z.array(
1655
1655
  import_v48.z.object({
1656
1656
  b64_json: import_v48.z.string(),
1657
- revised_prompt: import_v48.z.string().optional()
1657
+ revised_prompt: import_v48.z.string().nullish()
1658
1658
  })
1659
1659
  )
1660
1660
  })
@@ -4457,7 +4457,7 @@ var OpenAITranscriptionModel = class {
4457
4457
  };
4458
4458
 
4459
4459
  // src/version.ts
4460
- var VERSION = true ? "2.0.57" : "0.0.0-test";
4460
+ var VERSION = true ? "2.0.59" : "0.0.0-test";
4461
4461
 
4462
4462
  // src/openai-provider.ts
4463
4463
  function createOpenAI(options = {}) {