From efbb52a3fc0cd6c0e6ade5a4efb55fb55b3e10ff Mon Sep 17 00:00:00 2001 From: Jason Date: Sat, 13 Jun 2026 23:16:11 +0800 Subject: [PATCH] feat(presets): add GLM 5.1 context window for AtlasCloud Codex preset Declare the 200000-token context window for zai-org/glm-5.1, matching the other GLM 5.1 preset entries. --- src/config/codexProviderPresets.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/config/codexProviderPresets.ts b/src/config/codexProviderPresets.ts index 9da6d031b..72c77df87 100644 --- a/src/config/codexProviderPresets.ts +++ b/src/config/codexProviderPresets.ts @@ -949,7 +949,11 @@ requires_openai_auth = true`, endpointCandidates: ["https://api.atlascloud.ai/v1"], apiFormat: "openai_chat", modelCatalog: modelCatalog([ - { model: "zai-org/glm-5.1", displayName: "GLM 5.1" }, + { + model: "zai-org/glm-5.1", + displayName: "GLM 5.1", + contextWindow: 200000, + }, ]), isPartner: true, partnerPromotionKey: "atlascloud",