Skip to content

Commit ea4860a

Browse files
author
Roo Code Bot
committed
fix: increase max_tokens for moonshotai/kimi-k2-instruct on Groq to 16384
- Updated maxTokens from 8192 to 16384 for moonshotai/kimi-k2-instruct model - Fixes Groq API error: "max_tokens must be less than or equal to 16384" - Aligns with Groq API limits for this specific model Fixes #5739
1 parent 5d1270a commit ea4860a

File tree

1 file changed

+1
-1
lines changed
  • packages/types/src/providers

1 file changed

+1
-1
lines changed

packages/types/src/providers/groq.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const groqModels = {
8989
description: "DeepSeek R1 Distill Llama 70B model, 128K context.",
9090
},
9191
"moonshotai/kimi-k2-instruct": {
92-
maxTokens: 8192,
92+
maxTokens: 16384,
9393
contextWindow: 131072,
9494
supportsImages: false,
9595
supportsPromptCache: false,

0 commit comments

Comments
 (0)