Skip to content

Commit

Permalink
Fix sysprompts set with commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Cohee1207 committed Sep 25, 2024
1 parent d9a8638 commit b01ae4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/scripts/sysprompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit b01ae4e

Please sign in to comment.