mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Option to unlock max context size
This commit is contained in:
@@ -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") {
|
||||
}
|
||||
|
Reference in New Issue
Block a user