UI: add "Continue" and "Remove" buttons below the last chat message

This commit is contained in:
oobabooga 2025-01-21 09:05:44 -08:00
parent ecb5d3c485
commit 5e99dded4e
3 changed files with 31 additions and 2 deletions

View file

@ -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,