this default param does not exist
This commit is contained in:
parent
ab9594fe62
commit
691e9ee754
|
@ -477,7 +477,7 @@ app.get('/version', function (_, response) {
|
||||||
})
|
})
|
||||||
|
|
||||||
//**************Kobold api
|
//**************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);
|
if (!request.body) return response_generate.sendStatus(400);
|
||||||
|
|
||||||
const request_prompt = request.body.prompt;
|
const request_prompt = request.body.prompt;
|
||||||
|
|
Loading…
Reference in New Issue