mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-11 17:07:07 +01:00
Merge pull request #1978 from P3il4/fix-continue
Fix prompt cache after API error
This commit is contained in:
commit
b080f8af48
@ -3973,6 +3973,8 @@ async function Generate(type, { automatic_trigger, force_name2, quiet_prompt, qu
|
|||||||
toastr.error(exception.error.message, 'Error', { timeOut: 10000, extendedTimeOut: 20000 });
|
toastr.error(exception.error.message, 'Error', { timeOut: 10000, extendedTimeOut: 20000 });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
generatedPromptCache = '';
|
||||||
|
|
||||||
unblockGeneration();
|
unblockGeneration();
|
||||||
console.log(exception);
|
console.log(exception);
|
||||||
streamingProcessor = null;
|
streamingProcessor = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user