From 691e9ee754f5e6ec42ba919cf28e67bf29d25fe8 Mon Sep 17 00:00:00 2001 From: RealBeepMcJeep Date: Wed, 30 Aug 2023 12:14:02 -0700 Subject: [PATCH] this default param does not exist --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 2847201fb..0b98fb1a4 100644 --- a/server.js +++ b/server.js @@ -477,7 +477,7 @@ app.get('/version', function (_, response) { }) //**************Kobold api -app.post("/generate", jsonParser, async function (request, response_generate = response) { +app.post("/generate", jsonParser, async function (request, response_generate) { if (!request.body) return response_generate.sendStatus(400); const request_prompt = request.body.prompt;