Skip to content

Commit e876b0e

Browse files
committed
Closes #4104 adds Gemini 2.0 Flash-Lite model
1 parent e7ab4ee commit e876b0e

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
1010

1111
- Adds AI model status and model switcher to the _Home_ view ([#4064](https://github.com/gitkraken/vscode-gitlens/issues/4064))
1212
- Adds Anthropic Claude 3.7 Sonnet model for GitLens' AI features ([#4101](https://github.com/gitkraken/vscode-gitlens/issues/4101))
13+
- Adds Google Gemini 2.0 Flash-Lite model for GitLens' AI features ([#4104](https://github.com/gitkraken/vscode-gitlens/issues/4104))
1314

1415
### Changed
1516

src/ai/geminiProvider.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,25 @@ const models: GeminiModel[] = [
2121
provider: provider,
2222
hidden: true,
2323
},
24+
{
25+
id: 'gemini-2.0-flash-lite',
26+
name: 'Gemini 2.0 Flash-Lite',
27+
maxTokens: { input: 1048576, output: 8192 },
28+
provider: provider,
29+
},
30+
{
31+
id: 'gemini-2.0-flash-lite-001',
32+
name: 'Gemini 2.0 Flash-Lite',
33+
maxTokens: { input: 1048576, output: 8192 },
34+
provider: provider,
35+
hidden: true,
36+
},
2437
{
2538
id: 'gemini-2.0-flash-lite-preview-02-05',
2639
name: 'Gemini 2.0 Flash-Lite (Preview)',
2740
maxTokens: { input: 1048576, output: 8192 },
2841
provider: provider,
42+
hidden: true,
2943
},
3044
{
3145
id: 'gemini-2.0-pro-exp-02-05',

0 commit comments

Comments
 (0)