Fix sysprompts set with commands
This commit is contained in:
parent
d9a8638109
commit
b01ae4e0ea
|
@ -143,7 +143,7 @@ function selectSystemPromptCallback(args, name) {
|
||||||
foundName = result[0].item;
|
foundName = result[0].item;
|
||||||
}
|
}
|
||||||
|
|
||||||
$select.val(foundName).trigger('input');
|
$select.val(foundName).trigger('change');
|
||||||
!quiet && toastr.success(`System prompt "${foundName}" selected`);
|
!quiet && toastr.success(`System prompt "${foundName}" selected`);
|
||||||
return foundName;
|
return foundName;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue