From ba9346cd1575190dc017546300923af51bf48c1e Mon Sep 17 00:00:00 2001 From: SynthLuvr <131367121+SynthLuvr@users.noreply.github.com> Date: Wed, 19 Aug 2026 19:19:44 +0000 Subject: [PATCH] feat(providers): replace Z.ai GLM-5.2 with GLM-5.3 (#11226) --- crates/goose-providers/src/declarative/definitions/zai.json | 2 +- crates/goose-providers/src/declarative/definitions/zhipu.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/goose-providers/src/declarative/definitions/zai.json b/crates/goose-providers/src/declarative/definitions/zai.json index 16398d4c8..7ca86a2bd 100644 --- a/crates/goose-providers/src/declarative/definitions/zai.json +++ b/crates/goose-providers/src/declarative/definitions/zai.json @@ -20,7 +20,7 @@ "preserves_thinking": true, "emit_clear_thinking": true, "models": [ - {"name": "glm-5.2", "context_limit": 1000000}, + {"name": "glm-5.3[1m]", "context_limit": 1000000, "reasoning": true}, {"name": "glm-5.1", "context_limit": 200000}, {"name": "glm-5", "context_limit": 204800}, {"name": "glm-5-turbo", "context_limit": 200000}, diff --git a/crates/goose-providers/src/declarative/definitions/zhipu.json b/crates/goose-providers/src/declarative/definitions/zhipu.json index e2e54ffd4..f86dbd2c7 100644 --- a/crates/goose-providers/src/declarative/definitions/zhipu.json +++ b/crates/goose-providers/src/declarative/definitions/zhipu.json @@ -11,7 +11,7 @@ "required": false, "secret": false, "default": "https://open.bigmodel.cn/api/paas/v4", - "description": "Zhipu API base URL. Change to https://open.bigmodel.cn/api/coding/paas/v4 for Coding Plan models like GLM-5.2." + "description": "Zhipu API base URL. Change to https://open.bigmodel.cn/api/coding/paas/v4 for Coding Plan models like GLM-5.3." } ], "catalog_provider_id": "zhipuai", @@ -23,7 +23,7 @@ {"name": "glm-4.7", "context_limit": 204800}, {"name": "glm-4.7-flash", "context_limit": 200000}, {"name": "glm-5", "context_limit": 204800}, - {"name": "glm-5.2", "context_limit": 1000000, "reasoning": true} + {"name": "glm-5.3", "context_limit": 1000000, "reasoning": true} ], "preserves_thinking": true, "supports_streaming": true