Pass max length to Kobold GUI settings

This commit is contained in:
Cohee
2023-09-14 18:20:12 +03:00
parent f6c29c61df
commit 52891898d2
2 changed files with 3 additions and 7 deletions

View File

@ -489,7 +489,7 @@ app.post("/generate", jsonParser, async function (request, response_generate) {
use_authors_note: false,
use_world_info: false,
max_context_length: request.body.max_context_length,
singleline: !!request.body.singleline,
max_length: request.body.max_length,
};
if (request.body.gui_settings == false) {