@ai-sdk/openai 2.0.102 → 2.0.103

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,11 @@
1
1
  # @ai-sdk/openai
2
2
 
3
+ ## 2.0.103
4
+
5
+ ### Patch Changes
6
+
7
+ - 5543cd1: Add AI Gateway hint to provider READMEs
8
+
3
9
  ## 2.0.102
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -3,6 +3,8 @@
3
3
  The **[OpenAI provider](https://ai-sdk.dev/providers/ai-sdk-providers/openai)** for the [AI SDK](https://ai-sdk.dev/docs)
4
4
  contains language model support for the OpenAI chat and completion APIs and embedding model support for the OpenAI embeddings API.
5
5
 
6
+ > **Deploying to Vercel?** With Vercel's AI Gateway you can access OpenAI (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
7
+
6
8
  ## Setup
7
9
 
8
10
  The OpenAI provider is available in the `@ai-sdk/openai` module. You can install it with
package/dist/index.js CHANGED
@@ -4640,7 +4640,7 @@ var OpenAITranscriptionModel = class {
4640
4640
  };
4641
4641
 
4642
4642
  // src/version.ts
4643
- var VERSION = true ? "2.0.102" : "0.0.0-test";
4643
+ var VERSION = true ? "2.0.103" : "0.0.0-test";
4644
4644
 
4645
4645
  // src/openai-provider.ts
4646
4646
  function createOpenAI(options = {}) {
package/dist/index.mjs CHANGED
@@ -4731,7 +4731,7 @@ var OpenAITranscriptionModel = class {
4731
4731
  };
4732
4732
 
4733
4733
  // src/version.ts
4734
- var VERSION = true ? "2.0.102" : "0.0.0-test";
4734
+ var VERSION = true ? "2.0.103" : "0.0.0-test";
4735
4735
 
4736
4736
  // src/openai-provider.ts
4737
4737
  function createOpenAI(options = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-sdk/openai",
3
- "version": "2.0.102",
3
+ "version": "2.0.103",
4
4
  "license": "Apache-2.0",
5
5
  "sideEffects": false,
6
6
  "main": "./dist/index.js",
@@ -26,8 +26,8 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "@ai-sdk/provider": "2.0.1",
30
- "@ai-sdk/provider-utils": "3.0.23"
29
+ "@ai-sdk/provider-utils": "3.0.23",
30
+ "@ai-sdk/provider": "2.0.1"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@types/node": "20.17.24",