Fix sysprompts set with commands

This commit is contained in:
Cohee 2024-09-25 14:58:07 +00:00
parent d9a8638109
commit b01ae4e0ea
1 changed files with 1 additions and 1 deletions

View File

@ -143,7 +143,7 @@ function selectSystemPromptCallback(args, name) {
foundName = result[0].item;
}
$select.val(foundName).trigger('input');
$select.val(foundName).trigger('change');
!quiet && toastr.success(`System prompt "${foundName}" selected`);
return foundName;
}