Commit Graph

27 Commits

Author SHA1 Message Date
a503ee405c Ignore short path on messages mentioning the bot directly. 2023-03-27 18:38:56 +02:00
2ee2b092d6 Save history on short patch. 2023-03-27 14:13:10 +02:00
Fjerkroa Auto
2cd66b55ee Try to fix the fix. 2023-03-24 19:14:28 +01:00
b82477fc83 Support saving history. 2023-03-24 18:27:30 +01:00
6d2a3d6ac5 Add a test for the fix functionality. 2023-03-24 18:11:06 +01:00
Fjerkroa Auto
8aab8e2ec8 Small fixes. 2023-03-24 18:01:57 +01:00
b3edc621f6 Add an optional fix layer to the answer. 2023-03-24 17:28:56 +01:00
Fjerkroa Auto
592eb0cb2c Output the wrong data copy&pastable. 2023-03-24 16:11:14 +01:00
Fjerkroa Auto
72c7d83766 Fix error handling when JSON can not be parsed. 2023-03-24 15:29:13 +01:00
78591ef13a Add support of short path messages, which are not send to the AI but just added to the history. 2023-03-24 13:42:10 +01:00
2e848db333 Suppress embeds in messages. 2023-03-23 18:51:32 +01:00
Fjerkroa Auto
a781f737b0 Use system description, if no specific channel description is in config. 2023-03-23 13:10:38 +01:00
Fjerkroa Auto
7007a0bfd5 Small fixes. 2023-03-22 23:49:36 +01:00
Fjerkroa Auto
95e810db7a Add channel name to the messages, fix things. 2023-03-22 23:28:32 +01:00
d23e780248 Support different system messages for different channels and own history for those channels. 2023-03-22 22:16:59 +01:00
227b1af986 Fix issue with private messages. 2023-03-22 22:05:17 +01:00
8f2f18b73b Improve hack handling. 2023-03-22 21:52:27 +01:00
c85153c490 Switch to TOML for config file, fix bugs. 2023-03-22 21:37:33 +01:00
7ed9049892 Support welcome messages. 2023-03-22 18:49:09 +01:00
c0f1e7e405 Split AI and main tests, implement first AI test. 2023-03-22 18:05:45 +01:00
934ba62557 Begin to add tests for AIResponder. 2023-03-22 17:29:14 +01:00
61a4cfde7e Dont wait forever on openai issues. 2023-03-22 11:41:44 +01:00
7af0a7aa81 Small fixes. 2023-03-22 11:31:38 +01:00
Fjerkroa Auto
9b75926bc3 pytest.ini 2023-03-22 11:10:21 +01:00
Fjerkroa Auto
ef933883c0 Support drawing. 2023-03-22 10:46:04 +01:00
Fjerkroa Auto
c0b51f947c Add ai_responder, some more stuff. 2023-03-21 20:43:46 +01:00
Fjerkroa Auto
5054cac49b Initial commit. 2023-03-21 18:25:14 +01:00