Give SillyTavern a bit of leaway the way the do OpenAI (#6685)

This commit is contained in:
FP HAM 2025-01-22 10:01:44 -05:00 committed by GitHub
parent b56eb0b9cd
commit 4bd260c60d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = ""