Option to unlock max context size

This commit is contained in:
SillyLossy
2023-05-11 00:25:08 +03:00
parent ee8ae7e9c6
commit 18429bbc3b
4 changed files with 58 additions and 6 deletions

View File

@@ -3235,12 +3235,6 @@ async function getSettings(type) {
"true"
);
$("#max_context").val(max_context);
$("#max_context_counter").text(`${max_context}`);
$("#amount_gen").val(amount_gen);
$("#amount_gen_counter").text(`${amount_gen}`);
swipes = settings.swipes !== undefined ? !!settings.swipes : true; // enable swipes by default
$('#swipes-checkbox').prop('checked', swipes); /// swipecode
//console.log('getSettings -- swipes = ' + swipes + '. toggling box');
@@ -3272,6 +3266,13 @@ async function getSettings(type) {
// Load- character tags
loadTagsSettings(settings);
// Set context size after loading power user (may override the max value)
$("#max_context").val(max_context);
$("#max_context_counter").text(`${max_context}`);
$("#amount_gen").val(amount_gen);
$("#amount_gen_counter").text(`${amount_gen}`);
//Enable GUI deference settings if GUI is selected for Kobold
if (main_api === "kobold") {
}