Commit Graph

19 Commits

Author SHA1 Message Date
bertybuttface
35beb205b0 Add persistence 2023-02-04 16:58:43 +00:00
Max Kammler
f24ca35c74 removed openai pro setting in env 2023-02-03 15:57:24 +01:00
Max Kammler
dcf038df1f add CHATGPT_MODEL environment variable 2023-02-03 11:35:49 +01:00
Max Kammler
e45ac29a8e Change bot to use official API keys 2023-02-02 13:44:14 +01:00
bertybuttface
5f9547a556
Hotfix master 2023-01-28 13:04:56 +00:00
bertybuttface
6bf0a56560 Add support for refreshing ChatGPT sessions regularly
Call `api.refreshSession()` every hour to refresh the ChatGPT session

Call `api.resetSession()` every 24 hours to reset the ChatGPT session
2023-01-27 18:49:36 +00:00
bertybuttface
060dd562ea Error if incorrect combination of MATRIX_THREADS and CHATGPT_CONTEXT 2023-01-27 18:01:52 +00:00
bertybuttface
e8efc4d405 Add support for pro account 2023-01-24 15:56:31 +00:00
bertybuttface
c1ef71817a Cleanup code 2023-01-19 17:43:55 +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
4946ac5fc1 Various fixes 2022-12-31 22:09:14 +00:00
bertybuttface
72fe67312d Fix missing cryptoStore after merge 2022-12-29 03:29:10 +00:00
bertybuttface
d92ba25c18
Merge branch 'main' into storage-fixes 2022-12-29 02:48:50 +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
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