Skip to content

Commit 0b7fac0

Browse files
authored
Add Gemini 2.0 Pro (RooCodeInc#1655)
1 parent 3fd0106 commit 0b7fac0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/shared/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,14 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
246246
export type GeminiModelId = keyof typeof geminiModels
247247
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-thinking-exp-1219"
248248
export const geminiModels = {
249+
"gemini-2.0-pro-exp-02-05": {
250+
maxTokens: 8192,
251+
contextWindow: 2_097_152,
252+
supportsImages: true,
253+
supportsPromptCache: false,
254+
inputPrice: 0,
255+
outputPrice: 0,
256+
},
249257
"gemini-2.0-flash-thinking-exp-01-21": {
250258
maxTokens: 65536,
251259
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)