Commit Graph

  • b26b98611a Make the JSON porse a bit more robust. ok 2023-04-12 19:19:20 +02:00
  • b1ece64874 Implement possibility to answer to a different channel ok 2023-04-12 17:56:31 +02:00
  • defe598651 Improve handling of wrong keys in response ok 2023-04-12 12:47:53 +02:00
  • 77fe7a69d6 Make history messages per channel configurable ok 2023-04-12 12:23:41 +02:00
  • 2db983c462 Improve history handling ok 2023-04-12 12:19:07 +02:00
  • d136b0af21 Some settings ok 2023-04-12 10:28:27 +02:00
  • 79fc0d6cba Do not return "'none'" from parse_maybe_json. ok 2023-04-10 15:43:46 +02:00
  • d29595136f Output the final answer in the log ok 2023-04-10 14:41:57 +02:00
  • 961e70f17e See quotet 'none' and 'null' also as None answer. ok 2023-04-10 14:34:38 +02:00
  • e6f43b44de Ignore history directory. ok 2023-04-10 13:52:20 +02:00
  • 9a411a3fed Handle messages as direct, when bot is mentioned. ok 2023-04-10 13:50:35 +02:00
  • 545db1f79d Add launch.json, don't know, whether it make sense ok 2023-04-10 13:38:27 +02:00
  • 96fe10f2e4 Add history test. ok 2023-04-04 15:35:07 +02:00
  • 24ae6bcf32 Convert markdown links to just links. ok 2023-03-30 17:33:58 +02:00
  • 9eda81d7eb Improve parse_maybe_json. ok 2023-03-30 15:52:11 +02:00
  • 585ecc17c6 Parse response values, when they are JSON. ok 2023-03-30 15:38:42 +02:00
  • c7d89333ad On direct messages respond also on ignored channels. ok 2023-03-29 20:02:41 +02:00
  • 93c5758e02 Some more fixes, reduce retries. ok 2023-03-29 19:53:45 +02:00
  • ddc44bb9da Improve JSON parsing. ok 2023-03-29 19:22:54 +02:00
  • 7f3cb66043 Improve log output. ok 2023-03-29 17:27:32 +02:00
  • cceb0e3ea3 Improve reloading on config change Fjerkroa Auto 2023-03-29 17:26:43 +02:00
  • e6d13afcca Reduce timeouts, introduce ignore-channels, fix the fix functions. ok 2023-03-28 21:24:49 +02:00
  • a503ee405c Ignore short path on messages mentioning the bot directly. ok 2023-03-27 18:38:56 +02:00
  • 2ee2b092d6 Save history on short patch. ok 2023-03-27 14:13:10 +02:00
  • 2cd66b55ee Try to fix the fix. Fjerkroa Auto 2023-03-24 19:14:28 +01:00
  • b82477fc83 Support saving history. ok 2023-03-24 18:27:30 +01:00
  • 6d2a3d6ac5 Add a test for the fix functionality. ok 2023-03-24 17:42:56 +01:00
  • 8aab8e2ec8 Small fixes. Fjerkroa Auto 2023-03-24 18:01:57 +01:00
  • b3edc621f6 Add an optional fix layer to the answer. ok 2023-03-24 17:28:56 +01:00
  • 592eb0cb2c Output the wrong data copy&pastable. Fjerkroa Auto 2023-03-24 16:11:14 +01:00
  • 72c7d83766 Fix error handling when JSON can not be parsed. Fjerkroa Auto 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. ok 2023-03-24 13:42:10 +01:00
  • 2e848db333 Suppress embeds in messages. ok 2023-03-23 18:50:31 +01:00
  • a781f737b0 Use system description, if no specific channel description is in config. Fjerkroa Auto 2023-03-23 13:10:38 +01:00
  • 7007a0bfd5 Small fixes. Fjerkroa Auto 2023-03-22 23:49:36 +01:00
  • 95e810db7a Add channel name to the messages, fix things. Fjerkroa Auto 2023-03-22 23:28:32 +01:00
  • d23e780248 Support different system messages for different channels and own history for those channels. ok 2023-03-22 22:16:59 +01:00
  • 227b1af986 Fix issue with private messages. ok 2023-03-22 22:05:17 +01:00
  • 8f2f18b73b Improve hack handling. ok 2023-03-22 21:52:27 +01:00
  • c85153c490 Switch to TOML for config file, fix bugs. ok 2023-03-22 21:37:33 +01:00
  • 7ed9049892 Support welcome messages. ok 2023-03-22 18:49:09 +01:00
  • c0f1e7e405 Split AI and main tests, implement first AI test. ok 2023-03-22 18:05:45 +01:00
  • 934ba62557 Begin to add tests for AIResponder. ok 2023-03-22 17:29:14 +01:00
  • 61a4cfde7e Dont wait forever on openai issues. ok 2023-03-22 11:41:44 +01:00
  • 7af0a7aa81 Small fixes. ok 2023-03-22 11:31:38 +01:00
  • 9b75926bc3 pytest.ini Fjerkroa Auto 2023-03-22 11:10:21 +01:00
  • ef933883c0 Support drawing. Fjerkroa Auto 2023-03-22 10:46:04 +01:00
  • c0b51f947c Add ai_responder, some more stuff. Fjerkroa Auto 2023-03-21 20:43:46 +01:00
  • 5054cac49b Initial commit. Fjerkroa Auto 2023-03-21 18:25:14 +01:00