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 {
|
.files {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
.files:not(.has-files) {
|
.files:not(.has-files) {
|
||||||
|
@@ -385,7 +385,7 @@
|
|||||||
|
|
||||||
mark(false);
|
mark(false);
|
||||||
|
|
||||||
generate(false);
|
generate(false, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
// edit option
|
// edit option
|
||||||
@@ -940,7 +940,7 @@
|
|||||||
|
|
||||||
let chatController;
|
let chatController;
|
||||||
|
|
||||||
function generate(cancel = false) {
|
function generate(cancel = false, noPush = false) {
|
||||||
if (chatController) {
|
if (chatController) {
|
||||||
chatController.abort();
|
chatController.abort();
|
||||||
|
|
||||||
@@ -980,7 +980,9 @@
|
|||||||
$reasoningTokens.classList.remove("invalid");
|
$reasoningTokens.classList.remove("invalid");
|
||||||
}
|
}
|
||||||
|
|
||||||
pushMessage();
|
if (!noPush) {
|
||||||
|
pushMessage();
|
||||||
|
}
|
||||||
|
|
||||||
chatController = new AbortController();
|
chatController = new AbortController();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user