Commit Graph

1583 Commits

Author SHA1 Message Date
77e183f5dd Add support for authors note and summary extensions 2023-08-12 18:40:18 +02:00
eb315993b4 Let prompt manager handle character and scenario prompts 2023-08-12 18:40:18 +02:00
c92de398b9 Fire event after a chat has successfully loaded 2023-08-12 18:40:18 +02:00
b8d08161ab Allow generate to run without sending a request 2023-08-12 18:40:18 +02:00
3acd865bf8 Introduce new substitute parameters
charIfNotGroup and group
2023-08-12 18:40:18 +02:00
a5e2f11e61 Use EventEmitter instead of native event handling 2023-08-12 18:40:18 +02:00
63985a490d Add error handling to parseTokenCounts function 2023-08-12 18:40:17 +02:00
c6eee88cd4 Add prompt manager setup 2023-08-12 18:39:54 +02:00
092846e0bc #924 Replace Novel Kayra subtier context 2023-08-12 14:21:05 +03:00
82f6d11795 Add lazy chat messages rendering 2023-08-12 13:10:50 +03:00
9e43f5f8b7 Add flat budget cap for hybrid WI budgeting 2023-08-10 20:45:57 +03:00
104d983449 Adjust novel max context calculation 2023-08-10 19:15:52 +03:00
f226fe99aa Showdown render tables 2023-08-10 13:18:12 +03:00
1a07fa8365 [Feature Request] Can we please have <xml_tags> visibility back? #907 2023-08-10 11:47:17 +03:00
e39e9428b6 Allow incomplete sentences on quiet prompts 2023-08-09 16:41:12 +03:00
0ed340bd9a Merge pull request #901 from 50h100a/mancer-urlfix
Relax URL requirements when Mancer is enabled.
2023-08-08 23:27:05 +03:00
53e41bdda8 Relax URL requirements when Mancer is enabled. 2023-08-08 16:12:03 -04:00
cd86999d30 Fix variable name 2023-08-08 22:39:34 +03:00
2fea218661 Extend random and roll syntax for frontend compatibility 2023-08-08 22:36:42 +03:00
ef3a9a810e Fix avatar preview after changing it 2023-08-08 22:08:41 +03:00
78825352e5 more help format updates 2023-08-08 18:03:39 +09:00
264b52b52d update help format 2023-08-08 17:42:28 +09:00
c124fc589f Fix display help links 2023-08-07 22:21:10 +03:00
f8e8929834 Merge pull request #896 from majick/tiny-cosmetic 2023-08-07 19:53:35 +03:00
4167047f9b Cosmetic: The avatar crop accept button is labeled "Accept" 2023-08-07 09:49:07 -07:00
e0d6430ade Fix copy-paste issue 2023-08-07 02:20:53 +03:00
23a57e86a7 Try to remove excess character names from generations 2023-08-07 00:31:26 +03:00
151f4d322c #883 Add option to disable CSRF tokens 2023-08-06 16:42:15 +03:00
cfc4394e41 Resolve some API Spam / Fix 1 Token for 0 Token Counters 2023-08-06 05:58:26 +01:00
ef1f6b3143 Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging 2023-08-05 15:44:18 +03:00
58f7c77281 Reformat code 2023-08-05 15:44:15 +03:00
6ddfcc7a06 Enable quote blocks and HTML comments 2023-08-05 12:29:37 +03:00
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
cd8a24a712 Fix bulk edit 2023-08-04 14:41:00 +03:00
84283bc2b4 Add "Best match" tokenizer option 2023-08-04 14:17:05 +03:00
079b1623c5 NovelAI preamble code cleanup 2023-08-03 18:27:23 -07:00
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
9cf4056b28 Do backflips trying to get error information from endpoints.
Then present it nicely.
2023-08-03 07:32:53 -04:00
37e653dcf4 Add toggle for persona info notifications 2023-08-03 14:24:45 +03:00
2fc6813e66 code review adjustments part 1 2023-08-03 06:07:54 -04:00
1b005ef47f Merge pull request #856 from mweldon/preamble 2023-08-03 10:24:31 +03:00
68e5ae63d6 move closechat/togglepanels to slashcommands 2023-08-03 13:21:38 +09:00
61c0e3b08b Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into mancer-api 2023-08-02 23:46:03 -04:00
2fdec7eb03 Added authentication variant to WebUI API. 2023-08-02 23:25:24 -04:00
1d0f67c144 Add NAI preamble to start of chat buffer 2023-08-02 18:22:06 -07:00
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
72974d8a54 More clear message for character import failure 2023-08-01 18:13:50 +03:00