mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-08-22 23:25:28 +00:00
GLM-5.2 ships a 1M context window, and 1M is becoming the norm for newer GLM releases. The previous `/^glm-5/` rule capped the whole GLM-5 line at 202752, so every new model would need a code change. Make 1M the forward default for GLM-5.2+, GLM-6.x..9.x and two-digit majors, while pinning the confirmed 200K families (GLM-5 / 5.0 / 5.1 and GLM-4.x or older) explicitly. Third-party deploy prefixes (e.g. `pai/glm-5.3`) are already stripped by normalize(), so they match the same rules. Non-numeric names (e.g. glm-z1) stay on the conservative fallback. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| vendor | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||