@ai-sdk/moonshotai 2.0.14 → 2.0.16
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 +15 -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,20 @@
|
|
|
1
1
|
# @ai-sdk/moonshotai
|
|
2
2
|
|
|
3
|
+
## 2.0.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d42076d: Add AI Gateway hint to provider READMEs
|
|
8
|
+
- Updated dependencies [d42076d]
|
|
9
|
+
- @ai-sdk/openai-compatible@2.0.41
|
|
10
|
+
|
|
11
|
+
## 2.0.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [01c9c16]
|
|
16
|
+
- @ai-sdk/openai-compatible@2.0.40
|
|
17
|
+
|
|
3
18
|
## 2.0.14
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
The **[Moonshot AI provider](https://ai-sdk.dev/providers/ai-sdk-providers/moonshotai)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [Moonshot AI](https://platform.moonshot.cn) platform, including the Kimi model series.
|
|
4
4
|
|
|
5
|
+
> **Deploying to Vercel?** With Vercel's AI Gateway you can access Moonshot AI (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 Moonshot AI provider is available in the `@ai-sdk/moonshotai` module. You can install it with
|
package/dist/index.js
CHANGED
|
@@ -109,7 +109,7 @@ var MoonshotAIChatLanguageModel = class extends import_openai_compatible.OpenAIC
|
|
|
109
109
|
};
|
|
110
110
|
|
|
111
111
|
// src/version.ts
|
|
112
|
-
var VERSION = "2.0.
|
|
112
|
+
var VERSION = "2.0.16";
|
|
113
113
|
|
|
114
114
|
// src/moonshotai-provider.ts
|
|
115
115
|
var moonshotaiErrorSchema = import_v4.z.object({
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-sdk/moonshotai",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.16",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@ai-sdk/openai-compatible": "2.0.
|
|
28
|
+
"@ai-sdk/openai-compatible": "2.0.41",
|
|
29
29
|
"@ai-sdk/provider": "3.0.8",
|
|
30
30
|
"@ai-sdk/provider-utils": "4.0.23"
|
|
31
31
|
},
|