Commit Graph

1172 Commits

Author SHA1 Message Date
b4e29bf157 #1272 Optimize performance of context buttons visibility switch 2023-10-21 15:41:27 +03:00
70fa93f0c9 Clarify note macro docs 2023-10-21 14:42:53 +03:00
703965aec8 Substitute macro in character editor token counter 2023-10-21 14:39:01 +03:00
6fe4232f75 Add {{// (note)}} macro (#1265)
* add {{# (note)}} macro

* change from # to // for future updates

* fix docs
2023-10-21 14:28:02 +03:00
51e0c9130a Merge pull request #1269 from city-unit/feature/slash
Add token counting slash command.
2023-10-21 14:26:45 +03:00
85de505553 Move counter to plugin. Use chat context to get messages 2023-10-21 14:23:56 +03:00
63ecca1fe2 Add token counting slash command. 2023-10-21 01:04:16 -04:00
8d6eaf3da4 Power User: Fix preset error
The checkbox wasn't being looked up correctly, causing issues when
setting some properties.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-20 22:05:03 -04:00
18c74ecf09 Power User: Reduce preset settings
Make presets affect less settings that are commonly manually changed
by people after setting one.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-20 21:18:48 -04:00
f285110773 Merge chat backgrounds plugin with main backgrounds menu 2023-10-21 01:40:58 +03:00
7f8df9533b Auto-complete code blocks during streaming 2023-10-20 23:52:23 +03:00
e4cb916dff Example messages behavior to 3-state selector 2023-10-20 20:09:31 +03:00
0b0b125bca Don't double-expand prompts if reusing 2023-10-20 15:43:55 +03:00
c4e6b565a5 Add SD prompt expansion 2023-10-20 15:03:26 +03:00
6e4236d5ee Presets: Add power user setting support
Settings such as adding character name, stopping strings, etc can be
preset specific. This change is mainly inspired because people (like myself)
often forget to change these settings after switching a preset, which
can cause weird responses from the model.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-20 02:07:45 -04:00
5c6343e85e #1259 Add more weight to char.name in fuzzy search 2023-10-19 14:03:38 +03:00
50924a0672 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-19 13:37:38 +03:00
b167eb9e22 Add raw token ids support to OAI logit bias. Fix token counting for turbo models 2023-10-19 13:37:08 +03:00
ec8d30a19d Remember confirm for assets list 2023-10-19 00:26:00 +03:00
31242e23eb Merge pull request #1249 from bdashore3/staging
Add ask command
2023-10-18 21:28:20 +03:00
9611e31481 Respect trusted worker flag if auto-adjust is enabled 2023-10-18 14:25:05 +03:00
5d1fff3df6 Don't add a newline at the end of empty story string 2023-10-18 11:44:45 +03:00
77f0fe5b80 Fix event typing 2023-10-17 13:55:02 +03:00
81f1bfd23f Update world-info.js (revert personal new WI pos preference) 2023-10-17 03:15:18 +03:00
819b92a1d5 Force open Char WI with Shift
QoL - Force open character WI selector menu if icon clicked with Shift.
2023-10-17 03:10:57 +03:00
eaadb1c5c2 Prevent double insert of chat lore 2023-10-16 23:13:32 +03:00
6a1b230c7e #1226 Add chat-bound lorebooks 2023-10-16 23:03:42 +03:00
4f458ce93a Fix import of presets with spaces 2023-10-16 20:01:45 +03:00
dfa25a1796 Commands: Add ask command
The ask command aims to ask another character about a question or
topic from the current chat. Essentially, the current chat is taken
out and prompted to another character.

This command also requires a few fixes to sprites and prompt creation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-16 02:12:12 -04:00
4657aef306 Improve inline preview of audio assets 2023-10-16 02:09:43 +03:00
9ee2c2e9c1 Add asset preview links 2023-10-16 01:39:08 +03:00
5b954a3584 Rename URL validation util function 2023-10-16 00:50:29 +03:00
0f15d2d45b Move Idle extension to external repo. 2023-10-16 00:02:37 +03:00
6a9f4a57b9 Move dynamic audio to external repository 2023-10-15 23:03:53 +03:00
c8dace09b7 Add failsafe condition preventing gens when cfg settings are not found 2023-10-15 22:21:19 +03:00
92ddb2b791 Move HypeBot to external repo 2023-10-15 20:03:52 +03:00
30c76eb420 Move dice extension to external repository 2023-10-15 19:56:07 +03:00
579f43ed1c Move objective extension to external repo 2023-10-15 19:48:12 +03:00
6e6e5f4747 Group popout "improvements" 2023-10-15 19:42:23 +03:00
421cda2ef0 Move RVC plugin to external repository 2023-10-15 17:27:11 +03:00
0a742b867f Move chromadb plugin to external repository 2023-10-15 16:57:37 +03:00
82032133f1 Move randomizer plugin files to external repository 2023-10-15 16:23:32 +03:00
b4c3985b61 Disable cache of assets loader 2023-10-15 16:16:35 +03:00
19363f6cb9 Move variables extension to external repo 2023-10-15 16:08:19 +03:00
d0637750e7 Add system message collapse for chat comps 2023-10-14 22:05:09 +03:00
19ff0fd618 clean up draggables, gallery, and close buttons 2023-10-14 00:29:41 +09:00
edb46f480f Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-13 11:42:45 +03:00
a1f6220f33 Nicer display of 3rd-party extension assets 2023-10-13 11:42:38 +03:00
2997522c52 Removed speech recognition extension (now third party extension download from assets menu). 2023-10-13 01:34:00 +02:00
2c1a6ca67c World Info: Add scanning with AN
Add support for adding extension prompts into WI scanning. Doing this
required adding a method to get extension prompts by name. Now, AN
and depth prompts can be added to world info scanning.

However, since scanning just looks for keys in the chatlog, append
the extension prompts on the top of scanned text.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-11 23:50:58 -04:00