Update state.js

This commit is contained in:
2025-07-12 17:48:36 +08:00
committed by GitHub
parent 3e3621ba44
commit 14e1eb62ae

View File

@@ -123,6 +123,15 @@ export function updateUI() {
$("#amily2_auto_hide_enabled").prop("checked", settings.autoHideEnabled);
$("#amily2_auto_hide_threshold").val(settings.autoHideThreshold);
$("#amily2_auto_hide_threshold_value").text(settings.autoHideThreshold);
$('#amily2_lore_activation_mode').val(settings.loreActivationMode);
$('#amily2_lore_insertion_position').val(settings.loreInsertionPosition);
$('#amily2_lore_depth_input').val(settings.loreDepth);
if (settings.loreInsertionPosition === 'at_depth') {
$('#amily2_lore_depth_container').show();
} else {
$('#amily2_lore_depth_container').hide();
}
populateModelDropdown();
}
}