Commit Graph

848 Commits

Author SHA1 Message Date
b6fbe41f93 World Info: Add support for character layering
Some characters have different cards depending on what the user wants
from the character. However, maintaining multiple lorebooks for different
personas of the same character can be difficult. In addition, there
is redundancy, overlap, and possiblities to miss information when
creating separate lorebooks with the same base info.

Therefore, add a "DLC"/layering system of sorts for characters.
This works the same way as multi-global world info where character
lorebooks added as needed. The only catch is that a base character
book must be tied to a card before selecting any extra info.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-26 14:32:24 -04:00
92127615e5 Tighter display of character top bar. Return some of the buttons 2023-06-25 22:44:46 +03:00
9bbaa85a3b Clarified persona deletion message 2023-06-25 20:13:16 +03:00
7984e3b818 Add contextual Character WI button 2023-06-25 18:40:13 +03:00
da8beeb503 Force reload user avatar on upload 2023-06-25 17:21:18 +03:00
506aeb2e40 Substitute params in persona descriptions. 2023-06-25 17:00:27 +03:00
26ac519c55 User persona management block. Persona descriptions. Dummy personas. Change persona avatar 2023-06-25 16:46:23 +03:00
bbec184d17 Reverse persona lock icon 2023-06-25 13:20:11 +03:00
fc9c90c4ee World Info: Add global multi-selection/merging
Global world info always involved some kind of merging leading to
extremely large lorebook files that took a long time to import.

This commit adds the ability to select more than one world info file
and they will be merged together along with character world info.
In short, multiple worlds can be meshed together to further contribute
to context.

You can also use this for world "DLCs" of sorts. Let's say someone
else has more information to add regarding a world, but doesn't
want to use a large world file. The JSONs can now be merged.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-25 00:49:42 -04:00
31057e1e81 Add custom avatars for groups 2023-06-25 02:57:07 +03:00
ab90d6ec3d Save before exporting 2023-06-24 23:19:21 +03:00
ef9b7187dc improve performance when filling context 2023-06-24 15:17:19 +10:00
23287597ee Fix onboarding text. 2023-06-23 22:54:35 +03:00
9f0530f422 Export characters with world info embeds. 2023-06-23 22:50:16 +03:00
fed47d7477 /api 2023-06-24 00:59:09 +09:00
e7af6892fb Markdown: Add ability to exclude specific strings
A comma-separated list of markdown strings provided by the user can
be excluded as needed. This is combined with the set chat separator
to provide a seamless experience when chatting.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-22 21:10:19 -04:00
1672824416 Spec v2: {{original}} macro for prompt overrides. 2023-06-22 23:24:22 +03:00
1f14c3669d Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-22 22:21:24 +09:00
40e2af4c73 /dupe 2023-06-22 22:21:21 +09:00
85876e9377 Revert old quote wrapping for code blocks 2023-06-22 12:47:05 +03:00
4dac2126bf Do not replace codeblock newlines with <br> tags. 2023-06-21 23:59:52 -04:00
4230f3881d #547 Display Creator's Note in characters list 2023-06-21 21:12:46 +03:00
408f83804d Move set avatar button to on-click on avatar 2023-06-21 20:22:54 +03:00
4d299916be Convert and import v2 character book embeds 2023-06-21 18:50:34 +03:00
2a235b7889 Add /comment -- adds a note/comment message not part of the chat 2023-06-21 02:22:20 -03:00
3723ae840f Use proportional WI budget. Add None option for WI editor. 2023-06-20 22:11:01 +03:00
a513434b5f Fix cards hiding on returning to characters list when using search input 2023-06-20 19:41:06 +03:00
350e2108e2 WI2AN: Fix formatting
Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-20 11:30:29 -04:00
df184bd46a Split WI editor and global WI select 2023-06-20 17:52:40 +03:00
2663a8370f (Internal refactor) Decouple world info editor from global WI selector 2023-06-20 13:47:34 +03:00
3b66310dd2 fix WI2AN insertions 2023-06-20 17:59:01 +09:00
9c28126ccd #517 Export chats as JSONL 2023-06-19 22:29:09 +03:00
fb97d95dae Use single format for chat timestamps 2023-06-19 22:05:20 +03:00
72488b5900 Merge pull request #523 from 50h100a/card-resize-fix
Card resize fix
2023-06-19 15:14:48 +03:00
10c836fcbc Fix removing world link from character 2023-06-19 10:54:43 +03:00
4c51b1ffe1 toggle for Timestamps on messages 2023-06-19 14:39:33 +09:00
0490ca25b0 char panel buttons into dropdown; sheld width fix 2023-06-19 13:23:26 +09:00
21bb5d7808 Fix WI button class toggle 2023-06-19 02:55:32 +03:00
f51af31850 Fix duplicating entries if char and global WI are the same 2023-06-19 02:19:42 +03:00
7e975e9df0 (WIP) Assign World Info to a character. [Out of spec] 2023-06-19 01:59:09 +03:00
56656b95cf Added "Never Resize Avatars" option.
Changed crop dialog to have "Accept"/"Cancel" buttons.
2023-06-18 17:09:10 -04:00
81d9cead5c Hide scenario override in char creation and group member peeking 2023-06-18 22:09:57 +03:00
04a645141c Set scenario override for characters 2023-06-18 20:32:51 +03:00
976248b665 Fix char A/N in groups 2023-06-18 18:33:57 +03:00
040c4a8894 Merge pull request #518 from 50h100a/main
Mismatch between file and character names prevents chat logs from being deleted.
2023-06-18 16:34:42 +03:00
22a5def618 Add option to auto-adjust number of chroma messages to keep / query based on context size. 2023-06-18 16:29:23 +03:00
58a6ccd4a5 WI-to-AN for real this time. 2023-06-18 18:17:43 +09:00
6d649c716d Use filename instead of id to delete chat logs. 2023-06-17 23:39:04 -04:00
b0db3686b1 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-18 06:35:24 +09:00
468aafb384 less console spam, placehold for dinkus MD escape 2023-06-18 06:35:22 +09:00