From a757532c3ee8d7e72adb5e9d9cf11e76bec0446c Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Wed, 30 Aug 2023 21:46:09 +0300 Subject: [PATCH] Fix local fetch import for Kobold --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index a73b7a495..f12af1435 100644 --- a/server.js +++ b/server.js @@ -550,7 +550,7 @@ app.post("/generate", jsonParser, async function (request, response_generate = r const MAX_RETRIES = 50; const delayAmount = 2500; - let fetch, url, response; + let url, response; for (let i = 0; i < MAX_RETRIES; i++) { try { url = request.body.streaming ? `${api_server}/extra/generate/stream` : `${api_server}/v1/generate`;