[fix] model using submodel even if simple mode

This commit is contained in:
kwaroran
2023-07-22 02:31:08 +09:00
parent 26f6c911f6
commit d5a057168d

View File

@@ -87,7 +87,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
let temperature = arg.temperature ?? (db.temperature / 100)
let bias = arg.bias
let currentChar = arg.currentChar
const aiModel = model === 'model' ? db.aiModel : db.subModel
const aiModel = (model === 'model' || (!db.advancedBotSettings)) ? db.aiModel : db.subModel
switch(aiModel){
case 'gpt35':
case 'gpt35_0613':