Commit Graph

74 Commits

Author SHA1 Message Date
Cohee1207 82f6d11795 Add lazy chat messages rendering 2023-08-12 13:10:50 +03:00
Cohee 9e43f5f8b7 Add flat budget cap for hybrid WI budgeting 2023-08-10 20:45:57 +03:00
Cohee 104d983449 Adjust novel max context calculation 2023-08-10 19:15:52 +03:00
Cohee f226fe99aa Showdown render tables 2023-08-10 13:18:12 +03:00
Cohee 1a07fa8365 [Feature Request] Can we please have <xml_tags> visibility back? #907 2023-08-10 11:47:17 +03:00
Cohee e39e9428b6 Allow incomplete sentences on quiet prompts 2023-08-09 16:41:12 +03:00
Cohee 0ed340bd9a
Merge pull request #901 from 50h100a/mancer-urlfix
Relax URL requirements when Mancer is enabled.
2023-08-08 23:27:05 +03:00
50h100a 53e41bdda8 Relax URL requirements when Mancer is enabled. 2023-08-08 16:12:03 -04:00
Cohee cd86999d30 Fix variable name 2023-08-08 22:39:34 +03:00
Cohee 2fea218661 Extend random and roll syntax for frontend compatibility 2023-08-08 22:36:42 +03:00
Cohee ef3a9a810e Fix avatar preview after changing it 2023-08-08 22:08:41 +03:00
RossAscends 78825352e5 more help format updates 2023-08-08 18:03:39 +09:00
RossAscends 264b52b52d update help format 2023-08-08 17:42:28 +09:00
Cohee1207 c124fc589f Fix display help links 2023-08-07 22:21:10 +03:00
Cohee f8e8929834
Merge pull request #896 from majick/tiny-cosmetic 2023-08-07 19:53:35 +03:00
majick 4167047f9b Cosmetic: The avatar crop accept button is labeled "Accept" 2023-08-07 09:49:07 -07:00
Cohee e0d6430ade Fix copy-paste issue 2023-08-07 02:20:53 +03:00
Cohee 23a57e86a7 Try to remove excess character names from generations 2023-08-07 00:31:26 +03:00
Cohee 151f4d322c #883 Add option to disable CSRF tokens 2023-08-06 16:42:15 +03:00
AeonBlack cfc4394e41 Resolve some API Spam / Fix 1 Token for 0 Token Counters 2023-08-06 05:58:26 +01:00
Cohee ef1f6b3143 Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging 2023-08-05 15:44:18 +03:00
Cohee 58f7c77281 Reformat code 2023-08-05 15:44:15 +03:00
Cohee1207 6ddfcc7a06 Enable quote blocks and HTML comments 2023-08-05 12:29:37 +03:00
Stefan Daniel Schwarz b407fe2388 custom_stopping_strings_macro toggleable option 2023-08-04 16:53:49 +02:00
SDS 33af7ad266
Replace Macro in Custom Stopping Strings
Replaces user and char names in custom stopping strings, making them much more versatile and useful.

Example Use Case: Now you can use a custom stopping string like "\n*{{user}} " to stop generation when the AI tries to act as the user.
2023-08-04 15:45:45 +02:00
Cohee cd8a24a712 Fix bulk edit 2023-08-04 14:41:00 +03:00
Cohee 84283bc2b4 Add "Best match" tokenizer option 2023-08-04 14:17:05 +03:00
Mike Weldon 079b1623c5 NovelAI preamble code cleanup 2023-08-03 18:27:23 -07:00
Cohee ea809023b5
Merge pull request #858 from 50h100a/mancer-api
Mancer API
2023-08-03 23:06:53 +03:00
SDS 65732f4406
del_char_checkbox unchecked by default
When you delete a character, you can always re-import them - but if you deleted the chat files, they're gone forever unless you backed them up manually. That's why I think this checkbox should be off by default, making chat file deletion a conscious effort.

With it off, worst case someone forgets to check the box and has some unnecessary files on their disk that they can then delete manually. That's much less of a problem than someone forgetting to uncheck the box (e. g. when importing a new version of the character) and then suffering data loss.
2023-08-03 15:39:15 +02:00
50h100a 9cf4056b28 Do backflips trying to get error information from endpoints.
Then present it nicely.
2023-08-03 07:32:53 -04:00
Cohee 37e653dcf4 Add toggle for persona info notifications 2023-08-03 14:24:45 +03:00
50h100a 2fc6813e66 code review adjustments part 1 2023-08-03 06:07:54 -04:00
Cohee 1b005ef47f
Merge pull request #856 from mweldon/preamble 2023-08-03 10:24:31 +03:00
RossAscends 68e5ae63d6 move closechat/togglepanels to slashcommands 2023-08-03 13:21:38 +09:00
50h100a 61c0e3b08b Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into mancer-api 2023-08-02 23:46:03 -04:00
50h100a 2fdec7eb03 Added authentication variant to WebUI API. 2023-08-02 23:25:24 -04:00
Mike Weldon 1d0f67c144 Add NAI preamble to start of chat buffer 2023-08-02 18:22:06 -07:00
gd1551 ea800d1550 Add stop sequences support to NovelAI generations 2023-08-02 22:42:11 +03:00
SDS 9d99b89c9c
Fix inconsistent newline trimming
Newlines weren't trimmed at first generation in a new chat, only on subsequent generations. By commenting out this check, it works consistently for all generations.

(I noticed because even with my deterministic preset, a regen/swipe would give a different output than the very first generation, so I went looking and found this if-clause as the source of the inconsistent behavior.)
2023-08-02 20:00:01 +02:00
Cohee 72974d8a54 More clear message for character import failure 2023-08-01 18:13:50 +03:00
Cohee c5d87e4808 ParseImgDimensions for Showdown 2023-08-01 16:24:54 +03:00
Cohee 7596d78322 #844 Properly handle KoboldAI errors 2023-08-01 15:22:51 +03:00
SDS 73fd306b8b Fixed persona_description linebreak
When persona description is positioned after character card, there are double linebreaks before and none behind the persona description, because storyString already brings a trailing one whereas persona_description doesn't. This fixes that by putting the linebreak where it belongs.
2023-08-01 12:54:46 +03:00
Cohee 49f7185c8c #829 Close chat option 2023-07-30 21:35:21 +03:00
RossAscends 95d43712d3 fix chat bg color when panels hidden 2023-07-31 01:08:24 +09:00
Cohee 6d9c2ec365
Merge pull request #819 from pyrater/staging
Show / Hide Top Bar
2023-07-30 16:38:44 +03:00
joe d8d5118283 removed padding 2023-07-30 11:57:21 +09:00
joe 11226ff7d6 add CSS to round corners 2023-07-30 11:56:17 +09:00
pyrater 844d9c86a4
Merge branch 'SillyTavern:staging' into staging 2023-07-30 11:50:09 +09:00