mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Skill issue
This commit is contained in:
@ -1095,7 +1095,10 @@ function switchMaxContextSize() {
|
|||||||
for (const element of elements) {
|
for (const element of elements) {
|
||||||
element.attr('max', maxValue);
|
element.attr('max', maxValue);
|
||||||
element.attr('step', steps);
|
element.attr('step', steps);
|
||||||
|
|
||||||
|
if (element.attr('id') == 'max_context') {
|
||||||
element.attr('min', minValue);
|
element.attr('min', minValue);
|
||||||
|
}
|
||||||
const value = Number(element.val());
|
const value = Number(element.val());
|
||||||
|
|
||||||
if (value >= maxValue) {
|
if (value >= maxValue) {
|
||||||
|
Reference in New Issue
Block a user