mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Send last internal reply to input rather than visible
This commit is contained in:
parent
61aed97439
commit
aa1177ff15
@ -538,8 +538,8 @@ def remove_last_message(name1, name2):
|
|||||||
return history['visible'], last[0]
|
return history['visible'], last[0]
|
||||||
|
|
||||||
def send_last_reply_to_input():
|
def send_last_reply_to_input():
|
||||||
if len(history['visible']) > 0:
|
if len(history['internal']) > 0:
|
||||||
return history['visible'][-1][1]
|
return history['internal'][-1][1]
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user