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

@@ -175,6 +175,8 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
case 'gpt4_turbo':
case 'gpt4o':
case 'gpt4o-2024-05-13':
case 'gpt4om':
case 'gpt4om-2024-07-18':
case 'reverse_proxy':{
let formatedChat:OpenAIChatExtra[] = []
for(let i=0;i<formated.length;i++){
@@ -415,6 +417,8 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
: requestModel === 'gpt4_turbo' ? 'gpt-4-turbo'
: requestModel === 'gpt4o' ? 'gpt-4o'
: requestModel === 'gpt4o-2024-05-13' ? 'gpt-4o-2024-05-13'
: requestModel === 'gpt4om' ? 'gpt-4o-mini'
: requestModel === 'gpt4om-2024-07-18' ? 'gpt-4o-mini-2024-07-18'
: (!requestModel) ? 'gpt-3.5-turbo'
: requestModel,
messages: formatedChat,