Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

fix: update glm context windows (#7675)

Ari Webb3c4cc878ab3a
diff --git a/letta/schemas/providers/zai.py b/letta/schemas/providers/zai.py
index 28866f6a6..112aed49c 100644
--- a/letta/schemas/providers/zai.py
+++ b/letta/schemas/providers/zai.py
@@ -13,13 +13,8 @@ from letta.schemas.providers.openai import OpenAIProvider
# Z.ai model context windows
# Reference: https://docs.z.ai/
MODEL_CONTEXT_WINDOWS = {
- "glm-4": 128_000,
- "glm-4.5": 128_000,
- "glm-4.5-air": 128_000,
- "glm-4.6": 128_000,
- "glm-4.6v": 128_000,
- "glm-4-assistant": 128_000,
- "charglm-3": 8_000,
+ "glm-4.5": 128000,
+ "glm-4.6": 200000,
}