Fix sysprompts set with commands
| @@ -143,7 +143,7 @@ function selectSystemPromptCallback(args, name) { | |||
| 143 | foundName = result[0].item; | 143 | foundName = result[0].item; |
| 144 | } | 144 | } |
| 145 | 145 | ||
| 146 | $select.val(foundName).trigger('input'); | 146 | $select.val(foundName).trigger('change'); |
| 147 | !quiet && toastr.success(`System prompt "${foundName}" selected`); | 147 | !quiet && toastr.success(`System prompt "${foundName}" selected`); |
| 148 | return foundName; | 148 | return foundName; |
| 149 | } | 149 | } |