Save prompt manager items to perset

This commit is contained in:
maver
2023-06-29 19:26:20 +02:00
parent 2054cbeb83
commit e908610b99
2 changed files with 13 additions and 0 deletions

View File

@@ -5151,6 +5151,9 @@ async function getSettings(type) {
// Load context templates
loadContextTemplatesFromSettings(data, settings);
// Allow subscribers to mutate settings
eventSource.emit(event_types.SETTINGS_LOADED_AFTER, settings);
// Set context size after loading power user (may override the max value)
$("#max_context").val(max_context);
$("#max_context_counter").text(`${max_context}`);