Skip to content

Commit

Permalink
Don't add a newline before the role titles are added
Browse files Browse the repository at this point in the history
  • Loading branch information
LobaDK committed Aug 23, 2024
1 parent d5c43e7 commit 42d742f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cogs/Chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,6 @@ async def initiatechatview(
messages = []
messages.append("Chat history for this server:")
for message in conversation_history:
messages.append("\n")
messages.append(f"**{message['role'].title()}**: {message['content']}")
message = "\n".join(messages)
if len(message) > 2000:
Expand Down

0 comments on commit 42d742f

Please sign in to comment.