fix(grok): align token caps and docs

This commit is contained in:
calesthio
2026-03-28 22:36:33 -07:00
parent 18233bcdff
commit 1fb50939ce
3 changed files with 76 additions and 22 deletions

View File

@@ -22,7 +22,7 @@ export class GrokProvider extends LLMProvider {
Authorization: `Bearer ${this.apiKey}`,
},
body: JSON.stringify({
max_tokens: opts.max_tokens || 4096,
max_tokens: opts.maxTokens || 4096,
messages: [
{ role: 'system', content: systemPrompt },
{ role: 'user', content: userMessage },