Skip to content

Commit

Permalink
gpt-4o
Browse files Browse the repository at this point in the history
  • Loading branch information
Dooy committed May 14, 2024
1 parent 1b07cc7 commit 50035e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/api/mjapi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ export const canVisionModel= (model:string)=>{
return false;
}
export const isCanBase64Model=(model:string)=>{
return ['gemini-pro-vision','gemini-pro-1.5','gpt-4-turbo','gpt-4-turbo-2024-04-09','gpt-4-vision-preview'].indexOf(model)>-1
//gpt-4o
return ['gemini-pro-vision','gpt-4o','gpt-4o-2024-05-13','gemini-pro-1.5','gpt-4-turbo','gpt-4-turbo-2024-04-09','gpt-4-vision-preview'].indexOf(model)>-1
}
export const canBase64Model= (model:string)=>{
if( isCanBase64Model(model)) return model;
Expand Down

0 comments on commit 50035e4

Please sign in to comment.