mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Set the browser to refresh when loading a story to fix a race condition
This commit is contained in:
@@ -262,6 +262,7 @@ function disruptStoryState() {
|
|||||||
|
|
||||||
function reset_story() {
|
function reset_story() {
|
||||||
console.log("Resetting story");
|
console.log("Resetting story");
|
||||||
|
location.reload();
|
||||||
disruptStoryState();
|
disruptStoryState();
|
||||||
chunk_delete_observer.disconnect();
|
chunk_delete_observer.disconnect();
|
||||||
clearTimeout(calc_token_usage_timeout);
|
clearTimeout(calc_token_usage_timeout);
|
||||||
|
Reference in New Issue
Block a user