mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-04-20 22:13:43 +00:00
Give SillyTavern a bit of leaway the way the do OpenAI (#6685)
This commit is contained in:
parent
b56eb0b9cd
commit
4bd260c60d
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ def convert_history(history):
|
|||
else:
|
||||
chat_dialogue.append(['', current_reply])
|
||||
elif role == "system":
|
||||
system_message = content
|
||||
system_message += f"\n{content}" if system_message else content
|
||||
|
||||
if not user_input_last:
|
||||
user_input = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue