Skip to content

Commit 7429c3c

Browse files
committed
Updates Gemini model support
1 parent d5197c0 commit 7429c3c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/plus/ai/geminiProvider.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@ import { OpenAICompatibleProvider } from './openAICompatibleProvider';
66

77
type GeminiModel = AIModel<typeof provider.id>;
88
const models: GeminiModel[] = [
9+
{
10+
id: 'gemini-2.5-pro-preview-03-25',
11+
name: 'Gemini 2.5 Pro (Preview)',
12+
maxTokens: { input: 1000000, output: 64000 },
13+
provider: provider,
14+
},
915
{
1016
id: 'gemini-2.5-pro-exp-03-25',
1117
name: 'Gemini 2.5 Pro (Experimental)',
1218
maxTokens: { input: 1000000, output: 64000 },
1319
provider: provider,
20+
hidden: true,
1421
},
1522
{
1623
id: 'gemini-2.0-flash',

0 commit comments

Comments
 (0)