mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 17:06:42 +00:00
some small fixes
This commit is contained in:
@@ -714,6 +714,7 @@ body:not(.loading) #loading {
|
||||
.files {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.files:not(.has-files) {
|
||||
|
@@ -385,7 +385,7 @@
|
||||
|
||||
mark(false);
|
||||
|
||||
generate(false);
|
||||
generate(false, true);
|
||||
});
|
||||
|
||||
// edit option
|
||||
@@ -940,7 +940,7 @@
|
||||
|
||||
let chatController;
|
||||
|
||||
function generate(cancel = false) {
|
||||
function generate(cancel = false, noPush = false) {
|
||||
if (chatController) {
|
||||
chatController.abort();
|
||||
|
||||
@@ -980,7 +980,9 @@
|
||||
$reasoningTokens.classList.remove("invalid");
|
||||
}
|
||||
|
||||
pushMessage();
|
||||
if (!noPush) {
|
||||
pushMessage();
|
||||
}
|
||||
|
||||
chatController = new AbortController();
|
||||
|
||||
|
Reference in New Issue
Block a user