Commit Graph

171 Commits

Author SHA1 Message Date
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
Cohee
688551ffa6 #1128 Auto-Expand Message Actions 2023-09-14 15:23:51 +03:00
Cohee
d81c94de0b Fix sort by date 2023-09-10 14:30:29 +03:00
Cohee
ea01247bcf #1090 Save Kobold/ooba servers history 2023-09-08 22:44:06 +03:00
Cohee
322511caa9 Remove legacy Pygmalion formatting, part 2 2023-09-06 14:19:29 +03:00
Cohee
4f1130260c Backend for sorting by create date field 2023-08-31 19:30:56 +03:00
Cohee
019c47adc6 #1068 Display token counts on generated messages 2023-08-31 17:10:01 +03:00
Cohee
05f3a5d8a1 #1041 Auto-fix displayed markdown for unbalanced quotes/asterisks 2023-08-31 14:39:31 +03:00
Cohee
10148167ba Option to disable group impersonation ban. Hide CFG for simple UI 2023-08-30 16:31:53 +03:00
Cohee
44f88c61ff Add simplified UI switch 2023-08-29 18:04:10 +03:00
Cohee
1bb2778f46 Fix macros replacement in custom stop strings for OAI 2023-08-29 00:47:35 +03:00
Cohee
9ce8aa661f Deprecate "After Char" position for persona description 2023-08-29 00:10:18 +03:00
Cohee
3b4e6f0b78 Add debug functions menu 2023-08-27 23:20:43 +03:00
Cohee
0844374de5 Remove old GPT-2 tokenizer. Redirect to tiktoken's tokenizer 2023-08-27 22:14:39 +03:00
Cohee
9d166db4ee Set rep pen range unlocked for bigger max context 2023-08-26 21:27:37 +03:00
Stefan Daniel Schwarz
3509e6b1d4 default context preset cannot be deleted 2023-08-26 14:52:23 +02:00
Stefan Daniel Schwarz
1d7165c047 context template preset manager 2023-08-26 12:09:47 +02:00
Cohee
bca44ba682 Conserve ending newlines in story string template 2023-08-26 01:32:39 +03:00
Cohee
fabba9370b
Merge pull request #1017 from StefanDanielSchwarz/improved-instruct-mode-sequences
improved instruct mode sequences and UI
2023-08-26 01:03:38 +03:00
Cohee
42e6da4a36 Add support of stop strings to OpenAI / Claude 2023-08-26 00:12:11 +03:00
Stefan Daniel Schwarz
3e0ce12b23 first_output_sequence and system_sequence_prefix 2023-08-25 22:34:08 +02:00
Stefan Daniel Schwarz
ca37ac679e Improved Advanced Formatting UI 2023-08-25 21:04:06 +02:00
Stefan Daniel Schwarz
be3ebcda0d improved instruct mode sequences (WIP) 2023-08-25 14:01:25 +02:00
RossAscends
ce5e706fac topbar resize, font scaling fix, mobile slider fix 2023-08-25 07:06:52 +09:00
Cohee
f5fd15ffd2 #976 Return "Continue on send". Allow continuing the first chat message. Add debug function for i18n. 2023-08-24 15:13:04 +03:00
Cohee
e2507e8840 #976 Add "quick continue" button. Remove "send to continue" option. 2023-08-24 01:37:44 +03:00
Cohee
17925423ae
Merge pull request #999 from StefanDanielSchwarz/roleplay-context
Return of the Roleplay Context
2023-08-24 00:29:05 +03:00
Stefan Daniel Schwarz
7cafa5d374 improved preset selection logic 2023-08-23 22:22:52 +02:00
Stefan Daniel Schwarz
8938ea1d72 auto select presets 2023-08-23 20:17:45 +02:00
Cohee
bc5fc67906 Put tokenizer functions to a separate file. Cache local models token counts 2023-08-23 02:38:43 +03:00
Cohee
9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
Cohee
e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee
2615eb8532 Extract system message templates to template files 2023-08-22 10:37:18 +03:00
Cohee
92686d4ba8 Optimize WI editor header. Add entries search 2023-08-22 01:51:31 +03:00
Cohee
897ad28477 Apply preset manager for instruct presets 2023-08-21 00:56:53 +03:00
Cohee
6738ffe2a4 Add auto-select for instruct presets. Re-organize instruct mode code. Prepare for preset manager integration 2023-08-20 23:29:43 +03:00
based
e0de442523 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into qolfeatures 2023-08-20 03:22:54 +10:00
Cohee1207
06c7b8d7d6 [WIP] Add UI for auto-select instruct 2023-08-19 20:18:39 +03:00
based
0d694dcc32 Added power user option to remove examples 2023-08-20 02:25:07 +10:00
Cohee
53dab00abe
Merge pull request #969 from StefanDanielSchwarz/end-prompt-with-newline
End Prompt with Newline
2023-08-19 18:04:01 +03:00
Cohee1207
6471ce2074 Clean-up uploads folder when possible 2023-08-19 17:43:56 +03:00
Cohee1207
991ff98eaa Performance optimizations for character edit / chat opening 2023-08-19 15:58:17 +03:00
SDS
49c6676f72
End Prompt with Newline
This change adds a trailing newline to the instruct mode prompt when "Wrap Sequences with Newline" is on and "Include Names" is off. (When "Include Names" is on, "Wrap Sequences with Newline" is already applied before.)
2023-08-19 13:54:09 +02:00
Cohee
3acd0a590e
Merge pull request #966 from StefanDanielSchwarz/simple-proxy-for-tavern-replacement
Simple proxy for tavern replacement
2023-08-19 14:35:43 +03:00
Stefan Daniel Schwarz
5e9980ea08 no space after name 2023-08-19 12:35:52 +02:00
Cohee
f27107e0ef Refactor and optimize group members display 2023-08-19 02:53:05 +03:00
Cohee
602c5cd791 Add pagination for characters list view 2023-08-18 23:13:15 +03:00
Stefan Daniel Schwarz
26e2b0c8fa Fix whitespace issues 2023-08-18 21:18:54 +02:00
Cohee
02cac8db8c Disable escaping of HTML/tags in templates 2023-08-18 13:53:54 +03:00
Cohee
c24f636a10 Add Last output sequence setting for instruct mode 2023-08-17 23:33:27 +03:00
Cohee
80092b3170 #790 Simplify local prompt formatting. Use handlebars to render story string. 2023-08-17 22:47:34 +03:00
Cohee
fa35e1185e Merge branch 'release' into staging 2023-08-15 21:51:08 +03:00
Cohee
8470acda41 Add English language option 2023-08-15 21:47:49 +03:00
Cohee
eb81c4807a Add UI locale selector 2023-08-15 21:37:56 +03:00
Cohee
869478627d Add UI locale selector 2023-08-15 21:32:17 +03:00
Cohee
15db16ee8d Fuzzy search for groups 2023-08-14 17:35:48 +03:00