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 <noreply@anthropic.com>
This commit is contained in:
Chris Staley
2026-03-28 13:00:54 -06:00
parent 370070f489
commit 681e49a4cc

View File

@@ -640,8 +640,8 @@ export const REGISTRY: Record<string, RegistryEntry> = {
{ 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 },
],
},