Commit Graph

1302 Commits

Author SHA1 Message Date
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
c5d87e4808 ParseImgDimensions for Showdown 2023-08-01 16:24:54 +03:00
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
49f7185c8c #829 Close chat option 2023-07-30 21:35:21 +03:00
95d43712d3 fix chat bg color when panels hidden 2023-07-31 01:08:24 +09:00
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
844d9c86a4 Merge branch 'SillyTavern:staging' into staging 2023-07-30 11:50:09 +09:00
joe
0aee97ccca Added Option to toggle/Hide settings bar. 2023-07-30 11:47:17 +09:00
fa06e5ee5a Add optional alerting for WI debugging. 2023-07-29 22:15:54 -04:00
6829f5308f Persist active chat across devices. 2023-07-29 19:48:08 -04:00
8e06d18664 #804 Add kayra model 2023-07-28 21:45:44 +03:00
707ce62017 Advanced Character Search #786 2023-07-28 00:38:43 +03:00
ddf485f354 #787 Display character version in the list 2023-07-28 00:04:21 +03:00
68819a1afc Add openrouter to /api slash command 2023-07-26 21:22:57 +03:00
e4e2ff20a2 #781 Don't add You stopping string for non-Pygmalion models 2023-07-26 21:08:25 +03:00
c3d43a7d05 Merge pull request #776 from bdashore3/staging 2023-07-25 09:34:13 +03:00
40f7aa47ad Generate: Ignore bias addition on continue
Continue adds to an existing prompt, so the correct parts of a
message are already present.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-24 23:45:53 -04:00
83cb3456fc Run showdown output through sanitize 2023-07-25 00:07:52 +03:00
0df8c4b6a2 Merge pull request #774 from city-unit/feature/delete
More general/functionalized char delete methods
2023-07-24 22:45:41 +03:00
8fdea22379 Move delete calls to functions, generalize delete endpoint. 2023-07-24 15:05:27 -04:00
130559d499 #746 Add preset manager for ooba/kobold 2023-07-23 23:52:31 +03:00
1b9ca4c9d9 Unhide advanced parameters for Novel 2023-07-23 02:09:03 +03:00
ea68e70ac7 Refine message for dupe confirm 2023-07-22 22:14:16 +03:00
e38a9df538 Confirm character duplication 2023-07-22 21:50:21 +03:00
eccfadb14e #763 Fix "Continue on Send" 2023-07-22 17:46:59 +03:00
212e98302a Fix empty stat and original param 2023-07-22 14:10:21 +03:00
053dbbd25c Onboarding experience and new default user avatar 2023-07-21 16:42:18 +03:00
c0d3dd54a7 Emit event after chat reloading 2023-07-21 14:15:43 +03:00
bdca4b9bad Fix empty original substitution and bg mobile usability 2023-07-21 12:02:52 +03:00