@ai-sdk/openai-compatible 2.0.22 → 2.0.23
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 +6 -0
- package/README.md +8 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -12,6 +12,14 @@ The provider is available in the `@ai-sdk/openai-compatible` module. You can ins
|
|
|
12
12
|
npm i @ai-sdk/openai-compatible
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
+
## Skill for Coding Agents
|
|
16
|
+
|
|
17
|
+
If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:
|
|
18
|
+
|
|
19
|
+
```shell
|
|
20
|
+
npx skills add vercel/ai
|
|
21
|
+
```
|
|
22
|
+
|
|
15
23
|
## Provider Instance
|
|
16
24
|
|
|
17
25
|
You can import the provider creation method `createOpenAICompatible` from `@ai-sdk/openai-compatible`:
|
package/dist/index.js
CHANGED
|
@@ -1661,7 +1661,7 @@ function toCamelCase(str) {
|
|
|
1661
1661
|
var import_provider_utils6 = require("@ai-sdk/provider-utils");
|
|
1662
1662
|
|
|
1663
1663
|
// src/version.ts
|
|
1664
|
-
var VERSION = true ? "2.0.
|
|
1664
|
+
var VERSION = true ? "2.0.23" : "0.0.0-test";
|
|
1665
1665
|
|
|
1666
1666
|
// src/openai-compatible-provider.ts
|
|
1667
1667
|
function createOpenAICompatible(options) {
|
package/dist/index.mjs
CHANGED
|
@@ -1675,7 +1675,7 @@ import {
|
|
|
1675
1675
|
} from "@ai-sdk/provider-utils";
|
|
1676
1676
|
|
|
1677
1677
|
// src/version.ts
|
|
1678
|
-
var VERSION = true ? "2.0.
|
|
1678
|
+
var VERSION = true ? "2.0.23" : "0.0.0-test";
|
|
1679
1679
|
|
|
1680
1680
|
// src/openai-compatible-provider.ts
|
|
1681
1681
|
function createOpenAICompatible(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/openai-compatible",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.23",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"tsup": "^8",
|
|
45
45
|
"typescript": "5.8.3",
|
|
46
46
|
"zod": "3.25.76",
|
|
47
|
-
"@ai-
|
|
48
|
-
"@
|
|
47
|
+
"@vercel/ai-tsconfig": "0.0.0",
|
|
48
|
+
"@ai-sdk/test-server": "1.0.3"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"zod": "^3.25.76 || ^4.1.8"
|