Add GPT4o mini

This commit is contained in:
kwaroran
2024-08-05 17:35:15 +09:00
parent 9694637a4f
commit e521a1b366
2 changed files with 11 additions and 0 deletions

View File

@@ -99,6 +99,10 @@ export function getModelName(name:string){
return 'GPT-4o'
case 'gpt4o-2024-05-13':
return 'GPT-4o (2024-05-13)'
case 'gpt4om':
return 'GPT-4o Mini'
case 'gpt4om-2024-07-18':
return 'GPT-4o Mini (2024-07-18)'
case 'gemini-1.5-pro-latest':
return 'Gemini 1.5 Pro'
case 'gemini-1.5-flash':
@@ -133,6 +137,9 @@ export function getModelShortName(model:string){
if(model.startsWith("cohere-")){
return model.replace("cohere-", "")
}
if(model.startsWith('gpt4om')){
return "GPT-4o Mini"
}
if(model.startsWith("gpt4o")){
return "GPT-4o"
}