Commit Graph

2996 Commits

Author SHA1 Message Date
RossAscends
54f472a750 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-28 00:58:36 +09:00
RossAscends
a0dbee6749 unlimited zoomed avatars + movingUI rewrite 2023-06-28 00:58:32 +09:00
Cohee
69fdb9090f Add Chub downloader for characters and lorebooks 2023-06-27 18:39:08 +03:00
lsaa
43e5849015 Only display the first line of Creator's Notes as description 2023-06-27 09:15:52 -03:00
Cohee
92775e459c Merge pull request #574 from 50h100a/show-avatar-names
Display avatar name in card list
2023-06-27 12:39:53 +03:00
Cohee
748bee74cb Make avatar URL display not default 2023-06-27 12:38:46 +03:00
Cohee
3cdec1cea3 Merge pull request #576 from bdashore3/dev
World Info: Fix lorebook loading error
2023-06-27 12:34:29 +03:00
RossAscends
76b7e24614 also reset AN panel loc/size 2023-06-27 13:22:39 +09:00
RossAscends
9737fda9ae persistent state for movingUI 2023-06-27 13:08:02 +09:00
50h100a
06f580ed29 Add power-user option to toggle card filenames.
Rephrased 'resize' option so It's Not Talking Like This.
2023-06-26 21:45:15 -04:00
50h100a
553a95fd39 Merge branch 'SillyTavern:main' into show-avatar-names 2023-06-26 21:33:24 -04:00
kingbri
3e30fb5d14 World Info: Fix lorebook loading error
charLore isn't always present, so make optional calls to it.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-26 20:19:21 -04:00
Cohee
847961861f Better VN mode autoscrolling 2023-06-27 00:57:16 +03:00
Cohee
59dba15a4f Unlock scrolling on streaming if scrolled with mouse wheel 2023-06-27 00:45:48 +03:00
50h100a
2aa0c5d707 Display avatar name in card list 2023-06-26 17:33:10 -04:00
Cohee
976a8fd65c Fix WI terms usage 2023-06-26 22:27:58 +03:00
Cohee
5798c98f41 Adjust texts for character lorebooks 2023-06-26 22:21:01 +03:00
Cohee
187a0925b0 Merge pull request #570 from bdashore3/dev
World Info: Add support for character layers and more fixes
2023-06-26 22:10:58 +03:00
kingbri
45047fc6b2 World Info: Fix entries being improperly appended
Entries were being added to the prompt in an inconsistent way. WI
before and after character were using newline formatting while AN
was using array joins. This caused some issues with insertion order
in the prompt.

Fix this by making each injection use an array and unshift elements
into them. Then, join them into a string that preserves insertion
order.

The reason why unshift is used is because higher insertion orders
translate to a higher priority during scanning. This prevents the
need to reverse arrays which is a more costly function depending
on how many entries are in them.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-26 14:32:24 -04:00
kingbri
9d5af39682 World Info: Add rename and delete hooks to char layers
If a world info is renamed or deleted, update that in the character
lore section of settings as well.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-26 14:32:24 -04:00
kingbri
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
Cohee
47a5c9e9f6 Remove insta-faving on import 2023-06-26 17:20:59 +03:00
Cohee
c9fa19e8dd Un-egg group avatars round 2023-06-26 17:00:35 +03:00
Cohee
89a1378397 Fix sprite folder for Risu sprites. Don't overwrite existing files. 2023-06-26 17:00:13 +03:00
Cohee
1739af3ef6 Cleanup Risu import 2023-06-26 15:26:29 +03:00
Cohee
c1b9a30087 Import embedded Risu sprites 2023-06-26 15:19:35 +03:00
Cohee
ca8b06f4cb Fix bold italics 2023-06-26 13:42:58 +03:00
Cohee
68f967ea78 Add Claude tokenizer 2023-06-26 13:36:56 +03:00
Cohee
7354003db1 Fix typo 2023-06-26 11:51:11 +03:00
RossAscends
b2e541c6d9 char edit panel grid fix 2023-06-26 07:08:46 +09:00
Cohee
7321b37799 Un-egg round personas 2023-06-25 23:55:16 +03:00
Cohee
9532ad4e5a Enable selection in WI editor 2023-06-25 23:24:22 +03:00
Cohee
7118b430d5 Only display a warning if card tokens is more than 50% of real context size 2023-06-25 23:17:05 +03:00
Cohee
961139304d Unify group/solo avatar display 2023-06-25 23:05:11 +03:00
Cohee
efe4a974be Less gaps == more space for descriptions 2023-06-25 22:56:11 +03:00
Cohee
92127615e5 Tighter display of character top bar. Return some of the buttons 2023-06-25 22:44:46 +03:00
RossAscends
deb2efc16e realign character panel 2023-06-26 04:17:06 +09:00
Cohee
9bbaa85a3b Clarified persona deletion message 2023-06-25 20:13:16 +03:00
Cohee
04cfedea7c Chroma: Remove dupe label 2023-06-25 19:56:15 +03:00
Cohee
16fd92b1a3 Merge pull request #566 from BlipRanger/dev
First try at chromadb multichat
2023-06-25 19:36:19 +03:00
Cohee
7984e3b818 Add contextual Character WI button 2023-06-25 18:40:13 +03:00
Cohee
da8beeb503 Force reload user avatar on upload 2023-06-25 17:21:18 +03:00
Cohee
612db28bcb Better name for backgrounds plugin 2023-06-25 17:06:20 +03:00
Cohee
506aeb2e40 Substitute params in persona descriptions. 2023-06-25 17:00:27 +03:00
Cohee
26ac519c55 User persona management block. Persona descriptions. Dummy personas. Change persona avatar 2023-06-25 16:46:23 +03:00
Cohee
bbec184d17 Reverse persona lock icon 2023-06-25 13:20:11 +03:00
Cohee
951e22ac8e Fix scrolling and width of global WI 2023-06-25 12:43:37 +03:00
RossAscends
861e0d017e fix CSS for new WI multiselector 2023-06-25 14:53:41 +09:00
RossAscends
f6526bbb4c Merge pull request #567 from bdashore3/dev
Add multiple global WI merging (and optimizations)
2023-06-25 14:33:54 +09:00
BlipRanger
d004a3141e Default bracket, make sure we have memories. 2023-06-25 01:03:47 -04:00