Skip to content

Commit

Permalink
gpt-4o as vision model
Browse files Browse the repository at this point in the history
  • Loading branch information
leo4life2 committed May 15, 2024
1 parent 1e00c89 commit 8688842
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 8688842

Please sign in to comment.