fix: correct maxOutputTokens for gemini-3-pro-preview from 65536 to 64000

Fixes issue #9413 where the incorrect maxOutputTokens value (65536) was causing 400 INVALID_ARGUMENT errors when using gemini-3-pro-preview with custom APIs. According to official documentation, the correct value should be 64000.
This commit is contained in:
Roo Code 2025-11-20 02:39:21 +00:00
parent e618d881d6
commit 328890546c
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ export const geminiDefaultModelId: GeminiModelId = "gemini-2.5-pro"
export const geminiModels = {
"gemini-3-pro-preview": {
maxTokens: 65_536,
maxTokens: 64_000,
contextWindow: 1_048_576,
supportsImages: true,
supportsNativeTools: true,

View file

@ -7,7 +7,7 @@ export const vertexDefaultModelId: VertexModelId = "claude-sonnet-4-5@20250929"
export const vertexModels = {
"gemini-3-pro-preview": {
maxTokens: 65_536,
maxTokens: 64_000,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: true,