Merge branch 'release' into staging

This commit is contained in:
Cohee
2025-03-17 09:47:11 +00:00
2 changed files with 27 additions and 13 deletions

View File

@ -4235,14 +4235,13 @@ $(document).ready(() => {
],
callback: (args, value) => {
const force = isTrueBoolean(String(args?.force ?? false));
value = String(value ?? '').trim();
// Skip processing if no value and not forced
if (!force && !value) {
return power_user.user_prompt_bias;
}
power_user.user_prompt_bias = value;
power_user.user_prompt_bias = String(value ?? '');
$('#start_reply_with').val(power_user.user_prompt_bias);
saveSettingsDebounced();