Commit Graph

20 Commits

Author SHA1 Message Date
bertybuttface
08f3c64e1a Add support for configurable context levels. 2023-01-27 17:09:54 +00:00
bertybuttface
f1bc898acb Update handlers.ts
Use CHATGPT_TIMEOUT instead of arbitrary value for setTyping timeout.
2023-01-24 16:18:22 +00:00
bertybuttface
c1ef71817a Cleanup code 2023-01-19 17:43:55 +00:00
bertybuttface
c97901e0cd Add MATRIX_PREFIX_DM feature 2023-01-12 00:16:43 +00:00
bertybuttface
a5d715ee1f Make rich text configurable 2023-01-08 21:00:32 +00:00
bertybuttface
6713b66da4 Add Markdown support for ChatGPT 2023-01-08 20:19:43 +00:00
bertybuttface
0d6120c1bb Allow blank MATRIX_BLACKLIST and MATRIX_WHITELIST 2023-01-08 00:15:03 +00:00
bertybuttface
c7b9cbf962 Add MATRIX_BLACKLIST and MATRIX_WHITELIST 2023-01-07 21:58:30 +00:00
bertybuttface
a3c828c9fa Lookup rootEvent to check prefix in thread. 2023-01-07 18:17:13 +00:00
bertybuttface
49d0ae0d60 Hotfix last PR
We still need that util function for now, can remove later. Also we don't need MATRIX_BOT_USERNAME any more if we have MATRIX_ACCESS_TOKEN set.
2023-01-07 00:30:09 +00:00
bertybuttface
19a8dfb0e4 Cache details for mentions. 2023-01-06 23:59:52 +00:00
bertybuttface
2f6c0379ab Update handlers.ts so we ignore edit messages 2023-01-06 23:15:28 +00:00
bertybuttface
0c4f3303a9 Make MATRIX_PREFIX configurable at conversation level
At the conversation level.
2023-01-05 22:24:19 +00:00
bertybuttface
65b9b28435 Add types to variable and tidy code 2023-01-03 02:49:59 +00:00
bertybuttface
f7f55412a6 Fix MATRIX_PREFIX_REPLY 2023-01-03 02:38:46 +00:00
bertybuttface
4946ac5fc1 Various fixes 2022-12-31 22:09:14 +00:00
bertybuttface
c1b78d8d0e Add support for ChatGPT conversations via Matrix threads 2022-12-29 03:30:56 +00:00
Juan Carlos Romero
42c8ce02f1 Add a prefix to make the bot reply 2022-12-29 03:12:18 +00:00
bertybuttface
0175a09e33 Update ChatGPT API wrapper to latest, uses Puppeteer 2022-12-22 14:57:34 +00:00
Jake Coppinger
3903e38c2f Initial commit 2022-12-09 20:41:17 +11:00