@ai-sdk/openai 3.0.50 → 3.0.52
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 +13 -0
- package/README.md +2 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @ai-sdk/openai
|
|
2
2
|
|
|
3
|
+
## 3.0.52
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d42076d: Add AI Gateway hint to provider READMEs
|
|
8
|
+
|
|
9
|
+
## 3.0.51
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [6247886]
|
|
14
|
+
- @ai-sdk/provider-utils@4.0.23
|
|
15
|
+
|
|
3
16
|
## 3.0.50
|
|
4
17
|
|
|
5
18
|
### 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
|
@@ -6647,7 +6647,7 @@ var OpenAITranscriptionModel = class {
|
|
|
6647
6647
|
};
|
|
6648
6648
|
|
|
6649
6649
|
// src/version.ts
|
|
6650
|
-
var VERSION = true ? "3.0.
|
|
6650
|
+
var VERSION = true ? "3.0.52" : "0.0.0-test";
|
|
6651
6651
|
|
|
6652
6652
|
// src/openai-provider.ts
|
|
6653
6653
|
function createOpenAI(options = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -6738,7 +6738,7 @@ var OpenAITranscriptionModel = class {
|
|
|
6738
6738
|
};
|
|
6739
6739
|
|
|
6740
6740
|
// src/version.ts
|
|
6741
|
-
var VERSION = true ? "3.0.
|
|
6741
|
+
var VERSION = true ? "3.0.52" : "0.0.0-test";
|
|
6742
6742
|
|
|
6743
6743
|
// src/openai-provider.ts
|
|
6744
6744
|
function createOpenAI(options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/openai",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.52",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@ai-sdk/provider": "3.0.8",
|
|
40
|
-
"@ai-sdk/provider-utils": "4.0.
|
|
40
|
+
"@ai-sdk/provider-utils": "4.0.23"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/node": "20.17.24",
|