Commit Graph

676 Commits

Author SHA1 Message Date
Cohee f8032ac649 Default to 5 personas per page 2024-01-31 03:34:51 +02:00
Cohee c01217ac76 Clean-up styles and handlers 2024-01-30 20:16:48 +02:00
Cohee 4542c66664 #1761 Persona management overhaul 2024-01-30 19:12:56 +02:00
Cohee da7b435b7c
Merge pull request #1751 from kingbased/proxypreset
Reverse proxy presets
2024-01-29 22:09:33 +02:00
Cohee 5f1e290bda Disallow multiple {{original}} macro substitutions 2024-01-29 00:58:29 +02:00
Cohee a9464daffa Merge branch 'staging' into macro-separation 2024-01-29 00:51:06 +02:00
Cohee ef9cdf64cf Fix swipe buttons display when using /comment after last AI message 2024-01-29 00:37:51 +02:00
Cohee 8037e31c53 Fix {{original}} 2024-01-28 17:31:19 +02:00
valadaptive 44fb746783 Remove dead if statement 2024-01-27 15:25:44 -05:00
valadaptive 29f509179c Remove getMessageId
As far as I can tell, we don't add/remove anything from chat in between
the calculation of newMessageId and subsequent calls to getMessageId.
We can just use newMessageId everywhere.
2024-01-27 13:50:54 -05:00
valadaptive e475081116 Fix off-by-one in addOneMessage 2024-01-27 13:48:08 -05:00
valadaptive 7f955a59b9 Remove count_view_mes 2024-01-27 13:24:08 -05:00
valadaptive 4bd7364a8e Change macro substitution order 2024-01-27 13:22:22 -05:00
valadaptive 71f47588cd Pass macro variables in to evaluateMacros
This doesn't cover *all* the variables yet, just the ones that were
previously passed in as arguments. I'll expand this later to separate
the macro parsing from the execution of the functions themselves.
2024-01-27 13:20:44 -05:00
based aa976d0de2 implemented proxy preset manager 2024-01-27 06:21:00 +10:00
Cohee 1647e5ae49
Merge pull request #1734 from khanonnie/alternative-tokens
Implement Token Probabilities UI panel using logprobs
2024-01-26 03:39:25 +02:00
khanon 60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
lucy 1ef437f5f1
[feat] GENERATION_ENDED event
uses hideStopButton() to trigger the event, because all other paths are conditional and would require the event to be triggered in multiple functions, compared to hideStopButton() already being called at the end of all the generations

unblockGeneration() was another candidate, but it is not consistently executed to be viable
2024-01-26 00:53:27 +01:00
Cohee 6012ee5f89 #1740 Open most recent chat when deleting current chat file 2024-01-25 18:55:38 +02:00
Cohee 4abe87f103 #1742 Add /chat-manager command 2024-01-25 18:19:04 +02:00
Cohee 1ae5a8bd66 #1630 Fix display mode regex depth calc 2024-01-25 02:53:39 +02:00
Cohee 3f3529ef89 #1630 Add min/max depth for prompt/display regex scripts. 2024-01-24 22:48:58 +02:00
Cohee 4985afd816 Extend external media checks 2024-01-24 19:14:40 +02:00
Cohee 9f81ea3c1f Allow double quotes inside of <tags> 2024-01-24 18:05:11 +02:00
Cohee 4823bcf4ff Add option to forbid external images 2024-01-24 15:47:54 +02:00
Cohee 9b42be2334 Reset message editor before switching active chat 2024-01-23 11:00:33 +02:00
Cohee 958cf6a373 Don't append name2 in non-instruct mode if continuing on first message 2024-01-21 23:20:29 +02:00
Cohee 3cd935c0d2 Fix possible prompt overflow on message examples push-out 2024-01-21 23:13:01 +02:00
Cohee 3cb9413541 #1718 Fix message search opening wrong chats 2024-01-20 20:13:41 +02:00
Cohee 4f55824d7f QR auto-execute on group member draft 2024-01-18 18:08:38 +02:00
Cohee b8445eb2cd Add slash commands for instruct and context 2024-01-18 17:24:07 +02:00
Cohee f966c398ef Increase preset command timeouts 2024-01-18 16:36:26 +02:00
maver e4d5eac6cf Add world info to generate_before_combine_prompts event data 2024-01-15 17:45:50 +01:00
Cohee ed77f4763a #1696 Don't cancel generation on first Escape press if editing a message 2024-01-15 03:45:31 +02:00
Cohee 6086cedf2b Use XHR to load HTML templates 2024-01-12 22:00:08 +02:00
Cohee 4fe13fab8e Customizable /gen instruct name 2024-01-12 19:16:42 +02:00
Cohee 4e5f01d785
Merge pull request #1668 from valadaptive/macro-cleanups-1
Move substituteParams into its own module
2024-01-12 11:57:21 +02:00
valadaptive 05003ccf78 Remove silly debug logging 2024-01-12 04:38:40 -05:00
valadaptive 89a999cfd4 Move macro substitution to new module
substituteParams has become a thin wrapper around the new evaluateMacros
function, and will become more of a compatibility shim as refactorings
and rewrites are done.
2024-01-10 22:22:30 -05:00
Cohee 3f6f32edad Add {{mesExamplesRaw}} macro for story string 2024-01-10 14:11:02 +02:00
Cohee adf82f2ba8 #1663 Add last prompt line to quiet prompts 2024-01-09 01:14:23 +02:00
Cohee f7b1b490c7 Larger alternate greetings window 2024-01-06 19:59:48 +02:00
Cohee 5f93c30a96 #1627 Bypass status check and custom model for textgen type 2024-01-05 19:15:07 +02:00
Cohee c69724e1da Fix GUI Kobold 2024-01-02 10:28:34 +02:00
Cohee 52637ccd39
Merge pull request #1619 from LenAnderson/worldinfo_updated-event
Add event when world info is updated
2024-01-01 18:35:23 +02:00
Cohee f53d937782 Fix mistral undefined name 2024-01-01 18:31:17 +02:00
Cohee 9106696f2f Render prompt manager when switching APIs 2024-01-01 17:06:10 +02:00
Cohee 908bf7a61d Merge branch 'staging' into generate-cleanups-3 2024-01-01 16:49:35 +02:00
LenAnderson 8cd75cf03d add event when world info is updated 2024-01-01 14:34:09 +00:00
Cohee 30732ada32 Lint fix 2024-01-01 16:08:24 +02:00