fix: update Opus 4.1 max tokens from 8K to 32K (#9046)

Aligns claude-opus-4-1-20250805 max token limit with claude-opus-4-20250514,
both models now supporting 32K output tokens (overridable to 8K when
enableReasoningEffort is false).

Fixes #9045

Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
roomote[bot] 2025-11-05 00:24:46 -05:00 committed by GitHub
parent ae9f3fe984
commit 6965e5c791
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,7 +49,7 @@ export const anthropicModels = {
],
},
"claude-opus-4-1-20250805": {
maxTokens: 8192,
maxTokens: 32_000, // Overridden to 8k if `enableReasoningEffort` is false.
contextWindow: 200_000,
supportsImages: true,
supportsPromptCache: true,