Skip to content

Commit ab47580

Browse files
authored
add additional gemini models to vertex (RooCodeInc#2080)
* add gemini-2.0-pro-exp-02-05, gemini-2.0-flash-thinking-exp-01-21 to vertex * Run 'npm run changeset'
1 parent ae77bce commit ab47580

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.changeset/proud-stingrays-bow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
add gemini models to vertex

src/shared/api.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,22 @@ export const vertexModels = {
323323
inputPrice: 0,
324324
outputPrice: 0,
325325
},
326+
"gemini-2.0-pro-exp-02-05": {
327+
maxTokens: 8192,
328+
contextWindow: 2_097_152,
329+
supportsImages: true,
330+
supportsPromptCache: false,
331+
inputPrice: 0,
332+
outputPrice: 0,
333+
},
334+
"gemini-2.0-flash-thinking-exp-01-21": {
335+
maxTokens: 65_536,
336+
contextWindow: 1_048_576,
337+
supportsImages: true,
338+
supportsPromptCache: false,
339+
inputPrice: 0,
340+
outputPrice: 0,
341+
},
326342
"gemini-exp-1206": {
327343
maxTokens: 8192,
328344
contextWindow: 2_097_152,

0 commit comments

Comments
 (0)