Fix errors when use Oobabooga mode

This commit is contained in:
justpain02
2023-12-20 00:16:37 +09:00
parent bb8d7506f3
commit 78233c247c

View File

@@ -904,7 +904,7 @@ export async function requestChatDataMain(arg:requestDataArgument, model:'model'
}
const url = new URL(db.textgenWebUIBlockingURL)
url.pathname = "/v1/chat/completions"
url.pathname = "/v1/completions"
const urlStr = url.toString()
const OobaBodyTemplate = db.reverseProxyOobaArgs