Skip to content

Commit 5568472

Browse files
authored
💄 style: add Gemini 1.5 Flash model (lobehub#2507)
* Update google.ts * Update google.ts * del gemini-1.0-pro-002 * Update google.ts
1 parent b94d4d9 commit 5568472

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/config/modelProviders/google.ts

+12-2
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,21 @@ const Google: ModelProviderCard = {
88
description: 'A legacy text-only model optimized for chat conversations',
99
displayName: 'PaLM 2 Chat (Legacy)',
1010
id: 'chat-bison-001',
11+
legacy: true,
1112
maxOutput: 1024,
1213
// tokens: 4096 + 1024, // none tokens test
1314
},
1415
{
1516
description: 'A legacy model that understands text and generates text as an output',
1617
displayName: 'PaLM 2 (Legacy)',
1718
id: 'text-bison-001',
19+
legacy: true,
1820
maxOutput: 1024,
1921
tokens: 8196 + 1024,
2022
},
2123
{
2224
description: 'The best model for scaling across a wide range of tasks',
2325
displayName: 'Gemini 1.0 Pro',
24-
enabled: true,
2526
functionCall: true,
2627
id: 'gemini-pro',
2728
maxOutput: 2048,
@@ -38,7 +39,6 @@ const Google: ModelProviderCard = {
3839
{
3940
description: 'The best image understanding model to handle a broad range of applications',
4041
displayName: 'Gemini 1.0 Pro Vision',
41-
enabled: true,
4242
id: 'gemini-pro-vision',
4343
maxOutput: 4096,
4444
tokens: 12_288 + 4096,
@@ -69,6 +69,16 @@ const Google: ModelProviderCard = {
6969
maxOutput: 2048,
7070
tokens: 30_720 + 2048,
7171
},
72+
{
73+
description: 'Fast and versatile multimodal model for scaling across diverse tasks',
74+
displayName: 'Gemini 1.5 Flash',
75+
enabled: true,
76+
functionCall: true,
77+
id: 'gemini-1.5-flash-latest',
78+
maxOutput: 8192,
79+
tokens: 1_048_576 + 8192,
80+
vision: true,
81+
},
7282
{
7383
description: 'Mid-size multimodal model that supports up to 1 million tokens',
7484
displayName: 'Gemini 1.5 Pro',

0 commit comments

Comments
 (0)