Add targ.key

This commit is contained in:
kwaroran
2025-03-24 16:58:24 +09:00
parent cd9d81e405
commit 669d677efd

View File

@@ -516,6 +516,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:ModelMo
targ.modelInfo.internalID = db.customProxyRequestModel
targ.modelInfo.format = db.customAPIFormat
targ.customURL = db.forceReplaceUrl
targ.key = db.proxyKey
}
if(targ.aiModel.startsWith('xcustom:::')){
const found = db.customModels.find(m => m.id === targ.aiModel)