Skip to content

Commit d461d3e

Browse files
committed
revert: undo fc04a3a change to GLM-4.6-turbo maxTokens; restore 202752 in types; rely on centralized 20% cap at request time
1 parent e47fdc5 commit d461d3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/providers/chutes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export const chutesModels = {
331331
"GLM-4.6 introduces major upgrades over GLM-4.5, including a longer 200K-token context window for complex tasks, stronger coding performance in benchmarks and real-world tools (such as Claude Code, Cline, Roo Code, and Kilo Code), improved reasoning with tool use during inference, more capable and efficient agent integration, and refined writing that better matches human style, readability, and natural role-play scenarios.",
332332
},
333333
"zai-org/GLM-4.6-turbo": {
334-
maxTokens: 40960, // 20% of 200K context window to leave room for input
334+
maxTokens: 202752, // From Chutes /v1/models: max_output_length
335335
contextWindow: 202752,
336336
supportsImages: false,
337337
supportsPromptCache: false,

0 commit comments

Comments
 (0)