Commit Graph

226 Commits

Author SHA1 Message Date
Cohee 0678a385d7
Merge pull request #1551 from alicat22/dev
ZenSlider - Default 10 steps to 20
2023-12-16 00:41:55 +02:00
AliCat 3aa950bb45
ZenSlider - Default 10 steps to 20 2023-12-15 15:01:05 -07:00
Cohee cd51592f32 #1546 Up precision again 2023-12-15 19:45:42 +02:00
Cohee 0ff5645d4f #1546 Lower the step of max context 2023-12-15 19:22:14 +02:00
valadaptive 8cfc8ebe66 Remove boolean comparisons to isMobile
We know this function will *always* return a boolean, so we don't need
to compare it to one.
2023-12-14 18:37:54 -05:00
Cohee 83f2c1a8ed #1524 Add FPS limiter to streamed rendering 2023-12-12 22:11:23 +02:00
Cohee 420d186823 Add reduced motion toggle 2023-12-10 20:02:25 +02:00
valadaptive 0fce475a95 Implement random sort with a shuffle
Sorting with a random comparator doesn't actually shuffle an array.
Depending on the sorting algorithm used, there will be a bias to the
shuffle (see https://bost.ocks.org/mike/shuffle/compare.html).
If you open that link in Firefox, the bias will be especially bad.
Instead of implementing "random" character sort using a random sort
comparator, use the shuffle function instead.
2023-12-09 22:52:38 -05:00
RossAscends c51a821b1e fix zen slider rep pen range value transfer 2023-12-07 11:52:10 +09:00
Cohee 64496425cc Save chat before reloading 2023-12-06 17:23:54 +02:00
Cohee 356c3a4300 Fix amount gen on zen sliders 2023-12-05 14:12:06 +02:00
valadaptive 5f1bed1e70 Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
Cohee 676cc7731e #1436 Add unlock to response length 2023-12-03 18:30:21 +02:00
RossAscends 43ad66ff90 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-12-03 21:59:23 +09:00
RossAscends 50f5b7b96f fix zenSliders 2023-12-03 21:59:21 +09:00
Cohee 5fb0807dcc Adjust max context step 2023-12-03 14:02:38 +02:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee 08fedf3a96 lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive 518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive 14afa1575b Enable no-redeclare lint 2023-12-02 12:11:19 -05:00
valadaptive b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
Cohee 04ef9fba54 Disable context stop strings on pull but enable for new installs 2023-12-02 02:19:32 +02:00
Cohee a2f293b6af Make context stop strings togglable 2023-12-01 23:06:37 +02:00
RossAscends 307f0d88c3 'All' for ooba rep pen range zenslider, maxCtx tweak 2023-11-29 11:37:18 +09:00
RossAscends 9145406522 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-29 03:35:34 +09:00
RossAscends fcca1b1260 fix zenslider rep pen range for TextCompletions 2023-11-29 03:35:02 +09:00
Cohee 91f369c921 Raise slider limits 2023-11-28 11:48:34 +02:00
Cohee 87707b565f Add checkbox for restoring user input on page refresh 2023-11-28 00:29:34 +02:00
Cohee fd0edd67a6 Fix recursive QR auto-execution 2023-11-27 02:18:36 +02:00
Cohee 19f758a0fb #670 Add square avatars 2023-11-26 15:27:54 +02:00
Cohee 4fd68e5be7 Skill issue 2023-11-24 19:10:09 +02:00
Cohee a178bdc3b0 Fix ephemeral stopping strings flush 2023-11-24 19:06:31 +02:00
Cohee c4e1fff1bc Respect # limit for ephemeral stop strings 2023-11-24 00:54:23 +02:00
Cohee 863554fea6 Add ephemeral stop strings to /genraw 2023-11-24 00:51:27 +02:00
RossAscends 73d6801406 slashcommand /movingui to set a MUI preset 2023-11-23 22:32:47 +09:00
LenAnderson 9f16b329c5 ensure checkboxes have contrast 2023-11-21 01:26:43 +00:00
Cohee ac07c8324d Configurable chat truncation amount 2023-11-19 21:57:54 +02:00
Cohee 9e48d807cc Add slash command to set UI theme 2023-11-16 00:57:23 +02:00
RossAscends 88863262da remove console logs 2023-11-15 18:59:39 +09:00
RossAscends d4a2502ec0 make zensliders ctx respect unlock state 2023-11-15 18:58:47 +09:00
Cohee e29bcde1d3 Localization hotfix 2023-11-13 01:45:46 +02:00
Cohee dd12cacd16 Fix range validation error 2023-11-12 17:27:40 +02:00
RossAscends 5e28d6f651 'off' labels for kobold, typable zenslider handles 2023-11-12 23:57:51 +09:00
RossAscends 86caffb1c6 Ooba ZenSlider QoL: "Off" for disabled val sampler 2023-11-12 18:22:21 +09:00
RossAscends 583de0d0e7 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-12 17:23:33 +09:00
RossAscends 986eef9830 fix zenslider and labmode compatibility check 2023-11-12 17:23:29 +09:00
ThisIsPIRI ab5b0cb1db Fix context size counter when size is unlocked 2023-11-12 06:32:04 +09:00
Cohee f79eaa4c8b Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-11 18:25:47 +02:00
Cohee 91a1cc81a0 #1242 Add aux field selector 2023-11-11 18:25:43 +02:00
Cohee 303026e01f Nested bogus folders + back button 2023-11-11 14:53:08 +02:00
Cohee cb1e254cb9 Add tags as folders display mode 2023-11-10 21:56:25 +02:00
RossAscends 024581de84 dont gaslight user to click zenSlider numbers 2023-11-10 16:31:47 +09:00
RossAscends dfb8a85eed let loose the Mad Labs 2023-11-10 16:17:38 +09:00
RossAscends 0a409c8c54 Kobold zenSlider, sampler reordering, HTML cleanup 2023-11-09 18:31:44 +09:00
Cohee 9667b82599 Fix /del command (for real this time) 2023-11-08 23:42:44 +02:00
Cohee aae8707460 Tiny spelling mistake 2023-11-08 23:30:38 +02:00
Cohee bfbdb9f058 Fix /del command 2023-11-08 23:27:03 +02:00
Cohee 6dc5906229 Add ranges to /cut slash command 2023-11-08 23:04:32 +02:00
RossAscends 7a961ca6f6 fix zenslider race condition on F5 value loading 2023-11-06 17:12:47 +09:00
RossAscends 02b25d080f ooba sliders HTML unified, zensliders optimized 2023-11-06 06:42:13 +09:00
RossAscends f1eaa18831 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-06 05:01:17 +09:00
RossAscends 912ea8017f better stepping on ZenSliders amount_gen slider 2023-11-06 05:01:15 +09:00
Cohee c5e13f3f64 Disable zen sliders on first pull 2023-11-05 19:55:53 +02:00
RossAscends 937c5d7e5f Min P for Ooba, fix preset loading for ZenSliders 2023-11-05 23:08:06 +09:00
RossAscends 1c35ff4f3d WIP ZenSliders (ooba only) 2023-11-05 05:47:53 +09:00
Cohee 4524f6dbfd Skill issue 2023-10-27 21:09:53 +03:00
Cohee 52ecad1cdf Rework single-line mode, add section for Context Formatting settings 2023-10-27 21:02:03 +03:00
Cohee 0ad96b6567 Improve context slider sanity 2023-10-27 13:22:46 +03:00
Cohee 410599b287 Fix unlocked context sliders sanity 2023-10-27 02:01:09 +03:00
Cohee 22cebe3176 Fix settings loading 2023-10-26 15:01:31 +03:00
RossAscends d50124e937 appwide slider overhaul 2023-10-26 13:20:47 +09:00
RossAscends 731ebc2eda add toggle for mobile gestures 2023-10-23 10:54:17 +09:00
Cohee f9cb6d783e
Merge pull request #1263 from bdashore3/preset-expansion
Preset setting expansion
2023-10-22 14:01:06 +03:00
Cohee b4e29bf157 #1272 Optimize performance of context buttons visibility switch 2023-10-21 15:41:27 +03: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 e4cb916dff Example messages behavior to 3-state selector 2023-10-20 20:09:31 +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 5d1fff3df6 Don't add a newline at the end of empty story string 2023-10-18 11:44:45 +03:00
RossAscends 19ff0fd618 clean up draggables, gallery, and close buttons 2023-10-14 00:29:41 +09:00
ThisIsPIRI 3eb8f56b00 Add option to use the old embedded WI toast 2023-10-11 00:08:08 +09:00
RossAscends 96ddd5f4e5 draggable popout for Summary 2023-10-10 04:49:35 +09: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 977421edb7 Add comment 2023-09-28 21:33:03 +03:00
Cohee f0b48aabff #1194 Fix chat width misbehaving in Firefox 2023-09-28 21:30:41 +03:00
RossAscends a25cb024fe allow blur/shadow sliders to re-enable. 2023-09-23 11:56:24 +09:00
Cohee ec6b6ab8d4 Restyle custom CSS input 2023-09-22 21:49:30 +03:00
Randall Fitzgerald 654a34f932
Added custom CSS box to UI Theme settings (#1166)
* Added custom CSS box to UI Theme settings

* Update index.html

Merged against release instead of staging. Whoops.

* Added an import stripper regex so that imports will be removed and show a toastr to inform the user.

* Moved import remove code to applyCustomCSS. Updated localStorage. Not re-running saveSettingsDebounced()
2023-09-22 21:13:58 +03:00
Cohee 3d1312c13a Restyle chat width slider 2023-09-22 16:56:01 +03:00
RossAscends 54c37e945b fix themes application, refactor user settings 2023-09-22 22:16:24 +09:00
RossAscends b1ab1451ec separate chat and menu background color selection 2023-09-22 16:54:51 +09:00
Cohee ae4a9a7b14 Remove legacy chat lazy load 2023-09-21 22:07:56 +03:00
Cohee 6ae1b7a72b Filter out "undefined" stopping strings 2023-09-21 22:02:51 +03:00
RossAscends 124658a006 Add Border Color Control 2023-09-16 15:42:26 +09:00
Cohee d34f7d3e1a Replace multigen with auto-continue 2023-09-15 21:34:41 +03:00
Cohee 17a5d629ea Auto-set hotswap slot number based on the screen width. 2023-09-14 15:56:01 +03:00