Commit Graph

53 Commits

Author SHA1 Message Date
Cohee
2c54627926 Format code 2023-10-10 20:48:21 +03:00
ThisIsPIRI
3eb8f56b00 Add option to use the old embedded WI toast 2023-10-11 00:08:08 +09:00
RossAscends
1c095415a4 fix WI panel display on autoimport char lorebooks. 2023-10-08 23:04:53 +09:00
RossAscends
19acc05516 subsort WI Depth sort by Order to match prompt loc 2023-10-08 20:12:14 +09:00
Cohee
2cbde8b55c #1221 Button to refresh WI sorts 2023-10-08 12:30:12 +03:00
SDS
5848ec498b
Assorted fixes and improvements (#1208)
* Kobold Presets fixed

* Help texts fixed

* Scale API for connectAPISlash

* Quick Reply checkboxes fixed

* New Instruct Mode Presets

* More date/time macros

* ChatML context template and instruct prompt format

* Mistral context template and instruct prompt format

* Removed use_default_badwordsids from kobold presets

* Renamed ChatML to Mistral-OpenOrca (ChatML)

* Renamed Mistral-OpenOrca (removed ChatML)

* Removed single_line from kobold presets

* Removed obsolete use_stop_sequence setting

* Ban EOS Token off by default

* Split AI Resp. Conf. in global and preset-specific settings

* Resolve conflicts

* Fix title

* Add translations for new help texts

* Fix i18n.json whitespace

* Make Mistral-OpenOrca system prompt more generic

* Renamed "Mistral-OpenOrca" to "ChatML" again

* More (UI) fixes and improvements

* Sendas hint fixed

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-10-07 19:25:36 +03:00
Cohee
32377fd131 Unhide constant WI probability 2023-10-06 18:47:03 +03:00
Cohee
27ce0b5eb7 Stabilize WI sorting order 2023-10-06 01:18:50 +03:00
RossAscends
4189da19b1 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-06 05:56:47 +09:00
RossAscends
ad3f8e7bf4 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-06 05:56:45 +09:00
Cohee
0dfe46a162 Add WI title backfill button 2023-10-05 23:56:31 +03:00
RossAscends
edeb804128 fix WI Entry control titles for mobile 2023-10-06 05:55:39 +09:00
Cohee
b49f234185 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-05 23:30:23 +03:00
Cohee
85a63b3bb3 Add WI entry sorting. Add new entry flash 2023-10-05 23:30:18 +03:00
RossAscends
eaa33f2544 WI Entry titles on left, controls on right. 2023-10-06 03:40:39 +09:00
RossAscends
5307ee5d17 WI: Prob%, Memo to header, Keywords to main 2023-10-06 03:02:43 +09:00
RossAscends
30e5a31591 Position, Depth, Order Inputs to WI Entry header 2023-10-05 23:40:48 +09:00
Cohee
99a89a7329 Less discrete embedded lorebook prompt 2023-10-04 22:41:10 +03:00
RossAscends
7771ecb0d0 WI disable/constant checkboxes to tristate select 2023-10-01 10:21:19 +09:00
RossAscends
f466ff3243 update WI Pos/Depth/Order hint on value change 2023-09-29 00:27:12 +09:00
Brian Dashore
bfda5a5492
Extra fixes (#1185) 2023-09-26 09:53:04 +03:00
Cohee
01f14b461f Fix embedded lorebook depths 2023-09-25 20:11:16 +03:00
RossAscends
e2d4f9dc8c streamline WI display 2023-09-25 18:03:10 +09:00
Cohee
1838ca1994 Replace magic numbers with named constants 2023-09-24 14:45:04 +03:00
Brian Dashore
2411006fdb
World Info: Add insertion order at depth (#1174)
Depth previously injected entries randomly. This is not ideal for
world info architectures that rely on insertion order to function
properly.

Redo depth injection to have its own parameter and redo how it's
handled in generate.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-09-24 14:41:56 +03:00
Brian Dashore
5421925d6c
Add character specific locks for WI and LB (#1170)
* World Info: Add character locking for entries

With the addition of depth, world info has become more important than
ever. However, there is a conflict that can occur when using multiple
world info or lorebooks on a character. Add the ability to lock
entries to a specific character (or characters) if needed.

This allows for adequate separation especially when there are character
cards each with their separate lorebooks that build off of a core lorebook.

Signed-off-by: kingbri <bdashore3@proton.me>

* World Info: Add entry-specific character exclusions

This is the opposite of locking an entry to a specific character.
Exclusions allows the entry to get included for everyone except the
specified characters in the list.

Signed-off-by: kingbri <bdashore3@proton.me>

---------

Signed-off-by: kingbri <bdashore3@proton.me>
2023-09-23 22:35:51 +03:00
RossAscends
86c7a7a058 @Depth insertion for WI Entries 2023-09-21 16:04:34 +09:00
Cohee
dc1c477d62 Uncomment page size selector in WI editor 2023-09-18 01:52:41 +03:00
Cohee
06825331d6 Confirmation for WI entry delete 2023-09-05 12:05:20 +03:00
Cohee
428c851c9b Fix WI overflow alerting counter 2023-09-01 23:14:01 +03:00
Cohee
1900ab9726 #1005 Replace mobile detection method in get sortable delay. Make deviceInfo loading sync. Init Ross mods via function call. 2023-08-24 23:52:03 +03:00
Cohee
de0dbfb394 Merge branch 'roleplay-context' into staging 2023-08-24 00:30:04 +03:00
Cohee
1ce848c1c3 Move before / after char WI to story strings 2023-08-24 00:26:47 +03:00
Cohee
bc5fc67906 Put tokenizer functions to a separate file. Cache local models token counts 2023-08-23 02:38:43 +03:00
Cohee
fd95b79ae9 Fix auto-translate plugin. Add new event types for post-rendering 2023-08-22 22:45:12 +03:00
Cohee
e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee
92686d4ba8 Optimize WI editor header. Add entries search 2023-08-22 01:51:31 +03:00
Cohee
069a07a139 Add pagination for WI entries #964 2023-08-21 21:10:11 +03:00
Cohee
4a30875030 #964 Move WI token counting func into module scope 2023-08-21 18:16:40 +03:00
Cohee
cf6a76929d WI skill issue 2023-08-20 18:32:02 +03:00
Cohee
106f7afdcb Slight performance increase for opening large World Infos 2023-08-20 13:15:02 +03:00
Cohee1207
991ff98eaa Performance optimizations for character edit / chat opening 2023-08-19 15:58:17 +03:00
Cohee
08a0709186 Escape "Match whole words" regex 2023-08-18 14:54:38 +03:00
Cohee
c4d8d70103 Improve phone usability of sortable drags 2023-08-18 13:41:46 +03:00
Cohee
23a4705d36 Use common save settings function on WI budget cap 2023-08-13 19:50:12 +03:00
Cohee
3688bd0b04 #930 Fix WI activation via slash command 2023-08-13 19:20:00 +03:00
maver
011278c533 Re-Render prompt manager on worldinfo settings change 2023-08-12 18:40:38 +02:00
Cohee
9e43f5f8b7 Add flat budget cap for hybrid WI budgeting 2023-08-10 20:45:57 +03:00
Cohee1207
32e5566a37 Fix WI overflow alert 2023-08-07 22:12:50 +03:00
city-unit
fa06e5ee5a Add optional alerting for WI debugging. 2023-07-29 22:15:54 -04:00