mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-03-26 16:30:04 +01:00
Allow regenerating random story using Retry button
Commit b55e5a8e0b770d216339acf6346d18a3e7e8140c removed this feature, so this commit adds it back.
This commit is contained in:
parent
38d78d10db
commit
4832dd6f37
@ -2862,6 +2862,9 @@ def actionretry(data):
|
||||
if(vars.noai):
|
||||
emit('from_server', {'cmd': 'errmsg', 'data': "Retry function unavailable in Read Only mode."})
|
||||
return
|
||||
if(vars.recentrng is not None):
|
||||
randomGameRequest(vars.recentrng, memory=vars.recentrngm)
|
||||
return
|
||||
if actionback():
|
||||
actionsubmit("", actionmode=vars.actionmode, force_submit=True)
|
||||
send_debug()
|
||||
|
Loading…
x
Reference in New Issue
Block a user