Skip to content

Commit

Permalink
🐛 fix: fix gemini 1.5 pro model id to support gemini new models (#1776)
Browse files Browse the repository at this point in the history
  • Loading branch information
pzcn authored Mar 28, 2024
1 parent f0a3cba commit 591dcb3
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/config/modelProviders/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { ModelProviderCard } from '@/types/llm';

const Google: ModelProviderCard = {
chatModels: [
{
displayName: 'Gemini 1.5 Pro',
id: 'gemini-1.5-pro',
tokens: 1_048_576,
},
{
displayName: 'Gemini Pro',
id: 'gemini-pro',
Expand All @@ -18,6 +13,16 @@ const Google: ModelProviderCard = {
tokens: 12_288,
vision: true,
},
{
displayName: 'Gemini 1.5 Pro',
id: 'gemini-1.5-pro-latest',
tokens: 1_048_576,
},
{
displayName: 'Gemini Ultra',
id: 'gemini-ultra-latest',
tokens: 30_720,
},
],
id: 'google',
};
Expand Down

0 comments on commit 591dcb3

Please sign in to comment.