From 81e09a8969f0d09e1e9a4b9267c831b8a4533df4 Mon Sep 17 00:00:00 2001 From: Dustin Date: Mon, 12 Aug 2024 14:02:43 -0400 Subject: [PATCH] bug fix in in custom function --- ollamarama.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ollamarama.py b/ollamarama.py index 6d106ff..d8e1c65 100644 --- a/ollamarama.py +++ b/ollamarama.py @@ -157,7 +157,8 @@ class ollamarama: await self.messages[channel][sender].clear() except: pass - await self.add_history("system", channel, sender, prompt) + await self.add_history("system", channel, sender, prompt) + await self.add_history("user", channel, sender, "introduce yourself") # tracks the messages in channels async def message_callback(self, room: MatrixRoom, event: RoomMessageText):