Skip to content

Commit

Permalink
Add gemini-2.0-flash-lite-preview-02-05 and gemini-2.0-pro-exp-02-05
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubens committed Feb 5, 2025
1 parent d3f1098 commit 65b7180
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/violet-paws-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"roo-cline": patch
---

Add gemini-2.0-flash-lite-preview-02-05 and gemini-2.0-pro-exp-02-05
16 changes: 16 additions & 0 deletions src/shared/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,22 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
export type GeminiModelId = keyof typeof geminiModels
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-thinking-exp-01-21"
export const geminiModels = {
"gemini-2.0-flash-lite-preview-02-05": {
maxTokens: 8192,
contextWindow: 1_048_576,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"gemini-2.0-pro-exp-02-05": {
maxTokens: 8192,
contextWindow: 2_097_152,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
"gemini-2.0-flash-thinking-exp-01-21": {
maxTokens: 65_536,
contextWindow: 1_048_576,
Expand Down

0 comments on commit 65b7180

Please sign in to comment.