test: update GLM 5.2 context window assertions for refreshed catalog

This commit is contained in:
Saoud Rizwan
2026-07-03 10:13:23 -07:00
parent a2a46ae600
commit c4a855d95e
2 changed files with 6 additions and 6 deletions
@@ -168,8 +168,8 @@ describe("resolveProviderConfig", () => {
expect(resolved?.knownModels?.["zai/glm-5.2"]).toMatchObject({
id: "zai/glm-5.2",
name: "GLM 5.2",
contextWindow: 1_000_000,
maxInputTokens: 1_000_000,
contextWindow: 1_040_000,
maxInputTokens: 1_040_000,
});
expect(resolved?.knownModels?.["z-ai/glm-5.2"]).toBeUndefined();
});
@@ -196,8 +196,8 @@ describe("resolveProviderConfig", () => {
});
expect(resolved?.knownModels?.["zai/glm-5.2"]).toMatchObject({
id: "zai/glm-5.2",
contextWindow: 1_000_000,
maxInputTokens: 1_000_000,
contextWindow: 1_040_000,
maxInputTokens: 1_040_000,
});
});
@@ -57,8 +57,8 @@ describe("cline builtin models", () => {
expect(models["zai/glm-5.2"]).toMatchObject({
id: "zai/glm-5.2",
name: "GLM 5.2",
contextWindow: 1_000_000,
maxInputTokens: 1_000_000,
contextWindow: 1_040_000,
maxInputTokens: 1_040_000,
});
expect(models["zai/glm-5.1"]).toMatchObject({
id: "zai/glm-5.1",