mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
World info Save Load Bug Fix
This commit is contained in:
@@ -6089,13 +6089,13 @@ def generate(txt, minimum, maximum, found_entries=None):
|
||||
# Deal with a single return sequence from generate()
|
||||
#==================================================================#
|
||||
def genresult(genout, flash=True, ignore_formatting=False):
|
||||
if not koboldai_vars.quiet:
|
||||
logger.generation(genout.encode("unicode_escape").decode("utf-8"))
|
||||
|
||||
# Format output before continuing
|
||||
if not ignore_formatting:
|
||||
genout = applyoutputformatting(genout)
|
||||
|
||||
if not koboldai_vars.quiet:
|
||||
logger.generation(genout.encode("unicode_escape").decode("utf-8"))
|
||||
|
||||
koboldai_vars.lua_koboldbridge.feedback = genout
|
||||
|
||||
if(len(genout) == 0):
|
||||
|
Reference in New Issue
Block a user