Merge pull request #74 from RooVetGit/gemini_2

Add Gemini 2.0
This commit is contained in:
Matt Rubens
2024-12-11 13:52:52 -05:00
committed by GitHub
4 changed files with 15 additions and 3 deletions

View File

@@ -1,5 +1,9 @@
# Roo Cline Changelog
## [2.1.20]
- Add Gemini 2.0
## [2.1.19]
- Better error handling for diff editing

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "roo-cline",
"version": "2.1.19",
"version": "2.1.20",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "roo-cline",
"version": "2.1.19",
"version": "2.1.20",
"dependencies": {
"@anthropic-ai/bedrock-sdk": "^0.10.2",
"@anthropic-ai/sdk": "^0.26.0",

View File

@@ -3,7 +3,7 @@
"displayName": "Roo Cline",
"description": "A fork of Cline, an autonomous coding agent, with some added experimental configuration and automation features.",
"publisher": "RooVeterinaryInc",
"version": "2.1.19",
"version": "2.1.20",
"icon": "assets/icons/rocket.png",
"galleryBanner": {
"color": "#617A91",

View File

@@ -286,6 +286,14 @@ export const geminiModels = {
inputPrice: 0,
outputPrice: 0,
},
"gemini-2.0-flash-exp": {
maxTokens: 8192,
contextWindow: 2_097_152,
supportsImages: true,
supportsPromptCache: false,
inputPrice: 0,
outputPrice: 0,
},
} as const satisfies Record<string, ModelInfo>
// OpenAI Native