1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00
Commit graph

264 commits

Author SHA1 Message Date
b446adcf06 Lock thread_embeds_mutex 2024-03-27 18:42:06 +01:00
66999b6041 Updated various submodules 2024-03-25 01:43:53 +01:00
niansa
80c4490f22 Limit message length properly 2023-05-25 11:45:31 +02:00
niansa
7bcedd1c78 Minor restructure (replaced attempt_reply) 2023-05-23 18:06:37 +02:00
niansa
c752261465 Handle config.max_context_age == 0 properly 2023-05-23 08:36:53 +00:00
niansa
c5e5e46aad Updated cosched 2023-05-22 23:58:24 +02:00
niansa
4f0c95fef9 Added random response chance and guard translator with a mutex 2023-05-22 22:55:59 +02:00
niansa
be4bd425fd Fixed undefined behavior and in-chat mode 2023-05-22 22:21:57 +02:00
niansa
7109e49292 Ignore own task when scanning for own threads 2023-05-21 22:01:40 +02:00
niansa
82ca373e81 Fixed threads getting stuck 2023-05-21 21:54:35 +02:00
niansa
eaf5cf9837 Limit /reset response to one shard 2023-05-19 19:08:28 +02:00
niansa
36976dfee9 Fixed tasklist formatting 2023-05-19 19:03:49 +02:00
e62d492bfe Fixed channel mode 2023-05-18 00:03:50 +02:00
79183742f5 Partially reverted last commit 2023-05-17 12:53:43 +02:00
4d368b6214 More linebreak fixes 2023-05-17 12:45:10 +02:00
37bbb2535a Added option to not emit extra linebreaks in instruct mode 2023-05-17 12:37:03 +02:00
dc37d6d763 Implemented no_instruct_prompt and use for mpt-7b-chat 2023-05-17 11:46:22 +02:00
095acfc7ae Still append user prompt if there is no instruct prompt set 2023-05-17 11:40:49 +02:00
niansa
425e6b3c68 Updated for latest justlm 2023-05-16 21:14:39 +02:00
2c15a85877 Allow use of {bot_prompt} and {user_prompt} inside of instruct prompt file 2023-05-15 08:07:19 +02:00
niansa
a126e563e0 Updated libjustlm 2023-05-11 18:47:48 +02:00
niansa
91f5d683bb Make sure to now throw in coroutines 2023-05-10 21:52:14 +02:00
niansa
52288eb0c7 Converted most commands to slash commands and added tasklist 2023-05-10 15:24:55 +02:00
niansa
13f1fde45d Minor cleanup for commands handling 2023-05-10 13:41:40 +02:00
niansa
1f1e7e6bef Improved warning even further 2023-05-09 13:04:58 +02:00
niansa
66043e20a2 Warning in bold letters 2023-05-09 13:02:38 +02:00
niansa
969a7e70b2 Warn about non instruct mode 2023-05-09 12:57:14 +02:00
niansa
e4a82323d5 Fixed another crash on UTF-8 error 2023-05-08 15:07:49 +02:00
niansa
3f7a176a78 Handle responses that are too long 2023-05-06 11:33:25 +02:00
niansa
7198d2fcbe Made prompt_add_msg timeout behavior the same as during generation 2023-05-06 10:56:25 +02:00
niansa
6a8c758d15 Improved timeout behavior 2023-05-06 10:37:44 +02:00
niansa
ecf0a512ee Added !ping command and improved !reset command 2023-05-06 10:25:48 +02:00
niansa
c5ced0f5b4 Fixed broken thread names on a single shard 2023-05-06 10:07:46 +02:00
niansa
b69f8aecd5 When evaluating message, respect timeout as well 2023-05-06 01:23:24 +02:00
niansa
5de194faf9 Prevent multiple inferences from running on the same channel 2023-05-06 01:13:08 +02:00
niansa
fdbeba3108 Fixed some warnings 2023-05-05 23:26:10 +02:00
niansa
1c3f330357 Fixed some dangling references 2023-05-05 22:32:20 +02:00
niansa
7aba75f7a2 Implemented parallel inference 2023-05-05 21:16:19 +02:00
niansa
a6be845652 Revert "Initial CoSched support"
This reverts commit be9828adea
2023-05-04 13:26:40 +00:00
be9828adea Initial CoSched support 2023-05-04 15:24:06 +02:00
niansa
f9196ed18a Fixed this_shard sqlite select 2023-05-02 19:55:59 +02:00
niansa
259053f7e0 Make sure threads don't shift on reshard 2023-05-02 19:45:13 +02:00
niansa
20553b75a0 Fixed typo "weight" -> "weights" 2023-05-01 17:42:44 +02:00
niansa
ed01d29ef0 Reworked configuration system 2023-05-01 17:30:42 +02:00
niansa
f0d1a1c956 Fixed custom status texts not being applied 2023-04-30 00:54:36 +02:00
niansa
62fe173b77 Made status texts configurable 2023-04-30 00:52:12 +02:00
niansa
db7351a6c8 Run cleanup periodically 2023-04-30 00:36:47 +02:00
niansa
a0c4e9d856 Don't attempt to delete thread creation messaage from all embeds 2023-04-30 00:04:15 +02:00
niansa
d60a1eebaa Implemented max context age 2023-04-29 23:52:40 +02:00
niansa
18b1acb00e Don't use exception to trigger stop 2023-04-29 23:14:24 +02:00