mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-05 06:35:15 +00:00
UI: add "Continue" and "Remove" buttons below the last chat message
This commit is contained in:
parent
ecb5d3c485
commit
5e99dded4e
3 changed files with 31 additions and 2 deletions
|
|
@ -22,6 +22,14 @@ function regenerateClick() {
|
|||
document.getElementById("Regenerate").click();
|
||||
}
|
||||
|
||||
function continueClick() {
|
||||
document.getElementById("Continue").click();
|
||||
}
|
||||
|
||||
function removeLastClick() {
|
||||
document.getElementById("Remove-last").click();
|
||||
}
|
||||
|
||||
function handleMorphdomUpdate(text) {
|
||||
morphdom(
|
||||
document.getElementById("chat").parentNode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue