[feat] force openai option

This commit is contained in:
kwaroran
2023-08-04 17:46:04 +09:00
parent 3227b33cb1
commit c788399321
4 changed files with 8 additions and 0 deletions

View File

@@ -95,6 +95,9 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
if(db.proxyRequestModel.startsWith('claude')){
raiModel = 'claude'
}
if(db.forceProxyAsOpenAI){
raiModel = 'reverse_proxy'
}
}
switch(raiModel){
case 'gpt35':