Skip to content

Commit

Permalink
hotfix haiku not support vision
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Nov 5, 2024
1 parent 00d6cb2 commit 54d6bea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,8 @@ export function isVisionModel(model: string) {

const visionKeywords = [
"vision",
"claude-3",
"-sonnet-",
"-opus-",
"gemini-1.5-pro",
"gemini-1.5-flash",
"gpt-4o",
Expand Down

0 comments on commit 54d6bea

Please sign in to comment.