From 681e49a4cc22da3b84d7f8048708bcdc9fec4c23 Mon Sep 17 00:00:00 2001 From: Chris Staley Date: Sat, 28 Mar 2026 13:00:54 -0600 Subject: [PATCH] fix: set correct 128k context length for GLM 4.5 and GLM 4.5 Air Official docs at https://docs.z.ai/guides/llm/glm-4.5 confirm both models have 128k token context, not the 200k provider default. Co-Authored-By: Claude Opus 4.6 --- open-sse/config/providerRegistry.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/open-sse/config/providerRegistry.ts b/open-sse/config/providerRegistry.ts index 8618d5033c..771f33fa16 100644 --- a/open-sse/config/providerRegistry.ts +++ b/open-sse/config/providerRegistry.ts @@ -640,8 +640,8 @@ export const REGISTRY: Record = { { id: "glm-4.6v", name: "GLM 4.6V (Vision)" }, { id: "glm-4.6", name: "GLM 4.6" }, { id: "glm-4.5v", name: "GLM 4.5V (Vision)" }, - { id: "glm-4.5", name: "GLM 4.5" }, - { id: "glm-4.5-air", name: "GLM 4.5 Air" }, + { id: "glm-4.5", name: "GLM 4.5", contextLength: 128000 }, + { id: "glm-4.5-air", name: "GLM 4.5 Air", contextLength: 128000 }, ], },