bug fix in in custom function
This commit is contained in:
parent
472d8104c4
commit
81e09a8969
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user