Commit Graph

1653 Commits

Author SHA1 Message Date
Cohee 5b68a438f3 Fix immediate switching between persona namesakes 2023-10-23 23:20:49 +03:00
Cohee 3f9cb7d575 Reduce hr margin 2023-10-23 22:25:17 +03:00
Cohee 85d1a008dd Fix Extras input placeholders 2023-10-23 16:57:40 +03:00
Cohee f0b20b67de Rearrange ext.panel. Add ext.update notifications. Improve performance on large number of extensions 2023-10-23 16:53:31 +03:00
Cohee e082138c18 Do shallow clone to speed-up extension installs 2023-10-23 13:27:04 +03:00
Cohee 3995238d77 Adjust Anlas guard for NAI Opus 2023-10-23 10:41:39 +03:00
RossAscends bd9c4d28ca change non-CC API context slider steps to 512 2023-10-23 13:07:04 +09:00
RossAscends 6f79f75f71 remove extra quote mark form bulkdelete html tag 2023-10-23 10:56:46 +09:00
RossAscends 731ebc2eda add toggle for mobile gestures 2023-10-23 10:54:17 +09:00
Cohee 635df947c5 Increase classify sampling window; 300=>500 chars 2023-10-23 02:14:29 +03:00
Cohee 63b34d9851 Call expression module worker when switching chats 2023-10-23 01:56:27 +03:00
Cohee f9ae7ea949 Add NAI Diffusion v2 model 2023-10-23 01:06:49 +03:00
Cohee df85218fa7 Merge branch 'release' into staging 2023-10-23 00:27:15 +03:00
Cory Gross 5b2fff07b8
Fix race condition duplicates TTS UI if autoload chat enabled 2023-10-22 08:54:25 -07:00
Cohee 0517f1bbbc Fix elevenlabs multi-model 2023-10-22 14:46:54 +03:00
Cohee f49f9c1f96 Merge branch 'release' into staging 2023-10-22 14:01:33 +03:00
Cohee f9cb6d783e
Merge pull request #1263 from bdashore3/preset-expansion
Preset setting expansion
2023-10-22 14:01:06 +03:00
Cory Gross 348805af74
Fix TTS autogen chkbox set by elevenlabs multilingual setting 2023-10-21 22:33:28 -07:00
kingbri 57b299a9cd Presets: Update adventure
Add some default settings and stopping strings.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-21 21:58:35 -04:00
Cohee a662677f06 Add prompt copy button 2023-10-22 00:51:35 +03:00
Cohee 5fa158a37f Add border to enlarged img 2023-10-22 00:43:21 +03:00
Cohee c49f898886 Display prompts for enlarged images 2023-10-22 00:39:11 +03:00
Cohee 81921bcd77 Saveable SD prefix/negatives 2023-10-22 00:10:48 +03:00
Cohee 04a5d9694e Unify preset button styles 2023-10-21 23:32:53 +03:00
Cohee 6296cb8218 Align display name of Summary plugin 2023-10-21 22:20:21 +03:00
Cohee a4ab898933 Move CFG scale to built-in functionality 2023-10-21 22:19:49 +03:00
Cohee ed8f5ddc33 Fix BG drawer title position 2023-10-21 21:10:08 +03:00
Cohee 65402eaa23 Move bulk edit to built-in functionality 2023-10-21 21:02:06 +03:00
Cohee 7e116f8b1f Move setting search to built-in functionality 2023-10-21 20:55:51 +03:00
Cohee 999c1b1105 Hide chat BG titles 2023-10-21 20:41:19 +03:00
Cohee 0b535e98b8 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-21 20:32:39 +03:00
Cohee 4ecf2b9f2d Fix stats init error 2023-10-21 20:32:36 +03:00
Cohee 5012237eb3 Display generated bg in the bg block. Add ability to copy chat bg to system list. 2023-10-21 17:43:25 +03:00
Cohee 8d121bf38f QR menu restyle 2023-10-21 16:17:17 +03:00
Cohee d0650e6910 Clean-up QR code 2023-10-21 16:09:25 +03:00
IkariDevGIT 1e251c09e3
Better input inject Quick Reply (#1255)
* Force open Char WI with Shift

QoL - Force open character WI selector menu if icon clicked with Shift.

* Update world-info.js (revert personal new WI pos preference)

* Fix element widths

* Fix event typing

* Update index.js

* Update index.js

* change Prompt to Input

this makes it more clear what it does(i think)

---------

Co-authored-by: valden80 <111227649+valden80@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-10-21 16:02:29 +03:00
Cohee 08a1eaad62 Less obnoxious alt.greetings button 2023-10-21 15:54:05 +03:00
Cohee b4e29bf157 #1272 Optimize performance of context buttons visibility switch 2023-10-21 15:41:27 +03:00
Cohee 97d75aef73 #1272 Fix control buttons when expand actions is used 2023-10-21 15:17:18 +03:00
Cohee 25c461bd3f Add text to open alternate greetings 2023-10-21 15:10:48 +03:00
Cohee 70fa93f0c9 Clarify note macro docs 2023-10-21 14:42:53 +03:00
Cohee 703965aec8 Substitute macro in character editor token counter 2023-10-21 14:39:01 +03:00
IkariDevGIT 6fe4232f75
Add {{// (note)}} macro (#1265)
* add {{# (note)}} macro

* change from # to // for future updates

* fix docs
2023-10-21 14:28:02 +03:00
Cohee 51e0c9130a
Merge pull request #1269 from city-unit/feature/slash
Add token counting slash command.
2023-10-21 14:26:45 +03:00
Cohee 85de505553 Move counter to plugin. Use chat context to get messages 2023-10-21 14:23:56 +03:00
city-unit 63ecca1fe2 Add token counting slash command. 2023-10-21 01:04:16 -04:00
RossAscends b41bf7cf4e
Merge pull request #1267 from city-unit/feature/ui
Minor Fix: Hide extra buttons when you click away
2023-10-21 11:36:40 +09:00
city-unit 95a3021e53 Smooth transition 2023-10-20 22:31:57 -04:00
city-unit b8939b8ccb Hide extra buttons when you click away 2023-10-20 22:14:36 -04:00
kingbri 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
kingbri 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
Cohee f285110773 Merge chat backgrounds plugin with main backgrounds menu 2023-10-21 01:40:58 +03:00
Cohee 7f8df9533b Auto-complete code blocks during streaming 2023-10-20 23:52:23 +03:00
Cohee e4cb916dff Example messages behavior to 3-state selector 2023-10-20 20:09:31 +03:00
Cohee 0b0b125bca Don't double-expand prompts if reusing 2023-10-20 15:43:55 +03:00
Cohee c4e6b565a5 Add SD prompt expansion 2023-10-20 15:03:26 +03:00
kingbri 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
Cohee 5c6343e85e #1259 Add more weight to char.name in fuzzy search 2023-10-19 14:03:38 +03:00
Cohee 50924a0672 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-19 13:37:38 +03:00
Cohee b167eb9e22 Add raw token ids support to OAI logit bias. Fix token counting for turbo models 2023-10-19 13:37:08 +03:00
Cohee ec8d30a19d Remember confirm for assets list 2023-10-19 00:26:00 +03:00
Cohee 31242e23eb
Merge pull request #1249 from bdashore3/staging
Add ask command
2023-10-18 21:28:20 +03:00
Cohee 9611e31481 Respect trusted worker flag if auto-adjust is enabled 2023-10-18 14:25:05 +03:00
Cohee 5d1fff3df6 Don't add a newline at the end of empty story string 2023-10-18 11:44:45 +03:00
Cohee cc3e27eca1
Merge pull request #1253 from valden80/shift-open-char_wi
Force open char WI selector with Shift-click
2023-10-17 13:56:39 +03:00
Cohee 77f0fe5b80 Fix event typing 2023-10-17 13:55:02 +03:00
Cohee 5c316b50fa Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-17 13:09:53 +03:00
Cohee e8dd2e2b4d Fix element widths 2023-10-17 13:09:46 +03:00
valden80 81f1bfd23f
Update world-info.js (revert personal new WI pos preference) 2023-10-17 03:15:18 +03:00
valden80 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
Cohee eaadb1c5c2 Prevent double insert of chat lore 2023-10-16 23:13:32 +03:00
Cohee 6a1b230c7e #1226 Add chat-bound lorebooks 2023-10-16 23:03:42 +03:00
Cohee 4f458ce93a Fix import of presets with spaces 2023-10-16 20:01:45 +03:00
Cohee 59af85ce1c #1250 Fix multiple card import tags 2023-10-16 11:37:04 +03:00
kingbri 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
Cohee 4657aef306 Improve inline preview of audio assets 2023-10-16 02:09:43 +03:00
Cohee 9ee2c2e9c1 Add asset preview links 2023-10-16 01:39:08 +03:00
Cohee 5b954a3584 Rename URL validation util function 2023-10-16 00:50:29 +03:00
Cohee 0f15d2d45b Move Idle extension to external repo. 2023-10-16 00:02:37 +03:00
Cohee 6a9f4a57b9 Move dynamic audio to external repository 2023-10-15 23:03:53 +03:00
Cohee c8dace09b7 Add failsafe condition preventing gens when cfg settings are not found 2023-10-15 22:21:19 +03:00
Cohee 92ddb2b791 Move HypeBot to external repo 2023-10-15 20:03:52 +03:00
Cohee 30c76eb420 Move dice extension to external repository 2023-10-15 19:56:07 +03:00
Cohee 579f43ed1c Move objective extension to external repo 2023-10-15 19:48:12 +03:00
Cohee 6e6e5f4747 Group popout "improvements" 2023-10-15 19:42:23 +03:00
Cohee 421cda2ef0 Move RVC plugin to external repository 2023-10-15 17:27:11 +03:00
Cohee 0a742b867f Move chromadb plugin to external repository 2023-10-15 16:57:37 +03:00
Cohee 82032133f1 Move randomizer plugin files to external repository 2023-10-15 16:23:32 +03:00
Cohee b4c3985b61 Disable cache of assets loader 2023-10-15 16:16:35 +03:00
Cohee 19363f6cb9 Move variables extension to external repo 2023-10-15 16:08:19 +03:00
Cohee d0637750e7 Add system message collapse for chat comps 2023-10-14 22:05:09 +03:00
RossAscends 7f50d84953 put headers on a diet 2023-10-14 01:09:53 +09:00
RossAscends 19ff0fd618 clean up draggables, gallery, and close buttons 2023-10-14 00:29:41 +09:00
Cohee d82eb373a6 Less obnoxious hr style 2023-10-13 13:11:21 +03:00
Cohee edb46f480f Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-13 11:42:45 +03:00
Cohee a1f6220f33 Nicer display of 3rd-party extension assets 2023-10-13 11:42:38 +03:00
Tony Ribeiro 2997522c52 Removed speech recognition extension (now third party extension download from assets menu). 2023-10-13 01:34:00 +02:00
RossAscends a87580663e HR divorces theme border color 2023-10-12 21:13:57 +09:00
kingbri 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
Cohee 84098ae933 Fix injection order (again) 2023-10-11 22:56:17 +03:00
Cohee e2f0162e5a Fix injection order 2023-10-11 22:42:25 +03:00
Cohee 59ae661f62 Fix itemization viewer 2023-10-11 22:09:24 +03:00
Cohee c4fbc8373d Add raw generate function 2023-10-11 17:56:52 +03:00
Cohee abb78d1d6b Add at-depth position for custom Prompt Manager prompts 2023-10-11 16:03:36 +03:00
RossAscends 6b5aa9d06e toggle to skip WI&AN insertion in Summary's prompt 2023-10-11 19:44:22 +09:00
Cohee 7be3718a36 Fix first.mes continue for Chat Comps 2023-10-10 20:54:09 +03:00
Cohee 2c54627926 Format code 2023-10-10 20:48:21 +03:00
Cohee 9d710801d8 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-10 20:48:10 +03:00
ThisIsPIRI 3eb8f56b00 Add option to use the old embedded WI toast 2023-10-11 00:08:08 +09:00
kingbri dbf964e430 Script: Fix greeting message with continue
Add author's note when continuing the first message of a conversation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-10 14:26:41 +03:00
Tony Ribeiro 12a37e5342 correct placeholder text. 2023-10-10 01:52:09 +02:00
Tony Ribeiro 47d4561bf8
Merge branch 'SillyTavern:staging' into staging 2023-10-10 01:51:30 +02:00
Tony Ribeiro 93d1a264da Add official blip asset management. 2023-10-10 01:51:09 +02:00
RossAscends f88f360404 add padding back to summary popout 2023-10-10 05:53:55 +09:00
RossAscends 83f689d9eb Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-10 05:52:08 +09:00
RossAscends b1769153c7 add background coloring to popped out Summary 2023-10-10 05:52:06 +09:00
Cohee 1239026a8f Auto-update extensions on version change 2023-10-09 23:45:09 +03:00
RossAscends 575e21a1f5 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-10 04:49:37 +09:00
RossAscends 96ddd5f4e5 draggable popout for Summary 2023-10-10 04:49:35 +09:00
Cohee d81151efa2 Fix first message duplication 2023-10-09 18:22:50 +03:00
Cohee b84e6e07d1 Assets extensions visual touch-up 2023-10-09 17:21:12 +03:00
Tony Ribeiro 6c1ba0aa13
Merge branch 'SillyTavern:staging' into staging 2023-10-09 01:44:16 +02:00
Tony Ribeiro df4ca46c02 Save chat id between received and rendered event for safety (blip extension allow multiple message received before one is rendered). Added export in translate extension for usage in blip extension. 2023-10-09 01:26:57 +02:00
RossAscends dac9c091b2 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-09 08:22:02 +09:00
RossAscends e29902ed66 '/help slash' hint for how to batch slash commands 2023-10-09 08:22:00 +09:00
Cohee b3cdfe4fdf Adjust min value of NAI rep.pen.slope 2023-10-08 23:57:49 +03:00
Cohee d265179f46 Don't crash ST server on invalid streaming URL 2023-10-08 23:42:28 +03:00
Cohee 54d52a2986 Manage extensions via the assets plugin 2023-10-08 23:20:01 +03:00
Cohee 4f80085fa3 Add sanitation of Stable Horde prompts 2023-10-08 22:29:33 +03: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
Cohee 15cf87ef01 Fix new group avatar upload 2023-10-08 11:34:39 +03:00
Cohee 57bf499ce9 Fix group expressions 2023-10-08 11:22:48 +03:00
Cohee 4fbbd34db9 Add presets for Story and Adventure 2023-10-07 23:18:00 +03:00
Cohee 9b04e43b4c Remove examples separator from ChatML 2023-10-07 22:36:53 +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 5a570ff283 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-07 18:30:19 +03:00
Cohee 1dd6fa4b6a Add Sd.next source 2023-10-07 18:30:06 +03:00
Cohee 32377fd131 Unhide constant WI probability 2023-10-06 18:47:03 +03:00
yuxiang 0b8295926e add bing translate 2023-10-06 15:51:04 +03:00
Cohee 27ce0b5eb7 Stabilize WI sorting order 2023-10-06 01:18:50 +03:00
RossAscends 2797b4bd89 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-06 06:27:54 +09:00
RossAscends e9ba20f13c WI Entry transitions: all >>> opacity 2023-10-06 06:27:49 +09:00
Cohee 1ef68a34fe Fix bamboozling UI hint 2023-10-06 00:13:16 +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