Commit Graph

1150 Commits

Author SHA1 Message Date
Cohee
332648973f Merge branch 'dev' into feature/tags 2023-06-28 22:57:53 +03:00
BlipRanger
048d65c1e1 Anti-troll filter 2023-06-28 12:18:58 -04:00
BlipRanger
0f0647c6e4 Prompt when tags are being imported 2023-06-28 12:12:56 -04:00
Cohee
674a15b842 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-28 18:26:26 +03:00
Cohee
d0ab763d2e [Feature Request] Filter via Tags on Group Chat's "Add Members" Search Box #388 2023-06-28 18:26:23 +03:00
RossAscends
df35fb0775 less movingUI logspam 2023-06-28 22:47:33 +09:00
Cohee
fca732c933 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-28 16:39:40 +03:00
Cohee
c18008725d Fix group VN mode 2023-06-28 16:39:37 +03:00
RossAscends
38931e7a2f Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-28 22:31:49 +09:00
RossAscends
667cbf6f0f optimize Reset Panels, saveSettings emit onSuccess 2023-06-28 22:31:47 +09:00
Cohee
931fffaa5c Fix chat.comp models not saving on Safari 2023-06-28 16:16:49 +03:00
Cohee1207
f06ca28bbf Reduce console spam on expressions 2023-06-28 15:55:53 +03:00
BlipRanger
ad11ec8d00 Merge branch 'dev' of https://github.com/BlipRanger/SillyTavern into feature/tags 2023-06-28 08:55:40 -04:00
Cohee1207
a1eb2b794e Rearrange Horde blocks 2023-06-28 15:48:12 +03:00
RossAscends
4ad328029e Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-28 20:40:31 +09:00
RossAscends
d66542e88e fix: MovingUI breaking, typos, WI selector scroll 2023-06-28 20:40:29 +09:00
Cohee
4a9d9b69e9 Fix random chat slash breaking in groups 2023-06-28 11:19:50 +03:00
RossAscends
93b1774135 Merge pull request #586 from bdashore3/dev
[IMPORTANT] Fix world info splice method
2023-06-28 14:08:32 +09:00
BlipRanger
0a5c226af6 Remove unencessary functions 2023-06-28 01:06:38 -04:00
RossAscends
2cde62f618 Merge pull request #585 from BlipRanger/feature/random
Add random chat slash command
2023-06-28 14:01:51 +09:00
RossAscends
7fe758d697 ( ) skill issue ( ) MovingUI works now. 2023-06-28 13:53:36 +09:00
BlipRanger
762684ffea Filter default tags (probably), update name 2023-06-28 00:43:45 -04:00
BlipRanger
2b5a028af4 Import tags from card correctly 2023-06-28 00:32:07 -04:00
BlipRanger
ea2c7973a9 Unmerge plus first try at importing card tags 2023-06-27 23:59:22 -04:00
BlipRanger
2d34b54874 Merge branch 'feature/autotagger' of https://github.com/BlipRanger/SillyTavern into feature/tags 2023-06-27 23:55:58 -04:00
kingbri
2f2f88dedd World Info: Fix array splice method
Character lore layers used array.splice() in the wrong way. Somehow
this passed my testing through sheer luck. Rewrite for using indicies
to splice and for more efficiency with iteration.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-27 21:04:04 -04:00
BlipRanger
a512e3bec0 Merge branch 'dev' of https://github.com/BlipRanger/SillyTavern into feature/random 2023-06-27 20:18:55 -04:00
BlipRanger
06f2c920f0 Start autotagger extension 2023-06-27 20:17:43 -04:00
BlipRanger
9903e85a66 Add random slash command 2023-06-27 20:03:49 -04:00
Cohee
9949d5695c Restyle Horde model selector 2023-06-28 02:09:33 +03:00
Cohee
f5ba78be81 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-27 20:48:14 +03:00
Cohee
10e87dd5ca [WIP/Untested] DeepL translation API 2023-06-27 20:48:09 +03:00
RossAscends
a9009725ce hide unusables on mobile 2023-06-28 01:29:35 +09:00
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
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
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
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
68f967ea78 Add Claude tokenizer 2023-06-26 13:36:56 +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
92127615e5 Tighter display of character top bar. Return some of the buttons 2023-06-25 22:44:46 +03:00