Commit Graph

647 Commits

Author SHA1 Message Date
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
joe 0aee97ccca Added Option to toggle/Hide settings bar. 2023-07-30 11:47:17 +09:00
city-unit fa06e5ee5a Add optional alerting for WI debugging. 2023-07-29 22:15:54 -04:00
city-unit 6829f5308f Persist active chat across devices. 2023-07-29 19:48:08 -04:00
Cohee 8e06d18664 #804 Add kayra model 2023-07-28 21:45:44 +03:00
Cohee1207 707ce62017 Advanced Character Search #786 2023-07-28 00:38:43 +03:00
Cohee1207 ddf485f354 #787 Display character version in the list 2023-07-28 00:04:21 +03:00
Cohee 68819a1afc Add openrouter to /api slash command 2023-07-26 21:22:57 +03:00
Cohee e4e2ff20a2 #781 Don't add You stopping string for non-Pygmalion models 2023-07-26 21:08:25 +03:00
Cohee c3d43a7d05
Merge pull request #776 from bdashore3/staging 2023-07-25 09:34:13 +03:00
kingbri 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
Cohee1207 83cb3456fc Run showdown output through sanitize 2023-07-25 00:07:52 +03:00
Cohee 0df8c4b6a2
Merge pull request #774 from city-unit/feature/delete
More general/functionalized char delete methods
2023-07-24 22:45:41 +03:00
city-unit 8fdea22379 Move delete calls to functions, generalize delete endpoint. 2023-07-24 15:05:27 -04:00
Cohee 130559d499 #746 Add preset manager for ooba/kobold 2023-07-23 23:52:31 +03:00
Cohee 1b9ca4c9d9 Unhide advanced parameters for Novel 2023-07-23 02:09:03 +03:00
Cohee ea68e70ac7 Refine message for dupe confirm 2023-07-22 22:14:16 +03:00
Cohee e38a9df538 Confirm character duplication 2023-07-22 21:50:21 +03:00
Cohee eccfadb14e #763 Fix "Continue on Send" 2023-07-22 17:46:59 +03:00
Cohee1207 212e98302a Fix empty stat and original param 2023-07-22 14:10:21 +03:00
Cohee 053dbbd25c Onboarding experience and new default user avatar 2023-07-21 16:42:18 +03:00
Cohee c0d3dd54a7 Emit event after chat reloading 2023-07-21 14:15:43 +03:00
Cohee bdca4b9bad Fix empty original substitution and bg mobile usability 2023-07-21 12:02:52 +03:00
Cohee a81b0dba2f Don't remove bg uploader on backgrounds render 2023-07-20 23:12:59 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00