Commit Graph

34 Commits

Author SHA1 Message Date
Max Kammler
6576fc3d84 add error code to response 2023-04-11 11:40:50 +02:00
bertybuttface
fb46f6d9c5 Add basic room ACL. 2023-02-08 17:34:10 +00:00
Max Kammler
acd5e2409a reduce anmount of detail for users 2023-02-08 15:09:33 +00:00
Max Kammler
2ea46ccf12 fix typo 2023-02-08 15:09:33 +00:00
Max Kammler
9cafc6f794 show error in newline 2023-02-08 15:09:33 +00:00
Max Kammler
11b042a8c3 pass OpenAI error directly to user 2023-02-08 15:09:33 +00:00
Max Kammler
904660929f reorder env import 2023-02-07 10:53:55 +01:00
Max Kammler
58ec2f7f10 fix typo 2023-02-07 10:36:08 +01:00
Max Kammler
d72b0ba772 add CHATGPT_IGNORE_MEDIA 2023-02-07 10:34:43 +01:00
Max Kammler
3af7b88825 ignore non-text messages 2023-02-07 10:05:32 +01:00
bertybuttface
fba56ab5fd Add example CHATGPT_PROMPT_PREFIX 2023-02-06 15:13:32 +00:00
bertybuttface
e39f3fdeee Switch to waylaidwanderer 2023-02-06 14:08:45 +00:00
Max Kammler
e45ac29a8e Change bot to use official API keys 2023-02-02 13:44:14 +01:00
bertybuttface
177fe3c60e Add basic support for optional threads. 2023-01-27 17:45:41 +00:00
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