Commit Graph

45 Commits

Author SHA1 Message Date
Cohee
09eea3c8cd Add caching layer to WI save/load 2023-06-24 23:57:44 +03:00
Cohee
747f7829fd Import Risu lorebooks 2023-06-24 23:34:36 +03:00
Cohee
f360706227 Post-activation sorting of WI entries 2023-06-24 20:54:56 +03:00
Cohee
9f0530f422 Export characters with world info embeds. 2023-06-23 22:50:16 +03:00
Cohee
97e1585152 Import Agnai memory book JSON 2023-06-23 21:43:14 +03:00
Cohee
01b4e1dae3 Import Novel PNG lorebooks 2023-06-23 19:20:58 +03:00
Cohee
2302785242 #502 Import Novel Lorebooks (JSON-based) 2023-06-23 18:43:11 +03:00
RossAscends
ad779129d3 /world to set/unset active world 2023-06-23 16:51:15 +09:00
Cohee
2f497cf25b Drag-sortable WI entries. 2023-06-22 20:11:29 +03:00
Cohee
4d299916be Convert and import v2 character book embeds 2023-06-21 18:50:34 +03:00
Cohee
012f0237db Don't change active WI selection on import 2023-06-21 12:23:14 +03:00
Cohee
3723ae840f Use proportional WI budget. Add None option for WI editor. 2023-06-20 22:11:01 +03:00
Cohee
df184bd46a Split WI editor and global WI select 2023-06-20 17:52:40 +03:00
Cohee
2663a8370f (Internal refactor) Decouple world info editor from global WI selector 2023-06-20 13:47:34 +03:00
RossAscends
3b66310dd2 fix WI2AN insertions 2023-06-20 17:59:01 +09:00
Cohee
f51af31850 Fix duplicating entries if char and global WI are the same 2023-06-19 02:19:42 +03:00
Cohee
7e975e9df0 (WIP) Assign World Info to a character. [Out of spec] 2023-06-19 01:59:09 +03:00
RossAscends
58a6ccd4a5 WI-to-AN for real this time. 2023-06-18 18:17:43 +09:00
RossAscends
75090c4fa4 WorldInfo can now be routed into Author's Note 2023-06-18 08:27:24 +09:00
RossAscends
db7578be8e toggle for hiding WI Entry memo input box 2023-06-16 23:00:02 +09:00
RossAscends
7686ac0b28 fix WI open/close buttons + entries start closed 2023-06-16 19:24:24 +09:00
kingbri
8b8bf645eb World Info: Allow disabling recursion on entries
Recursive scanning is a very great tool used to create a tree hierarchy
of entries. However, some entries should not be included in recursion
due to possible conflicts and resulting leakage in chats.

Add an individual opt-out toggle to exclude the entry from recursive
scanning if the main option is enabled.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-14 23:00:37 -04:00
Cohee
74c676d6d8 Adjust saving and token counting debouncing rates of World Info 2023-06-14 00:44:57 +03:00
Cohee
dbad870d98 #386 Match whole word option for world info 2023-06-08 22:03:49 +03:00
SillyLossy
285d3e3d4a Fix LLAMA tokenization. Add case-sensitive WI matching 2023-05-21 00:40:13 +03:00
SillyLossy
1253d04561 Merge branch 'main' into dev 2023-05-21 00:10:26 +03:00
SillyLossy
299b9a04bc Replace info popups with toasts 2023-05-20 23:59:39 +03:00
Sanskar Tiwari
e58360a4b4 subsitute user and char variable in world info keywords 2023-05-21 02:03:09 +05:30
RossAscends
c3fe796059 World Selector&Editor Combined/Lockable/Swappable 2023-05-15 09:27:03 +09:00
RossAscends
c5d53f9134 fix heights for WI 2ndary / SD prefix/neg inputs 2023-05-07 00:09:02 +09:00
RossAscends
f1f150e5d1 -fix WI entry 2ndary key height
-initHeight and resetHeight functions moved from WI to utils
2023-05-06 21:28:24 +09:00
SillyLossy
19a4534d78 #230 Make recursive scanning of WI entries optional 2023-05-04 20:28:01 +03:00
RossAscends
370033f857 fixed WI entry secondary height 2023-05-04 23:09:54 +09:00
RossAscends
6d96b23dcc fixed WI entry scroll auto-height adjustments 2023-05-04 22:45:06 +09:00
RossAscends
b7e8d01694 AI config panel cleanup/styling
- editable inputs styled
- moved API model selectors from AIConfig to API Panel
- nicer WI Entry footer spacing
- corrected WI Entry textarea height calculations
- centered send_textarea placeholder
.mes_text now wraps anywhere to prevent long strings from overflowing-X
- placeholders added to a few inputs
2023-05-04 16:26:49 +09:00
SillyLossy
74a11eaecc Fix deletion of world info file on empty rename 2023-05-01 21:26:51 +03:00
SillyLossy
5144ae2220 Simplify logic of disabling the WI entry 2023-05-01 17:43:27 +03:00
RossAscends
8cf113050f Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-05-01 06:10:35 +09:00
RossAscends
fce021ce02 toggle to disable world Info entries 2023-05-01 06:10:33 +09:00
SillyLossy
e4b16cebd6 Only autoexpand the keys of WI 2023-04-30 23:30:08 +03:00
SillyLossy
6615d94051 Rename character as a group member.
Unify CSRF headers usage in fetch request.
2023-04-30 22:36:18 +03:00
SillyLossy
14cc5ba937 Use proper tokenizer for Poe 2023-04-13 16:26:08 +03:00
SillyLossy
7cce26bd22 Add world info support for OAI. Fix regens 2023-03-22 01:16:16 +02:00
SillyLossy
85da761244 Merge branch 'main' into dev 2023-03-16 11:15:25 +02:00
SillyLossy
a527ae1ad7 Rename files 2023-03-15 20:42:51 +02:00