Skip to content

Commit 38fe812

Browse files
authored
Merge pull request #74 from RooVetGit/gemini_2
Add Gemini 2.0
2 parents 2f2c060 + 65bbefe commit 38fe812

File tree

4 files changed

+15
-3
lines changed

4 files changed

+15
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Roo Cline Changelog
22

3+
## [2.1.20]
4+
5+
- Add Gemini 2.0
6+
37
## [2.1.19]
48

59
- Better error handling for diff editing

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "Roo Cline",
44
"description": "A fork of Cline, an autonomous coding agent, with some added experimental configuration and automation features.",
55
"publisher": "RooVeterinaryInc",
6-
"version": "2.1.19",
6+
"version": "2.1.20",
77
"icon": "assets/icons/rocket.png",
88
"galleryBanner": {
99
"color": "#617A91",

src/shared/api.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,14 @@ export const geminiModels = {
286286
inputPrice: 0,
287287
outputPrice: 0,
288288
},
289+
"gemini-2.0-flash-exp": {
290+
maxTokens: 8192,
291+
contextWindow: 2_097_152,
292+
supportsImages: true,
293+
supportsPromptCache: false,
294+
inputPrice: 0,
295+
outputPrice: 0,
296+
},
289297
} as const satisfies Record<string, ModelInfo>
290298

291299
// OpenAI Native

0 commit comments

Comments
 (0)