Skip to content

Commit e4de688

Browse files
authored
Merge pull request #180 from RooVetGit/gemini_2_flash_thinking
Add gemini-2.0-flash-thinking-exp-1219
2 parents 240fa9f + 3813816 commit e4de688

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

.changeset/stale-wasps-fetch.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"roo-cline": patch
3+
---
4+
5+
Add gemini-2.0-flash-thinking-exp-1219

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ A fork of Cline, an autonomous coding agent, tweaked for more speed and flexibil
1313
- Option to use a larger 1280x800 browser
1414
- Quick prompt copying from history
1515
- OpenRouter compression support
16-
- Support for newer Gemini models (gemini-exp-1206, gemini-2.0-flash-exp) and Meta 3, 3.1, and 3.2 models via AWS Bedrock
16+
- Support for newer Gemini models (gemini-exp-1206, gemini-2.0-flash-exp, gemini-2.0-flash-thinking-exp-1219) and Meta 3, 3.1, and 3.2 models via AWS Bedrock
1717
- Runs alongside the original Cline
1818

1919
## Disclaimer

src/shared/api.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,16 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
381381
// Gemini
382382
// https://ai.google.dev/gemini-api/docs/models/gemini
383383
export type GeminiModelId = keyof typeof geminiModels
384-
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-exp"
384+
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-thinking-exp-1219"
385385
export const geminiModels = {
386+
"gemini-2.0-flash-thinking-exp-1219": {
387+
maxTokens: 8192,
388+
contextWindow: 1_048_576,
389+
supportsImages: true,
390+
supportsPromptCache: false,
391+
inputPrice: 0,
392+
outputPrice: 0,
393+
},
386394
"gemini-2.0-flash-exp": {
387395
maxTokens: 8192,
388396
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)