Commit Graph

276 Commits

Author SHA1 Message Date
Cohee 6cc73c2a0b Add instruct last system sequence 2024-04-04 22:27:08 +03:00
Cohee 54a6f4bc62 Add speed control 2024-04-02 22:52:51 +03:00
Cohee 51b3b8bfaa Add smooth streaming 2024-04-02 14:56:15 +03:00
Wolfsblvt 1ff40f0af4 Merge remote-tracking branch 'upstream/staging' into improve-bulk-edit-and-fixes 2024-03-30 19:03:03 +01:00
Wolfsblvt 80f4bd4d9e Global refactor of printCharacter and filter print
- (!) Refactor character list and filter redrawing to one global debounce
- Refactor all places where character list and filters where redrawn to the correct usage (hope I didn't miss any)
- Automatically redraw character list on each tag bulk edit
- Fix tags not being sorted in bulk edit mutual tags list
- Refactor bulk tag edit class to actually be an instance object
- Remember scroll position on character list redraw - unless it's a full refresh
2024-03-30 03:06:40 +01:00
Cohee 310acfe810 Use new instruct sequences in prompt formatting 2024-03-28 00:52:20 +02:00
Cohee 8b7b32a141 (WIP) Add new instruct mode sequences. Deprecates separator sequence.
1. Separate suffixes for all roles
2. System message sequences
3. User alignment message
2024-03-27 23:40:10 +02:00
Cohee 4e7cd6d63b Set active character for /random 2024-03-26 18:30:12 +02:00
Cohee abb8bdbc1e Extract API endpoint for moving UI 2024-03-20 01:07:28 +02:00
Cohee 41528d0423 Add ability to delete UI themes 2024-03-20 00:14:32 +02:00
Cohee 5b7b06aba8 Make logprobs draggable, fix conflicts between moving UI and maximization, fix z-fighting 2024-03-19 01:40:02 +02:00
Cohee 7f909b99f9 Merge branch 'staging' into tags-as-folders-enhancements 2024-03-17 14:09:24 +02:00
Cohee dc74f546d5
Merge pull request #1875 from kalomaze/cubic-curve
smoothing_curve UI support
2024-03-17 02:20:51 +02:00
Cohee 77784585ba Merge branch 'staging' into tags-as-folders-enhancements 2024-03-16 22:32:01 +02:00
Cohee 54d5e269d5 Add type check 2024-03-15 00:22:10 +02:00
Cohee 60ea9df55e Allow imports in custom CSS. Confirm import usage on theme adding. 2024-03-15 00:20:46 +02:00
Cohee 7ad2473f99 Add char.card Jailbreak support for Text Completion APIs 2024-03-12 23:22:29 +02:00
Cohee c69b8137d7 Reduced motion disables background transition 2024-03-10 00:55:34 +02:00
Wolfsblvt 8e184254c8 Merge branch 'staging' into tags-as-folders-enhancements 2024-03-06 01:07:22 +01:00
RossAscends 77791ae3e9 revamp creator note & spoiler hide/show 2024-03-03 18:55:16 +09:00
Wolfsblvt 25a0ea0cb6 Tag Folders: tag filters indicator and show settings
- Add an indicator if any tag filters are applied, so you can see if there are any filters even if the list is collapsed
- Save collapse state of the tag list
- Fix folders vanishing if tag filters are applied (now really)
2024-03-03 02:12:17 +01:00
Cohee b716dfbc0d
Merge pull request #1874 from deciare/underline-text-format
Support underlined text formatting
2024-03-01 17:49:14 +02:00
kalomaze 45776de1d5 Smoothing curve support for ooba 2024-03-01 00:06:34 -06:00
Deciare d554edc023 Support underlined text formatting.
- Enable the `underline` option for Showdown.
- Implement option for underlined text colour.
- Update stylesheet.
2024-03-01 00:35:27 -05:00
gabriel dhimoila 76669ff8bb add max_tokens_second 2024-02-29 00:55:25 +01:00
Cohee e3102bb26f #1823 Add -1 as min value for top k 2024-02-14 01:45:07 +02:00
kingbri 6e10c43c63 Zen Sliders: Add off values for dynatemp and smoothing factor
Off for dynatemp is 1.0, smoothing factor is 0.0

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-11 01:32:32 -05:00
Cohee cbea5bf996 UI Theme import/export 2024-02-10 23:12:16 +02:00
Alexander Abushady 30213c8430 Merge remote-tracking branch 'upstream/staging' into quad-sample 2024-02-01 22:27:38 -05:00
Cohee a746077a1e Sort personas by name. 2024-02-02 04:07:51 +02:00
RossAscends 7618133d6d unrestricted amount_gen for madlab mode 2024-02-01 15:24:35 +09:00
Alexander Abushady da68d35ca5 Remove Noisy Sampling
Leaves DynaTemp Exponent and Quadratic Sampling.
2024-01-30 21:50:50 -05:00
Alexander Abushady 766cd49953 Merge remote-tracking branch 'upstream/staging' into quad-sample 2024-01-30 21:20:37 -05:00
Cohee 4542c66664 #1761 Persona management overhaul 2024-01-30 19:12:56 +02:00
Alexander Abushady 92aae0da04 Enter the Kalo Zone 2024-01-28 15:14:21 -05:00
Cohee 1647e5ae49
Merge pull request #1734 from khanonnie/alternative-tokens
Implement Token Probabilities UI panel using logprobs
2024-01-26 03:39:25 +02:00
khanon 60044c18a4 Implement Token Probabilities UI using logprobs 2024-01-25 18:34:46 -06:00
Cohee 4823bcf4ff Add option to forbid external images 2024-01-24 15:47:54 +02:00
Alexander Abushady b334acec23 DynaTemp UI v3
Backend bros won't play along now we gotta make them hold hands.
2024-01-08 22:20:27 -05:00
Cohee 2bea90a264
Merge pull request #1633 from AAbushady/new-dynatemp-ui
DynaTemp UI v2
2024-01-06 00:33:25 +02:00
Alexander Abushady 224dcc83a1 Update DynaTemp Sliders
More inline with changes made that will be implemented in KCPP main.
2024-01-05 14:36:39 -05:00
Cohee e1deff67fc Migrate auto-connect and auto-load from localStorage 2024-01-05 20:27:19 +02:00
Alexander Abushady d66be24518 DynaTemp UI v2
With DynaTemp moving into main KCPP now ST can have DynaTemp too!
2024-01-05 02:08:44 -05:00
Cohee 99dc3fb6fe Unhide aphro multiswipe in zen sliders 2024-01-04 04:52:42 +02:00
Cohee 8a07edf656 Only remove leading newlines 2024-01-04 00:00:47 +02:00
Cohee 5ca909ab13 Don't trim whitespace start of story string 2024-01-03 23:47:32 +02:00
Cohee dd661cf879 Instruct "Bind to context" is now an option 2023-12-21 15:12:30 +02:00
Cohee edd737e8bd #371 Add llama.cpp inference server support 2023-12-18 22:38:28 +02:00
Cohee 6774ec3eb9 Add a separate button to update current UI theme 2023-12-16 01:45:48 +02:00
Cohee 9b9026b12e Add toggle for compact input area (mobile) 2023-12-16 01:35:28 +02:00
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