Fix some detail

This commit is contained in:
IHaBiS02
2024-05-14 05:48:35 +09:00
parent 73fda3bb93
commit 2d71037e9b

View File

@@ -497,7 +497,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
// inlay models doesn't support logit_bias // inlay models doesn't support logit_bias
// gpt-4-turbo supports both logit_bias and inlay image // gpt-4-turbo supports both logit_bias and inlay image
if(!( if(!(
aiModel.startsWith('gpt4') || aiModel.startsWith('gpt') ||
(aiModel == 'reverse_proxy' && ( (aiModel == 'reverse_proxy' && (
db.proxyRequestModel?.startsWith('gpt') || db.proxyRequestModel?.startsWith('gpt') ||
(db.proxyRequestModel === 'custom' && db.customProxyRequestModel.startsWith('gpt')) (db.proxyRequestModel === 'custom' && db.customProxyRequestModel.startsWith('gpt'))