Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5815 from LovelyGuYiMeng/main
Browse files Browse the repository at this point in the history
更新视觉模型匹配关键词
  • Loading branch information
lloydzhou authored Nov 12, 2024
2 parents 7cf89b5 + 8d66fed commit 819d249
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,11 +257,11 @@ export function isVisionModel(model: string) {
const excludeKeywords = ["claude-3-5-haiku-20241022"];
const visionKeywords = [
"vision",
"claude-3",
"gemini-1.5-pro",
"gemini-1.5-flash",
"gpt-4o",
"gpt-4o-mini",
"claude-3",
"gemini-1.5",
"qwen-vl",
"qwen2-vl",
];
const isGpt4Turbo =
model.includes("gpt-4-turbo") && !model.includes("preview");
Expand Down

0 comments on commit 819d249

Please sign in to comment.