Commit Graph

35 Commits

Author SHA1 Message Date
bertybuttface
08f3c64e1a Add support for configurable context levels. 2023-01-27 17:09:54 +00:00
bertybuttface
0865962e87 Remove MATRIX_THREADS as it is not currently used 2023-01-25 00:35:32 +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
e8efc4d405 Add support for pro account 2023-01-24 15:56:31 +00:00
bertybuttface
953a3dcb43
Merge pull request #56 from matrixgpt/code-refactor
Code refactor
2023-01-19 19:21:28 +00:00
bertybuttface
c1ef71817a Cleanup code 2023-01-19 17:43:55 +00:00
Juan Carlos Romero
6dc08024d2 Better MATRIX_DEFAULT_PREFIX description 2023-01-14 11:53:48 +01:00
Juan Carlos Romero
cb477613da Fix spaces 2023-01-13 08:12:29 +01:00
Juan Carlos Romero
30e6a0af9b Descriptions added for all the env variables 2023-01-12 23:52:55 +01: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
1770e1f1db Tidy up env settings
Only leave what we are currently using.
2023-01-07 19:09:59 +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
bertybuttface
b3af083b80 Fix isGoogleLogin after merge. 2022-12-29 03:29:59 +00:00
bertybuttface
72fe67312d Fix missing cryptoStore after merge 2022-12-29 03:29:10 +00:00
Juan Carlos Romero
42c8ce02f1 Add a prefix to make the bot reply 2022-12-29 03:12:18 +00:00
bertybuttface
d92ba25c18
Merge branch 'main' into storage-fixes 2022-12-29 02:48:50 +00:00
bertybuttface
159f14b807
Merge pull request #3 from bertybuttface/matrix-login-fix
Use matrix access token if we have it, print one if we don't.
2022-12-29 02:46:12 +00:00
bertybuttface
f33d01e531 Fix storage, e2e and add feature flags 2022-12-29 02:38:29 +00:00
bertybuttface
c5793ec12b Use matrix access token if we have it, print one if we don't. 2022-12-29 01:34:51 +00:00
bertybuttface
0b55624710
Fix for when isGoogleLogin undefined 2022-12-26 00:40:56 +00:00
bertybuttface
9a4bed608a
Fix isGoogleLogin ignoring setting and defaulting to true 2022-12-24 15:13:56 +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