Only load the default history if it's empty

This commit is contained in:
oobabooga 2023-04-24 11:50:51 -03:00
parent c86e9a3372
commit 0c32ae27cc

View File

@ -483,6 +483,7 @@ def load_character(character, name1, name2, mode):
def load_default_history(name1, name2):
if len(shared.history['visible']) == 0 and len(shared.history['internal']) == 0:
load_character("None", name1, name2, "chat")