diff --git a/src/gptbot/classes/ai/openai.py b/src/gptbot/classes/ai/openai.py index e7cdb19..ffe910a 100644 --- a/src/gptbot/classes/ai/openai.py +++ b/src/gptbot/classes/ai/openai.py @@ -175,6 +175,8 @@ class OpenAI(BaseAI): self.logger.log(f"Incoming messages: {messages}", "debug") + messages.append(event) + for message in messages: if isinstance(message, (RoomMessageNotice, RoomMessageText)): role = (