#1047 Unban EOS token and mirostat for Kobold

This commit is contained in:
Cohee 2023-09-01 01:04:58 +03:00
parent d6b694cc9d
commit e9de47615a
1 changed files with 4 additions and 0 deletions

View File

@ -534,6 +534,10 @@ app.post("/generate", jsonParser, async function (request, response_generate) {
typical: request.body.typical,
sampler_order: sampler_order,
singleline: !!request.body.singleline,
use_default_badwordids: request.body.use_default_badwordids,
mirostat: request.body.mirostat,
mirostat_eta: request.body.mirostat_eta,
mirostat_tau: request.body.mirostat_tau,
};
if (!!request.body.stop_sequence) {
this_settings['stop_sequence'] = request.body.stop_sequence;