@openai-oauth/ai-sdk 2.0.0-beta.1 → 2.0.0-beta.2
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/README.md +2 -0
- package/dist/index.js +1 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -54,6 +54,8 @@ export async function POST(request: Request) {
|
|
|
54
54
|
}
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
Use `@openai-oauth/react` to establish the browser credentials. See the [Sign in with ChatGPT setup](https://github.com/EvanZhouDev/openai-oauth#sign-in-with-chatgpt-setup).
|
|
58
|
+
|
|
57
59
|
API shape:
|
|
58
60
|
|
|
59
61
|
```ts
|
package/dist/index.js
CHANGED
|
@@ -212,8 +212,7 @@ var toTransport = (input) => {
|
|
|
212
212
|
fetch: input.fetch,
|
|
213
213
|
headers: input.headers,
|
|
214
214
|
instructions: input.instructions,
|
|
215
|
-
openAIBaseURL: input.openAIBaseURL
|
|
216
|
-
storeResponses: input.storeResponses
|
|
215
|
+
openAIBaseURL: input.openAIBaseURL
|
|
217
216
|
});
|
|
218
217
|
};
|
|
219
218
|
var createOpenAIOAuth = (input, settings = {}) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openai-oauth/ai-sdk",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.2",
|
|
4
4
|
"description": "Vercel AI SDK provider adapter for openai-oauth auth handles.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"openai",
|
|
@@ -43,10 +43,10 @@
|
|
|
43
43
|
"@ai-sdk/openai": "3.0.41",
|
|
44
44
|
"@ai-sdk/provider": "3.0.8",
|
|
45
45
|
"@ai-sdk/provider-utils": "4.0.19",
|
|
46
|
-
"@openai-oauth/core": "2.0.0-beta.
|
|
46
|
+
"@openai-oauth/core": "2.0.0-beta.2"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@openai-oauth/local": "2.0.0-beta.
|
|
49
|
+
"@openai-oauth/local": "2.0.0-beta.2",
|
|
50
50
|
"@types/node": "20.17.24",
|
|
51
51
|
"ai": "6.0.116",
|
|
52
52
|
"typescript": "latest",
|