mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Merge pull request #180 from RooVetGit/gemini_2_flash_thinking
Add gemini-2.0-flash-thinking-exp-1219
This commit is contained in:
5
.changeset/stale-wasps-fetch.md
Normal file
5
.changeset/stale-wasps-fetch.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Add gemini-2.0-flash-thinking-exp-1219
|
||||
@@ -13,7 +13,7 @@ A fork of Cline, an autonomous coding agent, tweaked for more speed and flexibil
|
||||
- Option to use a larger 1280x800 browser
|
||||
- Quick prompt copying from history
|
||||
- OpenRouter compression support
|
||||
- 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
|
||||
- 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
|
||||
- Runs alongside the original Cline
|
||||
|
||||
## Disclaimer
|
||||
|
||||
@@ -381,8 +381,16 @@ export const openAiModelInfoSaneDefaults: ModelInfo = {
|
||||
// Gemini
|
||||
// https://ai.google.dev/gemini-api/docs/models/gemini
|
||||
export type GeminiModelId = keyof typeof geminiModels
|
||||
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-exp"
|
||||
export const geminiDefaultModelId: GeminiModelId = "gemini-2.0-flash-thinking-exp-1219"
|
||||
export const geminiModels = {
|
||||
"gemini-2.0-flash-thinking-exp-1219": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 1_048_576,
|
||||
supportsImages: true,
|
||||
supportsPromptCache: false,
|
||||
inputPrice: 0,
|
||||
outputPrice: 0,
|
||||
},
|
||||
"gemini-2.0-flash-exp": {
|
||||
maxTokens: 8192,
|
||||
contextWindow: 1_048_576,
|
||||
|
||||
Reference in New Issue
Block a user