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
miroshar-success committed Mar 28, 2024
1 parent e1800db commit b8fa278
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 b8fa278

Please sign in to comment.