@eum-agent/llm-provider-kimi 1.1.0 → 1.2.0
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/dist/index.js +743 -105
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
//#endregion
|
|
2
2
|
//#region src/catalog.ts
|
|
3
|
-
/** Supplier-owned catalogue rows; protocol request facts belong to protocol registrations. */
|
|
4
3
|
const catalog = {
|
|
5
4
|
vendors: [
|
|
6
5
|
{
|
|
7
6
|
kind: "vendor",
|
|
8
7
|
id: "moonshot-cn",
|
|
9
8
|
logo: "data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20height%3D%2224%22%20style%3D%22flex%3Anone%3Bline-height%3A1%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EMoonshotAI%3C%2Ftitle%3E%3Cpath%20d%3D%22M1.052%2016.916l9.539%202.552a21.007%2021.007%200%2000.06%202.033l5.956%201.593a11.997%2011.997%200%2001-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605%2011.605%200%2001-.157-.02l-.107-.014-.11-.016a11.962%2011.962%200%2001-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293%206.293%200%2001-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655%205.655%200%2001-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49%206.49%200%2001-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785%207.785%200%2001-.054-.036l-.044-.03-.044-.03a6.066%206.066%200%2001-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516%207.516%200%2001-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28%2013.28%200%2001-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457%206.457%200%2001-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175%207.175%200%2001-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99%2011.99%200%2001-1.44-2.402zm-1.02-5.794l11.353%203.037a20.468%2020.468%200%2000-.469%202.011l10.817%202.894a12.076%2012.076%200%2001-1.845%202.005L.657%2015.923l-.016-.046-.035-.104a11.965%2011.965%200%2001-.05-.153l-.007-.023a11.896%2011.896%200%2001-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01%2012.01%200%2001-.019-.161l-.005-.047a12.12%2012.12%200%2001-.034-2.145zm1.593-5.15l11.948%203.196c-.368.605-.705%201.231-1.01%201.875l11.295%203.022c-.142.82-.368%201.612-.668%202.365l-11.55-3.09L.124%2010.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896%2011.896%200%20011.01-2.232zm4.442-4.4L17.352%204.59a20.77%2020.77%200%2000-1.688%201.721l7.823%202.093c.267.852.442%201.744.513%202.665L2.106%205.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084%2012.084%200%20012.272-1.677zM12.017%200h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6%201.353%201.283%201.909%202.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",
|
|
10
|
-
name: "
|
|
11
|
-
region: "
|
|
9
|
+
name: "\u6708\u4e4b\u6697\u9762 Kimi",
|
|
10
|
+
region: "\u56fd\u5185",
|
|
12
11
|
market: "domestic",
|
|
13
12
|
catalogKey: "moonshotai-cn",
|
|
14
13
|
canListModels: true,
|
|
@@ -29,8 +28,8 @@ const catalog = {
|
|
|
29
28
|
kind: "vendor",
|
|
30
29
|
id: "moonshot",
|
|
31
30
|
logo: "data:image/svg+xml,%3Csvg%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20height%3D%2224%22%20style%3D%22flex%3Anone%3Bline-height%3A1%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EMoonshotAI%3C%2Ftitle%3E%3Cpath%20d%3D%22M1.052%2016.916l9.539%202.552a21.007%2021.007%200%2000.06%202.033l5.956%201.593a11.997%2011.997%200%2001-5.586.865l-.18-.016-.044-.004-.084-.009-.094-.01a11.605%2011.605%200%2001-.157-.02l-.107-.014-.11-.016a11.962%2011.962%200%2001-.32-.051l-.042-.008-.075-.013-.107-.02-.07-.015-.093-.019-.075-.016-.095-.02-.097-.023-.094-.022-.068-.017-.088-.022-.09-.024-.095-.025-.082-.023-.109-.03-.062-.02-.084-.025-.093-.028-.105-.034-.058-.019-.08-.026-.09-.031-.066-.024a6.293%206.293%200%2001-.044-.015l-.068-.025-.101-.037-.057-.022-.08-.03-.087-.035-.088-.035-.079-.032-.095-.04-.063-.028-.063-.027a5.655%205.655%200%2001-.041-.018l-.066-.03-.103-.047-.052-.024-.096-.046-.062-.03-.084-.04-.086-.044-.093-.047-.052-.027-.103-.055-.057-.03-.058-.032a6.49%206.49%200%2001-.046-.026l-.094-.053-.06-.034-.051-.03-.072-.041-.082-.05-.093-.056-.052-.032-.084-.053-.061-.039-.079-.05-.07-.047-.053-.035a7.785%207.785%200%2001-.054-.036l-.044-.03-.044-.03a6.066%206.066%200%2001-.04-.028l-.057-.04-.076-.054-.069-.05-.074-.054-.056-.042-.076-.057-.076-.059-.086-.067-.045-.035-.064-.052-.074-.06-.089-.073-.046-.039-.046-.039a7.516%207.516%200%2001-.043-.037l-.045-.04-.061-.053-.07-.062-.068-.06-.062-.058-.067-.062-.053-.05-.088-.084a13.28%2013.28%200%2001-.099-.097l-.029-.028-.041-.042-.069-.07-.05-.051-.05-.053a6.457%206.457%200%2001-.168-.179l-.08-.088-.062-.07-.071-.08-.042-.049-.053-.062-.058-.068-.046-.056a7.175%207.175%200%2001-.027-.033l-.045-.055-.066-.082-.041-.052-.05-.064-.02-.025a11.99%2011.99%200%2001-1.44-2.402zm-1.02-5.794l11.353%203.037a20.468%2020.468%200%2000-.469%202.011l10.817%202.894a12.076%2012.076%200%2001-1.845%202.005L.657%2015.923l-.016-.046-.035-.104a11.965%2011.965%200%2001-.05-.153l-.007-.023a11.896%2011.896%200%2001-.207-.741l-.03-.126-.018-.08-.021-.097-.018-.081-.018-.09-.017-.084-.018-.094c-.026-.141-.05-.283-.071-.426l-.017-.118-.011-.083-.013-.102a12.01%2012.01%200%2001-.019-.161l-.005-.047a12.12%2012.12%200%2001-.034-2.145zm1.593-5.15l11.948%203.196c-.368.605-.705%201.231-1.01%201.875l11.295%203.022c-.142.82-.368%201.612-.668%202.365l-11.55-3.09L.124%2010.26l.015-.1.008-.049.01-.067.015-.087.018-.098c.026-.148.056-.295.088-.442l.028-.124.02-.085.024-.097c.022-.09.045-.18.07-.268l.028-.102.023-.083.03-.1.025-.082.03-.096.026-.082.031-.095a11.896%2011.896%200%20011.01-2.232zm4.442-4.4L17.352%204.59a20.77%2020.77%200%2000-1.688%201.721l7.823%202.093c.267.852.442%201.744.513%202.665L2.106%205.213l.045-.065.027-.04.04-.055.046-.065.055-.076.054-.072.064-.086.05-.065.057-.073.055-.07.06-.074.055-.069.065-.077.054-.066.066-.077.053-.06.072-.082.053-.06.067-.074.054-.058.073-.078.058-.06.063-.067.168-.17.1-.098.059-.056.076-.071a12.084%2012.084%200%20012.272-1.677zM12.017%200h.097l.082.001.069.001.054.002.068.002.046.001.076.003.047.002.06.003.054.002.087.005.105.007.144.011.088.007.044.004.077.008.082.008.047.005.102.012.05.006.108.014.081.01.042.006.065.01.207.032.07.012.065.011.14.026.092.018.11.022.046.01.075.016.041.01L14.7.3l.042.01.065.015.049.012.071.017.096.024.112.03.113.03.113.032.05.015.07.02.078.024.073.023.05.016.05.016.076.025.099.033.102.036.048.017.064.023.093.034.11.041.116.045.1.04.047.02.06.024.041.018.063.026.04.018.057.025.11.048.1.046.074.035.075.036.06.028.092.046.091.045.102.052.053.028.049.026.046.024.06.033.041.022.052.029.088.05.106.06.087.051.057.034.053.032.096.059.088.055.098.062.036.024.064.041.084.056.04.027.062.042.062.043.023.017c.054.037.108.075.161.114l.083.06.065.048.056.043.086.065.082.064.04.03.05.041.086.069.079.065.085.071c.712.6%201.353%201.283%201.909%202.031L7.222.994l.062-.027.065-.028.081-.034.086-.035c.113-.045.227-.09.341-.131l.096-.035.093-.033.084-.03.096-.031c.087-.03.176-.058.264-.085l.091-.027.086-.025.102-.03.085-.023.1-.026L9.04.37l.09-.023.091-.022.095-.022.09-.02.098-.021.091-.02.095-.018.092-.018.1-.018.091-.016.098-.017.092-.014.097-.015.092-.013.102-.013.091-.012.105-.012.09-.01.105-.01c.093-.01.186-.018.28-.024l.106-.008.09-.005.11-.006.093-.004.1-.004.097-.002.099-.002.197-.002z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",
|
|
32
|
-
name: "
|
|
33
|
-
region: "
|
|
31
|
+
name: "\u6708\u4e4b\u6697\u9762 Kimi",
|
|
32
|
+
region: "\u56fd\u9645",
|
|
34
33
|
market: "international",
|
|
35
34
|
catalogKey: "moonshotai",
|
|
36
35
|
canListModels: true,
|
|
@@ -52,7 +51,7 @@ const catalog = {
|
|
|
52
51
|
id: "kimi-coding-cn",
|
|
53
52
|
logo: "data:image/svg+xml,%3Csvg%20height%3D%2224%22%20style%3D%22flex%3Anone%3Bline-height%3A1%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EKimi%3C%2Ftitle%3E%3Cpath%20d%3D%22M21.846%200a1.923%201.923%200%20110%203.846H20.15a.226.226%200%2001-.227-.226V1.923C19.923.861%2020.784%200%2021.846%200z%22%20fill%3D%22%231783FF%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M11.065%2011.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164%200%2000-.117.051l-7.82%207.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103%200-.186.103-.186.23V19.77c0%20.128.083.23.186.23h2.69c.103%200%20.186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158%200%2001.205-.023l6.484%204.772a7.677%207.677%200%20003.453%201.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028%205.028%200%2001-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z%22%20fill%3D%22%23000%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",
|
|
54
53
|
name: "Kimi For Coding",
|
|
55
|
-
region: "
|
|
54
|
+
region: "\u56fd\u5185",
|
|
56
55
|
market: "domestic",
|
|
57
56
|
catalogKey: "kimi-code-plan-cn",
|
|
58
57
|
canListModels: true,
|
|
@@ -73,7 +72,7 @@ const catalog = {
|
|
|
73
72
|
id: "kimi-coding",
|
|
74
73
|
logo: "data:image/svg+xml,%3Csvg%20height%3D%2224%22%20style%3D%22flex%3Anone%3Bline-height%3A1%22%20viewBox%3D%220%200%2024%2024%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Ctitle%3EKimi%3C%2Ftitle%3E%3Cpath%20d%3D%22M21.846%200a1.923%201.923%200%20110%203.846H20.15a.226.226%200%2001-.227-.226V1.923C19.923.861%2020.784%200%2021.846%200z%22%20fill%3D%22%231783FF%22%3E%3C%2Fpath%3E%3Cpath%20d%3D%22M11.065%2011.199l7.257-7.2c.137-.136.06-.41-.116-.41H14.3a.164.164%200%2000-.117.051l-7.82%207.756c-.122.12-.302.013-.302-.179V3.82c0-.127-.083-.23-.185-.23H3.186c-.103%200-.186.103-.186.23V19.77c0%20.128.083.23.186.23h2.69c.103%200%20.186-.102.186-.23v-3.25c0-.069.025-.135.069-.178l2.424-2.406a.158.158%200%2001.205-.023l6.484%204.772a7.677%207.677%200%20003.453%201.283c.108.012.2-.095.2-.23v-3.06c0-.117-.07-.212-.164-.227a5.028%205.028%200%2001-2.027-.807l-5.613-4.064c-.117-.078-.132-.279-.028-.381z%22%20fill%3D%22%23000%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E",
|
|
75
74
|
name: "Kimi For Coding",
|
|
76
|
-
region: "
|
|
75
|
+
region: "\u56fd\u9645",
|
|
77
76
|
market: "international",
|
|
78
77
|
catalogKey: "kimi-code-plan-global",
|
|
79
78
|
canListModels: true,
|
|
@@ -92,12 +91,12 @@ const catalog = {
|
|
|
92
91
|
],
|
|
93
92
|
snapshot: {
|
|
94
93
|
"moonshot-cn": {
|
|
95
|
-
"kimi-k3": {
|
|
96
|
-
"id": "kimi-k3",
|
|
97
|
-
"name": "Kimi K3",
|
|
94
|
+
"kimi-k3.1-pro-highspeed": {
|
|
95
|
+
"id": "kimi-k3.1-pro-highspeed",
|
|
96
|
+
"name": "Kimi K3.1 Pro Highspeed",
|
|
98
97
|
"family": "kimi-k3",
|
|
99
98
|
"reasoning": true,
|
|
100
|
-
"reasoning_options": [{
|
|
99
|
+
"reasoning_options": [{
|
|
101
100
|
"type": "effort",
|
|
102
101
|
"values": [
|
|
103
102
|
"low",
|
|
@@ -118,16 +117,16 @@ const catalog = {
|
|
|
118
117
|
},
|
|
119
118
|
"limit": {
|
|
120
119
|
"context": 1048576,
|
|
121
|
-
"output":
|
|
120
|
+
"output": 1048576
|
|
122
121
|
},
|
|
123
|
-
"release_date": "2026-
|
|
122
|
+
"release_date": "2026-10-23"
|
|
124
123
|
},
|
|
125
|
-
"kimi-k2.
|
|
126
|
-
"id": "kimi-k2.
|
|
127
|
-
"name": "Kimi K2.
|
|
124
|
+
"kimi-k2.6": {
|
|
125
|
+
"id": "kimi-k2.6",
|
|
126
|
+
"name": "Kimi K2.6",
|
|
128
127
|
"family": "kimi-k2",
|
|
129
128
|
"reasoning": true,
|
|
130
|
-
"reasoning_options": [],
|
|
129
|
+
"reasoning_options": [{ "type": "toggle" }],
|
|
131
130
|
"temperature": false,
|
|
132
131
|
"tool_call": true,
|
|
133
132
|
"attachment": true,
|
|
@@ -143,15 +142,22 @@ const catalog = {
|
|
|
143
142
|
"context": 262144,
|
|
144
143
|
"output": 262144
|
|
145
144
|
},
|
|
146
|
-
"release_date": "2026-
|
|
145
|
+
"release_date": "2026-04-20"
|
|
147
146
|
},
|
|
148
|
-
"kimi-
|
|
149
|
-
"id": "kimi-
|
|
150
|
-
"name": "Kimi
|
|
151
|
-
"family": "kimi-
|
|
147
|
+
"kimi-k3.1-pro": {
|
|
148
|
+
"id": "kimi-k3.1-pro",
|
|
149
|
+
"name": "Kimi K3.1 Pro",
|
|
150
|
+
"family": "kimi-k3",
|
|
152
151
|
"reasoning": true,
|
|
153
|
-
"reasoning_options": [{
|
|
154
|
-
|
|
152
|
+
"reasoning_options": [{
|
|
153
|
+
"type": "effort",
|
|
154
|
+
"values": [
|
|
155
|
+
"low",
|
|
156
|
+
"high",
|
|
157
|
+
"max"
|
|
158
|
+
]
|
|
159
|
+
}],
|
|
160
|
+
"temperature": false,
|
|
155
161
|
"tool_call": true,
|
|
156
162
|
"attachment": true,
|
|
157
163
|
"modalities": {
|
|
@@ -163,10 +169,40 @@ const catalog = {
|
|
|
163
169
|
"output": ["text"]
|
|
164
170
|
},
|
|
165
171
|
"limit": {
|
|
166
|
-
"context":
|
|
167
|
-
"output":
|
|
172
|
+
"context": 1048576,
|
|
173
|
+
"output": 1048576
|
|
174
|
+
},
|
|
175
|
+
"release_date": "2026-10-23"
|
|
176
|
+
},
|
|
177
|
+
"kimi-k3": {
|
|
178
|
+
"id": "kimi-k3",
|
|
179
|
+
"name": "Kimi K3",
|
|
180
|
+
"family": "kimi-k3",
|
|
181
|
+
"reasoning": true,
|
|
182
|
+
"reasoning_options": [{
|
|
183
|
+
"type": "effort",
|
|
184
|
+
"values": [
|
|
185
|
+
"low",
|
|
186
|
+
"high",
|
|
187
|
+
"max"
|
|
188
|
+
]
|
|
189
|
+
}],
|
|
190
|
+
"temperature": false,
|
|
191
|
+
"tool_call": true,
|
|
192
|
+
"attachment": true,
|
|
193
|
+
"modalities": {
|
|
194
|
+
"input": [
|
|
195
|
+
"text",
|
|
196
|
+
"image",
|
|
197
|
+
"video"
|
|
198
|
+
],
|
|
199
|
+
"output": ["text"]
|
|
200
|
+
},
|
|
201
|
+
"limit": {
|
|
202
|
+
"context": 1048576,
|
|
203
|
+
"output": 1048576
|
|
168
204
|
},
|
|
169
|
-
"release_date": "2026-
|
|
205
|
+
"release_date": "2026-07-16"
|
|
170
206
|
},
|
|
171
207
|
"kimi-k2.7-code-highspeed": {
|
|
172
208
|
"id": "kimi-k2.7-code-highspeed",
|
|
@@ -190,12 +226,10 @@ const catalog = {
|
|
|
190
226
|
"output": 262144
|
|
191
227
|
},
|
|
192
228
|
"release_date": "2026-06-12"
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"id": "kimi-k2.7-code-highspeed",
|
|
198
|
-
"name": "Kimi K2.7 Code HighSpeed",
|
|
229
|
+
},
|
|
230
|
+
"kimi-k2.7-code": {
|
|
231
|
+
"id": "kimi-k2.7-code",
|
|
232
|
+
"name": "Kimi K2.7 Code",
|
|
199
233
|
"family": "kimi-k2",
|
|
200
234
|
"reasoning": true,
|
|
201
235
|
"reasoning_options": [],
|
|
@@ -215,6 +249,38 @@ const catalog = {
|
|
|
215
249
|
"output": 262144
|
|
216
250
|
},
|
|
217
251
|
"release_date": "2026-06-12"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"moonshot": {
|
|
255
|
+
"kimi-k3.1-pro-highspeed": {
|
|
256
|
+
"id": "kimi-k3.1-pro-highspeed",
|
|
257
|
+
"name": "Kimi K3.1 Pro Highspeed",
|
|
258
|
+
"family": "kimi-k3",
|
|
259
|
+
"reasoning": true,
|
|
260
|
+
"reasoning_options": [{
|
|
261
|
+
"type": "effort",
|
|
262
|
+
"values": [
|
|
263
|
+
"low",
|
|
264
|
+
"high",
|
|
265
|
+
"max"
|
|
266
|
+
]
|
|
267
|
+
}],
|
|
268
|
+
"temperature": false,
|
|
269
|
+
"tool_call": true,
|
|
270
|
+
"attachment": true,
|
|
271
|
+
"modalities": {
|
|
272
|
+
"input": [
|
|
273
|
+
"text",
|
|
274
|
+
"image",
|
|
275
|
+
"video"
|
|
276
|
+
],
|
|
277
|
+
"output": ["text"]
|
|
278
|
+
},
|
|
279
|
+
"limit": {
|
|
280
|
+
"context": 1048576,
|
|
281
|
+
"output": 1048576
|
|
282
|
+
},
|
|
283
|
+
"release_date": "2026-10-23"
|
|
218
284
|
},
|
|
219
285
|
"kimi-k2.6": {
|
|
220
286
|
"id": "kimi-k2.6",
|
|
@@ -222,7 +288,7 @@ const catalog = {
|
|
|
222
288
|
"family": "kimi-k2",
|
|
223
289
|
"reasoning": true,
|
|
224
290
|
"reasoning_options": [{ "type": "toggle" }],
|
|
225
|
-
"temperature":
|
|
291
|
+
"temperature": false,
|
|
226
292
|
"tool_call": true,
|
|
227
293
|
"attachment": true,
|
|
228
294
|
"modalities": {
|
|
@@ -237,14 +303,21 @@ const catalog = {
|
|
|
237
303
|
"context": 262144,
|
|
238
304
|
"output": 262144
|
|
239
305
|
},
|
|
240
|
-
"release_date": "2026-04-
|
|
306
|
+
"release_date": "2026-04-20"
|
|
241
307
|
},
|
|
242
|
-
"kimi-
|
|
243
|
-
"id": "kimi-
|
|
244
|
-
"name": "Kimi
|
|
245
|
-
"family": "kimi-
|
|
308
|
+
"kimi-k3.1-pro": {
|
|
309
|
+
"id": "kimi-k3.1-pro",
|
|
310
|
+
"name": "Kimi K3.1 Pro",
|
|
311
|
+
"family": "kimi-k3",
|
|
246
312
|
"reasoning": true,
|
|
247
|
-
"reasoning_options": [
|
|
313
|
+
"reasoning_options": [{
|
|
314
|
+
"type": "effort",
|
|
315
|
+
"values": [
|
|
316
|
+
"low",
|
|
317
|
+
"high",
|
|
318
|
+
"max"
|
|
319
|
+
]
|
|
320
|
+
}],
|
|
248
321
|
"temperature": false,
|
|
249
322
|
"tool_call": true,
|
|
250
323
|
"attachment": true,
|
|
@@ -257,17 +330,17 @@ const catalog = {
|
|
|
257
330
|
"output": ["text"]
|
|
258
331
|
},
|
|
259
332
|
"limit": {
|
|
260
|
-
"context":
|
|
261
|
-
"output":
|
|
333
|
+
"context": 1048576,
|
|
334
|
+
"output": 1048576
|
|
262
335
|
},
|
|
263
|
-
"release_date": "2026-
|
|
336
|
+
"release_date": "2026-10-23"
|
|
264
337
|
},
|
|
265
338
|
"kimi-k3": {
|
|
266
339
|
"id": "kimi-k3",
|
|
267
340
|
"name": "Kimi K3",
|
|
268
341
|
"family": "kimi-k3",
|
|
269
342
|
"reasoning": true,
|
|
270
|
-
"reasoning_options": [{
|
|
343
|
+
"reasoning_options": [{
|
|
271
344
|
"type": "effort",
|
|
272
345
|
"values": [
|
|
273
346
|
"low",
|
|
@@ -288,15 +361,13 @@ const catalog = {
|
|
|
288
361
|
},
|
|
289
362
|
"limit": {
|
|
290
363
|
"context": 1048576,
|
|
291
|
-
"output":
|
|
364
|
+
"output": 1048576
|
|
292
365
|
},
|
|
293
366
|
"release_date": "2026-07-16"
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
"id": "kimi-for-coding-highspeed",
|
|
299
|
-
"name": "Kimi For Coding HighSpeed",
|
|
367
|
+
},
|
|
368
|
+
"kimi-k2.7-code-highspeed": {
|
|
369
|
+
"id": "kimi-k2.7-code-highspeed",
|
|
370
|
+
"name": "Kimi K2.7 Code HighSpeed",
|
|
300
371
|
"family": "kimi-k2",
|
|
301
372
|
"reasoning": true,
|
|
302
373
|
"reasoning_options": [],
|
|
@@ -313,23 +384,50 @@ const catalog = {
|
|
|
313
384
|
},
|
|
314
385
|
"limit": {
|
|
315
386
|
"context": 262144,
|
|
316
|
-
"output":
|
|
387
|
+
"output": 262144
|
|
317
388
|
},
|
|
318
389
|
"release_date": "2026-06-12"
|
|
319
390
|
},
|
|
320
|
-
"kimi-
|
|
321
|
-
"id": "kimi-
|
|
322
|
-
"name": "
|
|
391
|
+
"kimi-k2.7-code": {
|
|
392
|
+
"id": "kimi-k2.7-code",
|
|
393
|
+
"name": "Kimi K2.7 Code",
|
|
323
394
|
"family": "kimi-k2",
|
|
324
395
|
"reasoning": true,
|
|
325
|
-
"reasoning_options": [
|
|
396
|
+
"reasoning_options": [],
|
|
397
|
+
"temperature": false,
|
|
398
|
+
"tool_call": true,
|
|
399
|
+
"attachment": true,
|
|
400
|
+
"modalities": {
|
|
401
|
+
"input": [
|
|
402
|
+
"text",
|
|
403
|
+
"image",
|
|
404
|
+
"video"
|
|
405
|
+
],
|
|
406
|
+
"output": ["text"]
|
|
407
|
+
},
|
|
408
|
+
"limit": {
|
|
409
|
+
"context": 262144,
|
|
410
|
+
"output": 262144
|
|
411
|
+
},
|
|
412
|
+
"release_date": "2026-06-12"
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"kimi-coding-cn": {
|
|
416
|
+
"k3": {
|
|
417
|
+
"id": "k3",
|
|
418
|
+
"name": "Kimi K3",
|
|
419
|
+
"family": "kimi-k3",
|
|
420
|
+
"reasoning": true,
|
|
421
|
+
"reasoning_options": [{
|
|
326
422
|
"type": "effort",
|
|
327
423
|
"values": [
|
|
424
|
+
"none",
|
|
328
425
|
"low",
|
|
329
426
|
"high",
|
|
330
427
|
"max"
|
|
331
428
|
]
|
|
332
429
|
}],
|
|
430
|
+
"temperature": false,
|
|
333
431
|
"tool_call": true,
|
|
334
432
|
"attachment": true,
|
|
335
433
|
"modalities": {
|
|
@@ -342,9 +440,62 @@ const catalog = {
|
|
|
342
440
|
},
|
|
343
441
|
"limit": {
|
|
344
442
|
"context": 1048576,
|
|
443
|
+
"output": 1048576
|
|
444
|
+
},
|
|
445
|
+
"release_date": "2026-07-16"
|
|
446
|
+
},
|
|
447
|
+
"k3.1-pro-highspeed": {
|
|
448
|
+
"id": "k3.1-pro-highspeed",
|
|
449
|
+
"name": "Kimi K3.1 Pro Highspeed",
|
|
450
|
+
"family": "kimi-k3",
|
|
451
|
+
"reasoning": true,
|
|
452
|
+
"reasoning_options": [{
|
|
453
|
+
"type": "effort",
|
|
454
|
+
"values": [
|
|
455
|
+
"low",
|
|
456
|
+
"high",
|
|
457
|
+
"max"
|
|
458
|
+
]
|
|
459
|
+
}],
|
|
460
|
+
"temperature": false,
|
|
461
|
+
"tool_call": true,
|
|
462
|
+
"attachment": true,
|
|
463
|
+
"modalities": {
|
|
464
|
+
"input": [
|
|
465
|
+
"text",
|
|
466
|
+
"image",
|
|
467
|
+
"video"
|
|
468
|
+
],
|
|
469
|
+
"output": ["text"]
|
|
470
|
+
},
|
|
471
|
+
"limit": {
|
|
472
|
+
"context": 1048576,
|
|
473
|
+
"output": 1048576
|
|
474
|
+
},
|
|
475
|
+
"release_date": "2026-10-23"
|
|
476
|
+
},
|
|
477
|
+
"kimi-for-coding-highspeed": {
|
|
478
|
+
"id": "kimi-for-coding-highspeed",
|
|
479
|
+
"name": "Kimi For Coding HighSpeed",
|
|
480
|
+
"family": "kimi-k2",
|
|
481
|
+
"reasoning": true,
|
|
482
|
+
"reasoning_options": [],
|
|
483
|
+
"temperature": false,
|
|
484
|
+
"tool_call": true,
|
|
485
|
+
"attachment": true,
|
|
486
|
+
"modalities": {
|
|
487
|
+
"input": [
|
|
488
|
+
"text",
|
|
489
|
+
"image",
|
|
490
|
+
"video"
|
|
491
|
+
],
|
|
492
|
+
"output": ["text"]
|
|
493
|
+
},
|
|
494
|
+
"limit": {
|
|
495
|
+
"context": 262144,
|
|
345
496
|
"output": 32768
|
|
346
497
|
},
|
|
347
|
-
"release_date": "2026-
|
|
498
|
+
"release_date": "2026-06-12"
|
|
348
499
|
},
|
|
349
500
|
"k3-256k": {
|
|
350
501
|
"id": "k3-256k",
|
|
@@ -354,6 +505,7 @@ const catalog = {
|
|
|
354
505
|
"reasoning_options": [{
|
|
355
506
|
"type": "effort",
|
|
356
507
|
"values": [
|
|
508
|
+
"none",
|
|
357
509
|
"low",
|
|
358
510
|
"high",
|
|
359
511
|
"max"
|
|
@@ -368,16 +520,16 @@ const catalog = {
|
|
|
368
520
|
},
|
|
369
521
|
"limit": {
|
|
370
522
|
"context": 262144,
|
|
371
|
-
"output":
|
|
523
|
+
"output": 262144
|
|
372
524
|
},
|
|
373
525
|
"release_date": "2026-07-16"
|
|
374
526
|
},
|
|
375
|
-
"k3": {
|
|
376
|
-
"id": "k3",
|
|
377
|
-
"name": "Kimi K3",
|
|
527
|
+
"k3.1-pro": {
|
|
528
|
+
"id": "k3.1-pro",
|
|
529
|
+
"name": "Kimi K3.1 Pro",
|
|
378
530
|
"family": "kimi-k3",
|
|
379
531
|
"reasoning": true,
|
|
380
|
-
"reasoning_options": [{
|
|
532
|
+
"reasoning_options": [{
|
|
381
533
|
"type": "effort",
|
|
382
534
|
"values": [
|
|
383
535
|
"low",
|
|
@@ -398,18 +550,57 @@ const catalog = {
|
|
|
398
550
|
},
|
|
399
551
|
"limit": {
|
|
400
552
|
"context": 1048576,
|
|
401
|
-
"output":
|
|
553
|
+
"output": 1048576
|
|
402
554
|
},
|
|
403
|
-
"release_date": "2026-
|
|
555
|
+
"release_date": "2026-10-23"
|
|
556
|
+
},
|
|
557
|
+
"kimi-for-coding": {
|
|
558
|
+
"id": "kimi-for-coding",
|
|
559
|
+
"name": "Kimi K2.8 Preview",
|
|
560
|
+
"family": "kimi-k2",
|
|
561
|
+
"reasoning": true,
|
|
562
|
+
"reasoning_options": [{
|
|
563
|
+
"type": "effort",
|
|
564
|
+
"values": [
|
|
565
|
+
"none",
|
|
566
|
+
"low",
|
|
567
|
+
"high",
|
|
568
|
+
"max"
|
|
569
|
+
]
|
|
570
|
+
}],
|
|
571
|
+
"temperature": false,
|
|
572
|
+
"tool_call": true,
|
|
573
|
+
"attachment": true,
|
|
574
|
+
"modalities": {
|
|
575
|
+
"input": [
|
|
576
|
+
"text",
|
|
577
|
+
"image",
|
|
578
|
+
"video"
|
|
579
|
+
],
|
|
580
|
+
"output": ["text"]
|
|
581
|
+
},
|
|
582
|
+
"limit": {
|
|
583
|
+
"context": 1048576,
|
|
584
|
+
"output": 32768
|
|
585
|
+
},
|
|
586
|
+
"release_date": "2026-09-11"
|
|
404
587
|
}
|
|
405
588
|
},
|
|
406
589
|
"kimi-coding": {
|
|
407
|
-
"
|
|
408
|
-
"id": "
|
|
409
|
-
"name": "Kimi
|
|
410
|
-
"family": "kimi-
|
|
590
|
+
"k3": {
|
|
591
|
+
"id": "k3",
|
|
592
|
+
"name": "Kimi K3",
|
|
593
|
+
"family": "kimi-k3",
|
|
411
594
|
"reasoning": true,
|
|
412
|
-
"reasoning_options": [
|
|
595
|
+
"reasoning_options": [{
|
|
596
|
+
"type": "effort",
|
|
597
|
+
"values": [
|
|
598
|
+
"none",
|
|
599
|
+
"low",
|
|
600
|
+
"high",
|
|
601
|
+
"max"
|
|
602
|
+
]
|
|
603
|
+
}],
|
|
413
604
|
"temperature": false,
|
|
414
605
|
"tool_call": true,
|
|
415
606
|
"attachment": true,
|
|
@@ -422,17 +613,17 @@ const catalog = {
|
|
|
422
613
|
"output": ["text"]
|
|
423
614
|
},
|
|
424
615
|
"limit": {
|
|
425
|
-
"context":
|
|
426
|
-
"output":
|
|
616
|
+
"context": 1048576,
|
|
617
|
+
"output": 1048576
|
|
427
618
|
},
|
|
428
|
-
"release_date": "2026-
|
|
619
|
+
"release_date": "2026-07-16"
|
|
429
620
|
},
|
|
430
|
-
"
|
|
431
|
-
"id": "
|
|
432
|
-
"name": "
|
|
433
|
-
"family": "kimi-
|
|
621
|
+
"k3.1-pro-highspeed": {
|
|
622
|
+
"id": "k3.1-pro-highspeed",
|
|
623
|
+
"name": "Kimi K3.1 Pro Highspeed",
|
|
624
|
+
"family": "kimi-k3",
|
|
434
625
|
"reasoning": true,
|
|
435
|
-
"reasoning_options": [{
|
|
626
|
+
"reasoning_options": [{
|
|
436
627
|
"type": "effort",
|
|
437
628
|
"values": [
|
|
438
629
|
"low",
|
|
@@ -440,6 +631,7 @@ const catalog = {
|
|
|
440
631
|
"max"
|
|
441
632
|
]
|
|
442
633
|
}],
|
|
634
|
+
"temperature": false,
|
|
443
635
|
"tool_call": true,
|
|
444
636
|
"attachment": true,
|
|
445
637
|
"modalities": {
|
|
@@ -452,9 +644,32 @@ const catalog = {
|
|
|
452
644
|
},
|
|
453
645
|
"limit": {
|
|
454
646
|
"context": 1048576,
|
|
647
|
+
"output": 1048576
|
|
648
|
+
},
|
|
649
|
+
"release_date": "2026-10-23"
|
|
650
|
+
},
|
|
651
|
+
"kimi-for-coding-highspeed": {
|
|
652
|
+
"id": "kimi-for-coding-highspeed",
|
|
653
|
+
"name": "Kimi For Coding HighSpeed",
|
|
654
|
+
"family": "kimi-k2",
|
|
655
|
+
"reasoning": true,
|
|
656
|
+
"reasoning_options": [],
|
|
657
|
+
"temperature": false,
|
|
658
|
+
"tool_call": true,
|
|
659
|
+
"attachment": true,
|
|
660
|
+
"modalities": {
|
|
661
|
+
"input": [
|
|
662
|
+
"text",
|
|
663
|
+
"image",
|
|
664
|
+
"video"
|
|
665
|
+
],
|
|
666
|
+
"output": ["text"]
|
|
667
|
+
},
|
|
668
|
+
"limit": {
|
|
669
|
+
"context": 262144,
|
|
455
670
|
"output": 32768
|
|
456
671
|
},
|
|
457
|
-
"release_date": "2026-
|
|
672
|
+
"release_date": "2026-06-12"
|
|
458
673
|
},
|
|
459
674
|
"k3-256k": {
|
|
460
675
|
"id": "k3-256k",
|
|
@@ -464,6 +679,7 @@ const catalog = {
|
|
|
464
679
|
"reasoning_options": [{
|
|
465
680
|
"type": "effort",
|
|
466
681
|
"values": [
|
|
682
|
+
"none",
|
|
467
683
|
"low",
|
|
468
684
|
"high",
|
|
469
685
|
"max"
|
|
@@ -478,16 +694,16 @@ const catalog = {
|
|
|
478
694
|
},
|
|
479
695
|
"limit": {
|
|
480
696
|
"context": 262144,
|
|
481
|
-
"output":
|
|
697
|
+
"output": 262144
|
|
482
698
|
},
|
|
483
699
|
"release_date": "2026-07-16"
|
|
484
700
|
},
|
|
485
|
-
"k3": {
|
|
486
|
-
"id": "k3",
|
|
487
|
-
"name": "Kimi K3",
|
|
701
|
+
"k3.1-pro": {
|
|
702
|
+
"id": "k3.1-pro",
|
|
703
|
+
"name": "Kimi K3.1 Pro",
|
|
488
704
|
"family": "kimi-k3",
|
|
489
705
|
"reasoning": true,
|
|
490
|
-
"reasoning_options": [{
|
|
706
|
+
"reasoning_options": [{
|
|
491
707
|
"type": "effort",
|
|
492
708
|
"values": [
|
|
493
709
|
"low",
|
|
@@ -508,17 +724,442 @@ const catalog = {
|
|
|
508
724
|
},
|
|
509
725
|
"limit": {
|
|
510
726
|
"context": 1048576,
|
|
511
|
-
"output":
|
|
727
|
+
"output": 1048576
|
|
512
728
|
},
|
|
513
|
-
"release_date": "2026-
|
|
729
|
+
"release_date": "2026-10-23"
|
|
730
|
+
},
|
|
731
|
+
"kimi-for-coding": {
|
|
732
|
+
"id": "kimi-for-coding",
|
|
733
|
+
"name": "kimi-for-coding",
|
|
734
|
+
"family": "kimi-k2",
|
|
735
|
+
"reasoning": true,
|
|
736
|
+
"reasoning_options": [{
|
|
737
|
+
"type": "effort",
|
|
738
|
+
"values": [
|
|
739
|
+
"none",
|
|
740
|
+
"low",
|
|
741
|
+
"high",
|
|
742
|
+
"max"
|
|
743
|
+
]
|
|
744
|
+
}],
|
|
745
|
+
"temperature": false,
|
|
746
|
+
"tool_call": true,
|
|
747
|
+
"attachment": true,
|
|
748
|
+
"modalities": {
|
|
749
|
+
"input": [
|
|
750
|
+
"text",
|
|
751
|
+
"image",
|
|
752
|
+
"video"
|
|
753
|
+
],
|
|
754
|
+
"output": ["text"]
|
|
755
|
+
},
|
|
756
|
+
"limit": {
|
|
757
|
+
"context": 1048576,
|
|
758
|
+
"output": 32768
|
|
759
|
+
},
|
|
760
|
+
"release_date": "2026-09-11"
|
|
514
761
|
}
|
|
515
762
|
}
|
|
516
763
|
},
|
|
517
|
-
snapshotAt: Date.parse("2026-
|
|
764
|
+
snapshotAt: Date.parse("2026-11-18")
|
|
765
|
+
};
|
|
766
|
+
//#endregion
|
|
767
|
+
//#region src/facts.ts
|
|
768
|
+
const verifiedAt = "2026-10-29";
|
|
769
|
+
const apiEndpoints = ["moonshot-cn", "moonshot"];
|
|
770
|
+
const codingEndpoints = ["kimi-coding-cn", "kimi-coding"];
|
|
771
|
+
const k3Models = [
|
|
772
|
+
"kimi-k3",
|
|
773
|
+
"kimi-k3.1-pro",
|
|
774
|
+
"kimi-k3.1-pro-highspeed"
|
|
775
|
+
];
|
|
776
|
+
const modelsOverview = "https://platform.kimi.ai/docs/api/models-overview";
|
|
777
|
+
const codingModels = "https://www.kimi.com/code/docs/en/kimi-code/models.html";
|
|
778
|
+
const outputLimit = {
|
|
779
|
+
ordinary: 131072,
|
|
780
|
+
thinking: 131072
|
|
781
|
+
};
|
|
782
|
+
function withheld(scope, corrects, source) {
|
|
783
|
+
return {
|
|
784
|
+
...scope,
|
|
785
|
+
field: "limit.output",
|
|
786
|
+
value: { unknown: true },
|
|
787
|
+
corrects,
|
|
788
|
+
source,
|
|
789
|
+
verifiedAt
|
|
790
|
+
};
|
|
791
|
+
}
|
|
792
|
+
function codingFloor(endpointId, model, field) {
|
|
793
|
+
return field === "limit.context" ? {
|
|
794
|
+
endpointId,
|
|
795
|
+
model,
|
|
796
|
+
field,
|
|
797
|
+
value: 262144,
|
|
798
|
+
corrects: { structural: "Kimi Code plans share a 262144 floor; 1048576 needs a higher plan" },
|
|
799
|
+
source: codingModels,
|
|
800
|
+
verifiedAt
|
|
801
|
+
} : withheld({
|
|
802
|
+
endpointId,
|
|
803
|
+
model
|
|
804
|
+
}, { structural: "Kimi Code publishes no output maximum for plan models" }, codingModels);
|
|
805
|
+
}
|
|
806
|
+
const modelFacts = {
|
|
807
|
+
revisions: [
|
|
808
|
+
...apiEndpoints.flatMap((endpointId) => [
|
|
809
|
+
"kimi-k2.7-code",
|
|
810
|
+
"kimi-k2.7-code-highspeed",
|
|
811
|
+
"kimi-k2.6"
|
|
812
|
+
].map((model) => withheld({
|
|
813
|
+
endpointId,
|
|
814
|
+
model
|
|
815
|
+
}, { catalogue: 262144 }, modelsOverview))),
|
|
816
|
+
...codingEndpoints.flatMap((endpointId) => [
|
|
817
|
+
codingFloor(endpointId, "k3.1-pro", "limit.context"),
|
|
818
|
+
codingFloor(endpointId, "k3", "limit.context"),
|
|
819
|
+
...[
|
|
820
|
+
"k3.1-pro",
|
|
821
|
+
"k3.1-pro-highspeed",
|
|
822
|
+
"k3",
|
|
823
|
+
"k3-256k",
|
|
824
|
+
"kimi-for-coding",
|
|
825
|
+
"kimi-for-coding-highspeed"
|
|
826
|
+
].map((model) => codingFloor(endpointId, model, "limit.output"))
|
|
827
|
+
]),
|
|
828
|
+
...apiEndpoints.flatMap((endpointId) => k3Models.flatMap((model) => ["openai-responses", "anthropic"].map((protocolId) => withheld({
|
|
829
|
+
endpointId,
|
|
830
|
+
protocolId,
|
|
831
|
+
model
|
|
832
|
+
}, { structural: "Kimi documents the K3 output maximum only for Chat Completions" }, modelsOverview))))
|
|
833
|
+
],
|
|
834
|
+
presets: k3Models.map((model) => ({
|
|
835
|
+
model,
|
|
836
|
+
entry: { outputLimit }
|
|
837
|
+
}))
|
|
518
838
|
};
|
|
519
839
|
//#endregion
|
|
840
|
+
//#region src/resources.ts
|
|
841
|
+
function failure(detail) {
|
|
842
|
+
const code = detail === "Resource request failed" ? "source-failed" : "invalid-response";
|
|
843
|
+
return Object.assign(new Error(code), {
|
|
844
|
+
name: "ProviderResourceFailure",
|
|
845
|
+
code,
|
|
846
|
+
retryable: false
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
const labels = (en, zh) => ({
|
|
850
|
+
"en-US": en,
|
|
851
|
+
"zh-CN": zh
|
|
852
|
+
});
|
|
853
|
+
function object(value) {
|
|
854
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw failure("Invalid resource response");
|
|
855
|
+
return value;
|
|
856
|
+
}
|
|
857
|
+
function decimal(value) {
|
|
858
|
+
const text = typeof value === "number" && Number.isFinite(value) ? String(value) : value;
|
|
859
|
+
if (typeof text !== "string" || !/^-?(0|[1-9]\d*)(\.\d+)?$/.test(text)) throw failure("Invalid resource amount");
|
|
860
|
+
const normalized = text.includes(".") ? text.replace(/0+$/, "").replace(/\.$/, "") : text;
|
|
861
|
+
return normalized === "-0" ? "0" : normalized;
|
|
862
|
+
}
|
|
863
|
+
function scaled(value, digits) {
|
|
864
|
+
const text = decimal(value);
|
|
865
|
+
if (!/^\d+$/.test(text) || typeof value === "number" && !Number.isSafeInteger(value)) throw failure("Invalid fixed point amount");
|
|
866
|
+
const padded = text.padStart(digits + 1, "0");
|
|
867
|
+
return `${padded.slice(0, -digits)}.${padded.slice(-digits)}`.replace(/\.?0+$/, "");
|
|
868
|
+
}
|
|
869
|
+
function resourceCapability(endpointId) {
|
|
870
|
+
const domestic = endpointId.endsWith("-cn");
|
|
871
|
+
const coding = endpointId.startsWith("kimi-coding");
|
|
872
|
+
const origin = coding ? domestic ? "https://api.kimi.com" : "https://api.kimi.ai" : domestic ? "https://api.moonshot.cn" : "https://api.moonshot.ai";
|
|
873
|
+
const base = `${origin}/${coding ? "coding/v1" : "v1"}`;
|
|
874
|
+
const id = coding ? "usages" : "balance";
|
|
875
|
+
return {
|
|
876
|
+
support: "supported",
|
|
877
|
+
applicability: {
|
|
878
|
+
kind: "base-url",
|
|
879
|
+
defaultBaseUrl: base,
|
|
880
|
+
allowedBaseUrls: coding ? [base] : [base, `${origin}/anthropic/v1`]
|
|
881
|
+
},
|
|
882
|
+
sources: [{
|
|
883
|
+
id,
|
|
884
|
+
labels: labels("Account resources", "\u8d26\u6237\u8d44\u6e90"),
|
|
885
|
+
optional: false,
|
|
886
|
+
allowedHeaderNames: ["Authorization"],
|
|
887
|
+
requests: [{
|
|
888
|
+
id,
|
|
889
|
+
method: "GET",
|
|
890
|
+
url: coding ? `${base}/usages` : `${base}/users/me/balance`
|
|
891
|
+
}]
|
|
892
|
+
}],
|
|
893
|
+
presets: coding ? [{
|
|
894
|
+
id: "subscription",
|
|
895
|
+
labels: labels("Subscription", "\u8ba2\u9605\u989d\u5ea6"),
|
|
896
|
+
sourceId: id,
|
|
897
|
+
order: 0,
|
|
898
|
+
recommended: true,
|
|
899
|
+
format: "quota-windows",
|
|
900
|
+
match: { group: "subscription-windows" }
|
|
901
|
+
}, {
|
|
902
|
+
id: "extra-usage",
|
|
903
|
+
labels: labels("Extra usage", "\u989d\u5916\u7528\u91cf"),
|
|
904
|
+
sourceId: id,
|
|
905
|
+
order: 1,
|
|
906
|
+
recommended: false,
|
|
907
|
+
format: "amount",
|
|
908
|
+
match: { resourceIds: ["extra-usage"] }
|
|
909
|
+
}] : [{
|
|
910
|
+
id: "available-balance",
|
|
911
|
+
labels: labels("Available balance", "\u53ef\u7528\u4f59\u989d"),
|
|
912
|
+
sourceId: id,
|
|
913
|
+
order: 0,
|
|
914
|
+
recommended: true,
|
|
915
|
+
format: "amount",
|
|
916
|
+
match: { group: "available-balance" }
|
|
917
|
+
}]
|
|
918
|
+
};
|
|
919
|
+
}
|
|
920
|
+
async function readResourceSource(input) {
|
|
921
|
+
if (![
|
|
922
|
+
"moonshot-cn",
|
|
923
|
+
"moonshot",
|
|
924
|
+
"kimi-coding-cn",
|
|
925
|
+
"kimi-coding"
|
|
926
|
+
].includes(input.endpointId)) throw failure("Invalid resource endpoint");
|
|
927
|
+
const coding = input.endpointId.startsWith("kimi-coding");
|
|
928
|
+
const requestId = coding ? "usages" : "balance";
|
|
929
|
+
if (input.sourceId !== requestId) throw failure("Invalid resource source");
|
|
930
|
+
if (!input.secrets.apiKey) return {
|
|
931
|
+
kind: "unavailable",
|
|
932
|
+
reason: "auth-required"
|
|
933
|
+
};
|
|
934
|
+
const response = await input.queryJSON({
|
|
935
|
+
requestId,
|
|
936
|
+
headers: { Authorization: `Bearer ${input.secrets.apiKey}` }
|
|
937
|
+
});
|
|
938
|
+
if (response.status === 401) return {
|
|
939
|
+
kind: "unavailable",
|
|
940
|
+
reason: "auth-required"
|
|
941
|
+
};
|
|
942
|
+
if (response.status === 403) return {
|
|
943
|
+
kind: "unavailable",
|
|
944
|
+
reason: "permission-denied"
|
|
945
|
+
};
|
|
946
|
+
if (response.status !== 200) throw failure("Resource request failed");
|
|
947
|
+
return coding ? usages(object(response.body)) : moonshot(object(response.body), input.endpointId === "moonshot-cn");
|
|
948
|
+
}
|
|
949
|
+
function moonshot(body, domestic) {
|
|
950
|
+
if (body.code !== 0) throw failure("Resource request failed");
|
|
951
|
+
const data = object(body.data);
|
|
952
|
+
if (!("available_balance" in data)) throw failure("Invalid resource response");
|
|
953
|
+
const resources = [];
|
|
954
|
+
const unit = domestic ? {
|
|
955
|
+
kind: "currency",
|
|
956
|
+
code: "CNY"
|
|
957
|
+
} : {
|
|
958
|
+
kind: "unknown",
|
|
959
|
+
label: "Unverified international currency"
|
|
960
|
+
};
|
|
961
|
+
for (const [field, id, en, zh] of [
|
|
962
|
+
[
|
|
963
|
+
"available_balance",
|
|
964
|
+
"available-balance",
|
|
965
|
+
"Available balance",
|
|
966
|
+
"\u53ef\u7528\u4f59\u989d"
|
|
967
|
+
],
|
|
968
|
+
[
|
|
969
|
+
"cash_balance",
|
|
970
|
+
"cash-balance",
|
|
971
|
+
"Cash balance",
|
|
972
|
+
"\u73b0\u91d1\u4f59\u989d"
|
|
973
|
+
],
|
|
974
|
+
[
|
|
975
|
+
"voucher_balance",
|
|
976
|
+
"voucher-balance",
|
|
977
|
+
"Voucher balance",
|
|
978
|
+
"\u4ee3\u91d1\u5238\u4f59\u989d"
|
|
979
|
+
]
|
|
980
|
+
]) {
|
|
981
|
+
if (data[field] === void 0) continue;
|
|
982
|
+
const value = decimal(data[field]);
|
|
983
|
+
if (field === "voucher_balance" && value.startsWith("-")) throw failure("Invalid voucher balance");
|
|
984
|
+
resources.push({
|
|
985
|
+
kind: "balance",
|
|
986
|
+
id,
|
|
987
|
+
group: id === "available-balance" ? "available-balance" : "balance-components",
|
|
988
|
+
labels: labels(en, zh),
|
|
989
|
+
meaning: Number(value) <= 0 ? "exhausted" : "available",
|
|
990
|
+
valueOrigin: "reported",
|
|
991
|
+
remaining: {
|
|
992
|
+
value,
|
|
993
|
+
unit
|
|
994
|
+
},
|
|
995
|
+
...id !== "available-balance" ? { relationships: [{
|
|
996
|
+
kind: "part-of",
|
|
997
|
+
resourceId: "available-balance"
|
|
998
|
+
}] } : {}
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
return {
|
|
1002
|
+
kind: "ready",
|
|
1003
|
+
resources
|
|
1004
|
+
};
|
|
1005
|
+
}
|
|
1006
|
+
function legacy(body) {
|
|
1007
|
+
if (body.usage === void 0 && !Array.isArray(body.limits)) throw failure("Invalid resource response");
|
|
1008
|
+
const resources = [];
|
|
1009
|
+
const rows = [...body.usage === void 0 ? [] : [{
|
|
1010
|
+
id: "legacy-usage",
|
|
1011
|
+
row: object(body.usage)
|
|
1012
|
+
}], ...Array.isArray(body.limits) ? body.limits.map((value, index) => ({
|
|
1013
|
+
id: `legacy-limit-${index}`,
|
|
1014
|
+
row: object(object(value).detail)
|
|
1015
|
+
})) : []];
|
|
1016
|
+
for (const { id, row } of rows) {
|
|
1017
|
+
const unit = {
|
|
1018
|
+
kind: "unknown",
|
|
1019
|
+
label: "Provider quota units"
|
|
1020
|
+
};
|
|
1021
|
+
const reset = typeof row.resetTime === "string" ? Date.parse(row.resetTime) : NaN;
|
|
1022
|
+
resources.push({
|
|
1023
|
+
kind: "quota",
|
|
1024
|
+
id,
|
|
1025
|
+
group: "subscription-windows",
|
|
1026
|
+
labels: labels("Subscription quota", "\u8ba2\u9605\u989d\u5ea6"),
|
|
1027
|
+
valueOrigin: "reported",
|
|
1028
|
+
meaning: row.remaining === void 0 ? "unknown" : Number(decimal(row.remaining)) <= 0 ? "exhausted" : "available",
|
|
1029
|
+
window: { reset: Number.isFinite(reset) ? {
|
|
1030
|
+
kind: "fixed",
|
|
1031
|
+
at: new Date(reset).toISOString()
|
|
1032
|
+
} : { kind: "unknown" } },
|
|
1033
|
+
...row.limit !== void 0 ? { limit: {
|
|
1034
|
+
value: decimal(row.limit),
|
|
1035
|
+
unit
|
|
1036
|
+
} } : {},
|
|
1037
|
+
...row.used !== void 0 ? { used: {
|
|
1038
|
+
value: decimal(row.used),
|
|
1039
|
+
unit
|
|
1040
|
+
} } : {},
|
|
1041
|
+
...row.remaining !== void 0 ? { remaining: {
|
|
1042
|
+
value: decimal(row.remaining),
|
|
1043
|
+
unit
|
|
1044
|
+
} } : {}
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
return {
|
|
1048
|
+
kind: "ready",
|
|
1049
|
+
resources
|
|
1050
|
+
};
|
|
1051
|
+
}
|
|
1052
|
+
function usages(body) {
|
|
1053
|
+
if (body.usages === void 0) return legacy(body);
|
|
1054
|
+
const usage = object(body.usages);
|
|
1055
|
+
const resources = [];
|
|
1056
|
+
for (const [field, id, duration, en, zh] of [
|
|
1057
|
+
[
|
|
1058
|
+
"limit_5h",
|
|
1059
|
+
"limit-5h",
|
|
1060
|
+
18e3,
|
|
1061
|
+
"Five-hour quota",
|
|
1062
|
+
"\u4e94\u5c0f\u65f6\u989d\u5ea6"
|
|
1063
|
+
],
|
|
1064
|
+
[
|
|
1065
|
+
"limit_7d",
|
|
1066
|
+
"limit-7d",
|
|
1067
|
+
604800,
|
|
1068
|
+
"Weekly quota",
|
|
1069
|
+
"\u5468\u989d\u5ea6"
|
|
1070
|
+
],
|
|
1071
|
+
[
|
|
1072
|
+
"limit_month_total",
|
|
1073
|
+
"month-total",
|
|
1074
|
+
void 0,
|
|
1075
|
+
"Monthly total",
|
|
1076
|
+
"\u6708\u5ea6\u603b\u989d\u5ea6"
|
|
1077
|
+
],
|
|
1078
|
+
[
|
|
1079
|
+
"limit_month_code",
|
|
1080
|
+
"month-code",
|
|
1081
|
+
void 0,
|
|
1082
|
+
"Monthly Code share",
|
|
1083
|
+
"\u6708\u5ea6 Code \u4efd\u989d"
|
|
1084
|
+
]
|
|
1085
|
+
]) {
|
|
1086
|
+
if (usage[field] == null) continue;
|
|
1087
|
+
const row = object(usage[field]);
|
|
1088
|
+
const ratio = row.used_ratio === void 0 ? void 0 : Number(decimal(row.used_ratio));
|
|
1089
|
+
if (ratio !== void 0 && (!Number.isFinite(ratio) || ratio < 0 || ratio > 1)) throw failure("Invalid resource ratio");
|
|
1090
|
+
const reset = typeof row.reset_time === "string" ? Date.parse(row.reset_time) : NaN;
|
|
1091
|
+
resources.push({
|
|
1092
|
+
kind: "quota",
|
|
1093
|
+
id,
|
|
1094
|
+
group: "subscription-windows",
|
|
1095
|
+
labels: labels(en, zh),
|
|
1096
|
+
meaning: ratio === void 0 ? "unknown" : ratio === 1 ? "exhausted" : "available",
|
|
1097
|
+
valueOrigin: "reported",
|
|
1098
|
+
window: {
|
|
1099
|
+
...duration ? { durationSeconds: duration } : {},
|
|
1100
|
+
reset: Number.isFinite(reset) ? {
|
|
1101
|
+
kind: "fixed",
|
|
1102
|
+
at: new Date(reset).toISOString()
|
|
1103
|
+
} : { kind: "unknown" }
|
|
1104
|
+
},
|
|
1105
|
+
...ratio !== void 0 ? { usedPercent: ratio * 100 } : {},
|
|
1106
|
+
...id !== "month-total" && usage.limit_month_total != null ? { relationships: [{
|
|
1107
|
+
kind: id === "month-code" ? "part-of" : "limited-by",
|
|
1108
|
+
resourceId: "month-total"
|
|
1109
|
+
}] } : {}
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
const restrictions = [];
|
|
1113
|
+
if (body.boosterWallet != null) {
|
|
1114
|
+
const wallet = object(body.boosterWallet);
|
|
1115
|
+
const balance = wallet.balance == null ? {} : object(wallet.balance);
|
|
1116
|
+
if (balance.type === "BOOSTER") {
|
|
1117
|
+
const limit = wallet.monthlyChargeLimit == null ? {} : object(wallet.monthlyChargeLimit);
|
|
1118
|
+
const used = wallet.monthlyUsed == null ? {} : object(wallet.monthlyUsed);
|
|
1119
|
+
const currency = limit.currency ?? used.currency;
|
|
1120
|
+
const unit = typeof currency === "string" && /^[A-Z]{3}$/.test(currency) ? {
|
|
1121
|
+
kind: "currency",
|
|
1122
|
+
code: currency
|
|
1123
|
+
} : {
|
|
1124
|
+
kind: "unknown",
|
|
1125
|
+
label: "Unverified wallet currency"
|
|
1126
|
+
};
|
|
1127
|
+
if (balance.amountLeft !== void 0) resources.push({
|
|
1128
|
+
kind: "balance",
|
|
1129
|
+
id: "extra-usage",
|
|
1130
|
+
group: "extra-usage",
|
|
1131
|
+
labels: labels("Extra usage", "\u989d\u5916\u7528\u91cf"),
|
|
1132
|
+
meaning: decimal(balance.amountLeft) === "0" ? "exhausted" : "available",
|
|
1133
|
+
valueOrigin: "reported",
|
|
1134
|
+
remaining: {
|
|
1135
|
+
value: scaled(balance.amountLeft, 8),
|
|
1136
|
+
unit
|
|
1137
|
+
},
|
|
1138
|
+
...balance.amount !== void 0 ? { total: {
|
|
1139
|
+
value: scaled(balance.amount, 8),
|
|
1140
|
+
unit
|
|
1141
|
+
} } : {},
|
|
1142
|
+
relationships: [{
|
|
1143
|
+
kind: "overflow-for",
|
|
1144
|
+
resourceId: "month-total",
|
|
1145
|
+
...usage.limit_month_total == null ? { unavailable: true } : {}
|
|
1146
|
+
}]
|
|
1147
|
+
});
|
|
1148
|
+
if (typeof wallet.monthlyChargeLimitEnabled === "boolean" && limit.priceInCents !== void 0 && used.priceInCents !== void 0) restrictions.push({
|
|
1149
|
+
id: "extra-usage-monthly-limit",
|
|
1150
|
+
labels: labels("Extra usage monthly spending limit reached", "\u989d\u5916\u7528\u91cf\u5df2\u8fbe\u6708\u6d88\u8d39\u4e0a\u9650"),
|
|
1151
|
+
active: wallet.monthlyChargeLimitEnabled && Number(decimal(used.priceInCents)) >= Number(decimal(limit.priceInCents))
|
|
1152
|
+
});
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
return {
|
|
1156
|
+
kind: "ready",
|
|
1157
|
+
resources,
|
|
1158
|
+
restrictions
|
|
1159
|
+
};
|
|
1160
|
+
}
|
|
1161
|
+
//#endregion
|
|
520
1162
|
//#region src/routing.ts
|
|
521
|
-
/** Maps only declared official roots; protocol implementations own the remaining resource URI. */
|
|
522
1163
|
function connectionConfig(endpoint, protocolId, config, aliases = []) {
|
|
523
1164
|
const defaults = Object.values(endpoint.capabilities).find((one) => one.protocolIds.includes(protocolId))?.protocolDefaults?.[protocolId] ?? {};
|
|
524
1165
|
const configured = config.baseUrl;
|
|
@@ -538,12 +1179,11 @@ function connectionConfig(endpoint, protocolId, config, aliases = []) {
|
|
|
538
1179
|
}
|
|
539
1180
|
//#endregion
|
|
540
1181
|
//#region src/type.ts
|
|
541
|
-
/** Stable supplier registration identity. */
|
|
542
1182
|
const TYPE = "kimi";
|
|
543
1183
|
const endpoints = [
|
|
544
1184
|
{
|
|
545
1185
|
id: "moonshot-cn",
|
|
546
|
-
label: "
|
|
1186
|
+
label: "\u6708\u4e4b\u6697\u9762 Kimi \u00b7 \u56fd\u5185",
|
|
547
1187
|
capabilities: { chat: {
|
|
548
1188
|
protocolIds: [
|
|
549
1189
|
"openai",
|
|
@@ -562,7 +1202,7 @@ const endpoints = [
|
|
|
562
1202
|
},
|
|
563
1203
|
{
|
|
564
1204
|
id: "moonshot",
|
|
565
|
-
label: "
|
|
1205
|
+
label: "\u6708\u4e4b\u6697\u9762 Kimi \u00b7 \u56fd\u9645",
|
|
566
1206
|
capabilities: { chat: {
|
|
567
1207
|
protocolIds: [
|
|
568
1208
|
"openai",
|
|
@@ -581,7 +1221,7 @@ const endpoints = [
|
|
|
581
1221
|
},
|
|
582
1222
|
{
|
|
583
1223
|
id: "kimi-coding-cn",
|
|
584
|
-
label: "Kimi For Coding
|
|
1224
|
+
label: "Kimi For Coding \u00b7 \u56fd\u5185",
|
|
585
1225
|
capabilities: { chat: {
|
|
586
1226
|
protocolIds: [
|
|
587
1227
|
"openai",
|
|
@@ -600,7 +1240,7 @@ const endpoints = [
|
|
|
600
1240
|
},
|
|
601
1241
|
{
|
|
602
1242
|
id: "kimi-coding",
|
|
603
|
-
label: "Kimi For Coding
|
|
1243
|
+
label: "Kimi For Coding \u00b7 \u56fd\u9645",
|
|
604
1244
|
capabilities: { chat: {
|
|
605
1245
|
protocolIds: [
|
|
606
1246
|
"openai",
|
|
@@ -639,10 +1279,11 @@ const protocolOptions = {
|
|
|
639
1279
|
thinkingMode: "omit"
|
|
640
1280
|
}
|
|
641
1281
|
};
|
|
642
|
-
/** Builds this supplier's declaration without network activity or protocol imports. */
|
|
643
1282
|
function kimiProviderType(support) {
|
|
644
1283
|
return {
|
|
645
1284
|
type: TYPE,
|
|
1285
|
+
listingContractVersion: "capacity-listing-v1",
|
|
1286
|
+
modelFacts,
|
|
646
1287
|
label: "Kimi",
|
|
647
1288
|
fields: [{
|
|
648
1289
|
key: "apiKey",
|
|
@@ -650,33 +1291,30 @@ function kimiProviderType(support) {
|
|
|
650
1291
|
label: "API Key",
|
|
651
1292
|
required: true
|
|
652
1293
|
}],
|
|
653
|
-
endpoints
|
|
1294
|
+
endpoints: endpoints.map((endpoint) => ({
|
|
1295
|
+
...endpoint,
|
|
1296
|
+
resourceCapability: resourceCapability(endpoint.id)
|
|
1297
|
+
})),
|
|
1298
|
+
readResourceSource,
|
|
654
1299
|
catalog: support ? {
|
|
655
1300
|
...catalog,
|
|
656
1301
|
source: support.catalogueSource("https://models.dev/api.json", "models")
|
|
657
1302
|
} : catalog,
|
|
658
|
-
describeModel({ model }) {
|
|
659
|
-
return model === "kimi-k3" ? {
|
|
660
|
-
id: model,
|
|
661
|
-
outputLimit: {
|
|
662
|
-
ordinary: 131072,
|
|
663
|
-
thinking: 131072
|
|
664
|
-
}
|
|
665
|
-
} : void 0;
|
|
666
|
-
},
|
|
667
1303
|
prepareConnection(input) {
|
|
668
1304
|
const endpoint = endpoints.find((one) => one.id === input.endpointId);
|
|
669
1305
|
if (!endpoint || !Object.values(endpoint.capabilities).some((one) => one.protocolIds.includes(input.protocolId))) throw new Error("unsupported supplier endpoint or protocol");
|
|
670
1306
|
return {
|
|
671
1307
|
config: connectionConfig(endpoint, input.protocolId, input.config),
|
|
672
|
-
options:
|
|
1308
|
+
options: {
|
|
1309
|
+
...protocolOptions[input.protocolId],
|
|
1310
|
+
...input.protocolId === "openai" && input.endpointId.startsWith("moonshot") ? { outputLimitField: "max_completion_tokens" } : {}
|
|
1311
|
+
}
|
|
673
1312
|
};
|
|
674
1313
|
}
|
|
675
1314
|
};
|
|
676
1315
|
}
|
|
677
1316
|
//#endregion
|
|
678
1317
|
//#region src/index.ts
|
|
679
|
-
/** Suppliers contribute no tools. */
|
|
680
1318
|
const TOOL_NAMES = [];
|
|
681
1319
|
const plugin = {
|
|
682
1320
|
name: "@eum-agent/llm-provider-kimi",
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"en-US": "Kimi Model Connection",
|
|
5
5
|
"zh-CN": "模型接入 · Kimi"
|
|
6
6
|
},
|
|
7
|
-
"version": "1.
|
|
7
|
+
"version": "1.2.0",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"description": "Kimi model provider using the OpenAI API protocol",
|
|
10
10
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"assets"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@eum-agent/plugin": "1.
|
|
21
|
+
"@eum-agent/plugin": "1.2.0"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"zod": "^4.4.3"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"zh-CN": "通过 OpenAI API 协议接入 Kimi 模型"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@eum-agent/llm-management": "1.
|
|
32
|
+
"@eum-agent/llm-management": "1.2.0"
|
|
33
33
|
},
|
|
34
34
|
"kind": "extension"
|
|
35
35
|
},
|