Minor bug fix
This commit is contained in:
parent
fbce30b09f
commit
4333d82b9d
1 changed files with 1 additions and 1 deletions
|
@ -527,8 +527,8 @@ def load_history_after_deletion(state, idx):
|
|||
if shared.args.multi_user:
|
||||
return start_new_chat(state)
|
||||
|
||||
idx = min(int(idx), len(histories) - 1)
|
||||
histories = find_all_histories(state)
|
||||
idx = min(int(idx), len(histories) - 1)
|
||||
|
||||
if len(histories) > 0:
|
||||
history = load_history(histories[idx], state['character_menu'], state['mode'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue