Skip to content
This repository was archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
Rename Model for Gemini Vision (#301)
Browse files Browse the repository at this point in the history
- [+] feat(constant.ts): add comment about model name usage
- [+] fix(constant.ts): rename 'gemini-pro-vision' to 'gemini-1.0-pro-vision-latest' in DEFAULT_MODELS array
  • Loading branch information
H0llyW00dzZ authored Mar 2, 2024
1 parent 9074fca commit ddf3598
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ export const DEFAULT_MODELS = [
providerType: "openai",
},
},
// Note: It's better to use the original model name rather than an alias, as using an alias could potentially lead to confusion.
{
name: "gemini-1.0-pro",
available: true,
Expand All @@ -329,7 +330,7 @@ export const DEFAULT_MODELS = [
},
},
{
name: "gemini-pro-vision",
name: "gemini-1.0-pro-vision-latest",
available: true,
provider: {
id: "google",
Expand Down

0 comments on commit ddf3598

Please sign in to comment.