Skip to content

Commit b8d4abe

Browse files
committed
Adds gemini 2.5 pro support
1 parent fcc72fa commit b8d4abe

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +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))
13+
- Adds Google Gemini 2.5 Pro (Experimental) and Gemini 2.0 Flash-Lite model for GitLens' AI features ([#4104](https://github.com/gitkraken/vscode-gitlens/issues/4104))
1414
- Adds integration with Bitbucket Cloud and Data Center ([#3916](https://github.com/gitkraken/vscode-gitlens/issues/3916))
1515
- shows enriched links to PRs and issues ([#4045](https://github.com/gitkraken/vscode-gitlens/issues/4045))
1616
- shows Bitbucket Cloud and Data Center PRs in Launchpad ([#4046](https://github.com/gitkraken/vscode-gitlens/issues/4046))

src/plus/ai/geminiProvider.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ const provider = { id: 'gemini', name: 'Google' } as const;
77

88
type GeminiModel = AIModel<typeof provider.id>;
99
const models: GeminiModel[] = [
10+
{
11+
id: 'gemini-2.5-pro-exp-03-25',
12+
name: 'Gemini 2.5 Pro (Experimental)',
13+
maxTokens: { input: 1000000, output: 64000 },
14+
provider: provider,
15+
},
1016
{
1117
id: 'gemini-2.0-flash',
1218
name: 'Gemini 2.0 Flash',

0 commit comments

Comments
 (0)