Use a switch instead of if/else chain, fix un-needed addition
when determining token counts, and remove newline spacing for AN
WI formatting.
Signed-off-by: kingbri <bdashore3@proton.me>
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>
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>
- 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