Update raiModel based on customProxyRequestModel

This commit is contained in:
kwaroran
2024-03-06 03:10:56 +09:00
parent cf06a73f66
commit 52474c6fbd

View File

@@ -132,6 +132,9 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
let raiModel = aiModel
if(aiModel === 'reverse_proxy'){
if(db.proxyRequestModel === 'custom' && db.customProxyRequestModel.startsWith('claude')){
raiModel = db.customProxyRequestModel
}
if(db.proxyRequestModel.startsWith('claude')){
raiModel = db.proxyRequestModel
}