mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-08 22:21:23 +00:00
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:
parent
e618d881d6
commit
328890546c
2 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue