@ai-sdk/mistral 2.0.30 → 2.0.31
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 +3 -3
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The **[Mistral provider](https://ai-sdk.dev/providers/ai-sdk-providers/mistral)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the Mistral chat API.
|
|
4
4
|
|
|
5
|
+
> **Deploying to Vercel?** With Vercel's AI Gateway you can access Mistral (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).
|
|
6
|
+
|
|
5
7
|
## Setup
|
|
6
8
|
|
|
7
9
|
The Mistral provider is available in the `@ai-sdk/mistral` module. You can install it with
|
package/dist/index.js
CHANGED
|
@@ -783,7 +783,7 @@ var MistralTextEmbeddingResponseSchema = import_v44.z.object({
|
|
|
783
783
|
});
|
|
784
784
|
|
|
785
785
|
// src/version.ts
|
|
786
|
-
var VERSION = true ? "2.0.
|
|
786
|
+
var VERSION = true ? "2.0.31" : "0.0.0-test";
|
|
787
787
|
|
|
788
788
|
// src/mistral-provider.ts
|
|
789
789
|
function createMistral(options = {}) {
|
package/dist/index.mjs
CHANGED
|
@@ -779,7 +779,7 @@ var MistralTextEmbeddingResponseSchema = z4.object({
|
|
|
779
779
|
});
|
|
780
780
|
|
|
781
781
|
// src/version.ts
|
|
782
|
-
var VERSION = true ? "2.0.
|
|
782
|
+
var VERSION = true ? "2.0.31" : "0.0.0-test";
|
|
783
783
|
|
|
784
784
|
// src/mistral-provider.ts
|
|
785
785
|
function createMistral(options = {}) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/mistral",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.31",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@ai-sdk/provider
|
|
23
|
-
"@ai-sdk/provider": "
|
|
22
|
+
"@ai-sdk/provider": "2.0.1",
|
|
23
|
+
"@ai-sdk/provider-utils": "3.0.23"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "20.17.24",
|