Merge pull request #23 from h1ddenpr0cess20/dev

bug fix in in custom function
This commit is contained in:
Dustin 2024-08-12 14:03:11 -04:00 committed by GitHub
commit ec35da7c16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -158,6 +158,7 @@ class ollamarama:
except: except:
pass 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 # tracks the messages in channels
async def message_callback(self, room: MatrixRoom, event: RoomMessageText): async def message_callback(self, room: MatrixRoom, event: RoomMessageText):