From 84ce8a96339dc834d8c56c27b8328712b8be2ab8 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 28 Nov 2022 08:28:08 +0100 Subject: [PATCH] Update code.py --- code/code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/code.py b/code/code.py index 9f6a7c8..0b1bf67 100644 --- a/code/code.py +++ b/code/code.py @@ -198,7 +198,7 @@ async def on_message(message): prompt += f"Donald Bot \"Botator\": {msg.content}\n" else: prompt += f"{msg.author.display_name}: {msg.content}\n" - prompt = f"This is a conversation with an AI. Only the {prompt_size} last messages are used as a prompt.\n\n" + prompt + f"\n Donald Bot \"Botator\":" + prompt = f"This is a conversation with an AI in a discord chat. The AI is called Donald Bot \"Botator\" Only the {prompt_size} last messages are used as a prompt.\n\n" + prompt + f"\n Donald Bot \"Botator\":" #send the request to the api debug("Sending request to the api") debug(prompt)