Skip to content

Commit 3a37dda

Browse files
committed
fix(providers): correct Volcengine Plan GLM model id to glm-5.2
The Coding Plan and Agent Plan static catalogs advertised `glm-5.1`, which is absent from Volcengine's current published Plan model list. Because both presets are `liveModels: false`, a stale id cannot be corrected by discovery and surfaces to the user as an upstream model error at request time.
1 parent d268748 commit 3a37dda

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/providers/registry.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,14 +389,14 @@ const VOLCENGINE_CODING_PLAN_MODELS = [
389389
"doubao-seed-2.0-code",
390390
"deepseek-v4-pro",
391391
"deepseek-v4-flash",
392-
"glm-5.1",
392+
"glm-5.2",
393393
"kimi-k2.6",
394394
"minimax-m3",
395395
];
396396
const VOLCENGINE_AGENT_PLAN_MODELS = [
397397
"deepseek-v4-pro",
398398
"deepseek-v4-flash",
399-
"glm-5.1",
399+
"glm-5.2",
400400
"kimi-k2.6",
401401
"minimax-m3",
402402
"doubao-seed-2.0-pro",

tests/volcengine-providers.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ describe("Volcengine Ark providers", () => {
5252
"doubao-seed-2.0-code",
5353
"deepseek-v4-pro",
5454
"deepseek-v4-flash",
55-
"glm-5.1",
55+
"glm-5.2",
5656
"kimi-k2.6",
5757
"minimax-m3",
5858
],
@@ -82,7 +82,7 @@ describe("Volcengine Ark providers", () => {
8282
models: [
8383
"deepseek-v4-pro",
8484
"deepseek-v4-flash",
85-
"glm-5.1",
85+
"glm-5.2",
8686
"kimi-k2.6",
8787
"minimax-m3",
8888
"doubao-seed-2.0-pro",

0 commit comments

Comments
 (0)