mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
test: update GLM 5.2 context window assertions for refreshed catalog
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user