temporarily disable gpt-4 for kobold as it is broken

This commit is contained in:
nai-degen 2023-04-10 04:56:04 -07:00 committed by nai-degen
parent f0afc8c420
commit f37a2fa7fa
1 changed files with 4 additions and 1 deletions

View File

@ -79,7 +79,10 @@ export const transformKoboldPayload: ExpressHttpProxyReqCallback = (
// gpt4, use it, otherwise use gpt3.5-turbo. If the key was incorrectly // gpt4, use it, otherwise use gpt3.5-turbo. If the key was incorrectly
// assigned, we'll get an error from OpenAI but the key will be downgraded // assigned, we'll get an error from OpenAI but the key will be downgraded
// for the next request. // for the next request.
const model = req.key!.isGpt4 ? "gpt-4" : "gpt-3.5-turbo";
// const model = req.key!.isGpt4 ? "gpt-4" : "gpt-3.5-turbo"; //TODO: this is fucked, fix it later
const model = "gpt-3.5-turbo";
const newBody = { const newBody = {
model, model,
temperature, temperature,