kc-beta 0.5.5 → 0.5.6
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/package.json +1 -1
- package/src/model-tiers.json +3 -2
- package/src/providers.js +8 -1
package/package.json
CHANGED
package/src/model-tiers.json
CHANGED
|
@@ -32,9 +32,10 @@
|
|
|
32
32
|
},
|
|
33
33
|
|
|
34
34
|
"volcanocloud": {
|
|
35
|
-
"
|
|
35
|
+
"_comment": "Coding plan (api/coding/v3) serves glm-5.1 only. Regular plan (api/v3) serves doubao/deepseek/glm-4-7. Pick conductor per the plan you onboarded.",
|
|
36
|
+
"conductor": "glm-5.1",
|
|
36
37
|
"llm": {
|
|
37
|
-
"tier1": "doubao-seed-2-0-pro-260215, deepseek-v3-2-251201",
|
|
38
|
+
"tier1": "glm-5.1, doubao-seed-2-0-pro-260215, deepseek-v3-2-251201",
|
|
38
39
|
"tier2": "glm-4-7-251222, doubao-1-5-pro-32k-250115",
|
|
39
40
|
"tier3": "doubao-seed-2-0-mini-260215",
|
|
40
41
|
"tier4": "doubao-seed-2-0-lite-260215, doubao-1-5-lite-32k-250115"
|
package/src/providers.js
CHANGED
|
@@ -77,14 +77,20 @@ const PROVIDERS = [
|
|
|
77
77
|
{
|
|
78
78
|
id: "volcanocloud",
|
|
79
79
|
name: "VolcanoCloud",
|
|
80
|
+
// Regular Ark API — serves doubao / deepseek / glm-4-7-251222.
|
|
81
|
+
// Coding plan uses api/coding/v3 and serves glm-5.1 (aliased to glm-4.7
|
|
82
|
+
// server-side, thinking model).
|
|
80
83
|
baseUrl: "https://ark.cn-beijing.volces.com/api/v3",
|
|
84
|
+
codingPlanUrl: "https://ark.cn-beijing.volces.com/api/coding/v3",
|
|
81
85
|
authType: "bearer",
|
|
82
86
|
apiFormat: "openai",
|
|
83
|
-
modelsEndpoint: null, // VolcanoCloud
|
|
87
|
+
modelsEndpoint: null, // VolcanoCloud — use curated list
|
|
88
|
+
supportsCodingPlanKey: true,
|
|
84
89
|
defaultModel: getTierConfig("volcanocloud").conductor || "doubao-seed-2-0-pro-260215",
|
|
85
90
|
defaultTiers: getTierConfig("volcanocloud").llm,
|
|
86
91
|
defaultVlm: getTierConfig("volcanocloud").vlm,
|
|
87
92
|
curatedModels: [
|
|
93
|
+
{ id: "glm-5.1", ownedBy: "zhipu" },
|
|
88
94
|
{ id: "doubao-seed-2-0-pro-260215", ownedBy: "bytedance" },
|
|
89
95
|
{ id: "deepseek-v3-2-251201", ownedBy: "deepseek" },
|
|
90
96
|
{ id: "glm-4-7-251222", ownedBy: "zhipu" },
|
|
@@ -259,6 +265,7 @@ const MODEL_RANKING = {
|
|
|
259
265
|
"qwen3.5-122b": 75,
|
|
260
266
|
"qwen3.5-35b": 65,
|
|
261
267
|
// Zhipu
|
|
268
|
+
"glm-5.1": 92,
|
|
262
269
|
"glm-5": 90,
|
|
263
270
|
"glm-4.7": 80,
|
|
264
271
|
"glm-4": 75,
|