@ai-sdk/openai-compatible 2.0.40 → 2.0.41
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 +2 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -4,6 +4,8 @@ This package provides a foundation for implementing providers that expose an Ope
|
|
|
4
4
|
|
|
5
5
|
The primary [OpenAI provider](../openai/README.md) is more feature-rich, including OpenAI-specific experimental and legacy features. This package offers a lighter-weight alternative focused on core OpenAI-compatible functionality.
|
|
6
6
|
|
|
7
|
+
> **Deploying to Vercel?** With Vercel's AI Gateway you can access hundreds of models from any provider — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).
|
|
8
|
+
|
|
7
9
|
## Setup
|
|
8
10
|
|
|
9
11
|
The provider is available in the `@ai-sdk/openai-compatible` module. You can install it with
|
package/dist/index.js
CHANGED
|
@@ -1693,7 +1693,7 @@ async function fileToBlob(file) {
|
|
|
1693
1693
|
var import_provider_utils6 = require("@ai-sdk/provider-utils");
|
|
1694
1694
|
|
|
1695
1695
|
// src/version.ts
|
|
1696
|
-
var VERSION = true ? "2.0.
|
|
1696
|
+
var VERSION = true ? "2.0.41" : "0.0.0-test";
|
|
1697
1697
|
|
|
1698
1698
|
// src/openai-compatible-provider.ts
|
|
1699
1699
|
function createOpenAICompatible(options) {
|
package/dist/index.mjs
CHANGED
|
@@ -1710,7 +1710,7 @@ import {
|
|
|
1710
1710
|
} from "@ai-sdk/provider-utils";
|
|
1711
1711
|
|
|
1712
1712
|
// src/version.ts
|
|
1713
|
-
var VERSION = true ? "2.0.
|
|
1713
|
+
var VERSION = true ? "2.0.41" : "0.0.0-test";
|
|
1714
1714
|
|
|
1715
1715
|
// src/openai-compatible-provider.ts
|
|
1716
1716
|
function createOpenAICompatible(options) {
|