Add seperate models

This commit is contained in:
kwaroran
2025-03-17 14:30:29 +09:00
parent 5c53e16b85
commit bf4f27d0e5
5 changed files with 82 additions and 2 deletions

View File

@@ -486,6 +486,13 @@ export async function requestChatDataMain(arg:requestDataArgument, model:ModelMo
targ.customURL = db.forceReplaceUrl
}
if(db.seperateModelsForAxModels){
if(db.seperateModels[model]){
targ.aiModel = db.seperateModels[model]
targ.modelInfo = getModelInfo(targ.aiModel)
}
}
const format = targ.modelInfo.format
targ.formated = reformater(targ.formated, targ.modelInfo)