Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#4706 from leo4life2/patch-1
Browse files Browse the repository at this point in the history
gpt-4o as vision model
  • Loading branch information
fred-bf authored May 16, 2024
2 parents 1e00c89 + 8688842 commit bffd9d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ export function isVisionModel(model: string) {
"claude-3",
"gemini-1.5-pro",
"gemini-1.5-flash",
"gpt-4o",
];
const isGpt4Turbo =
model.includes("gpt-4-turbo") && !model.includes("preview");
Expand Down

0 comments on commit bffd9d9

Please sign in to comment.