mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-06 23:21:06 +02:00
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…
x
Reference in New Issue
Block a user