Commit Graph

4251 Commits

Author SHA1 Message Date
Wolfsblvt a251849f8f WI import checking for existing worlds too
- WI import uses the same check as create new world
- API endpoint to get server-side sanitized filenames
- Small changes to toast messages
2024-05-22 21:11:39 +02:00
kokansei 75a1ef4304
Add DRY Samplers to ST Staging (#2211)
* Add files via upload

* Add files via upload

* Delete public/index.html

* Add files via upload

* Delete public/scripts/textgen-settings.js

* Add files via upload

* Delete public/scripts/power-user.js

* Add files via upload

* Delete public/scripts/power-user.js

* Add files via upload

* Update power-user.js

* Update index.html

* Fix control attribution

* Fix app loading

* Put sequence breakers under DRY block

* DRY for DRY

* Update public/index.html

Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>

* Merge fix

* Add llamacpp control. Add default value for sequence breakers

* Forgot reset

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>
2024-05-22 20:46:52 +03:00
Wolfsblvt 29d817d549 Implement failsafe for world creation with same name
- Fixes #2297
- Added another utils function for string comparison
2024-05-22 18:19:01 +02:00
LenAnderson 6b66bc41fe Merge branch 'staging' into fix-var-behavior 2024-05-22 10:22:54 -04:00
LenAnderson 46cd47bdfc fix /var behavior 2024-05-22 10:21:49 -04:00
Cohee 5e970c8a51 Only refresh settings on extras connected if current SD source is extras 2024-05-22 16:14:42 +03:00
Cohee bce8627644 [chore] Replace tabs with spaces 2024-05-22 16:12:09 +03:00
steve green 3dd4f2b94a
Always make sure that the delete ****** available 2024-05-22 19:23:51 +08:00
Gabraham a9c3a808ac Merge remote-tracking branch 'upstream/staging' into Gabraham/Markdown-Single-Space-Indent 2024-05-22 04:03:33 -04:00
Gabraham d5533854cc Merge branch 'staging' into Gabraham/Markdown-Single-Space-Indent 2024-05-22 00:57:08 -04:00
kingbri 74b6ed97c2 Textgen: Add repetition decay for TabbyAPI
Repetition decay softens the drop off for repetition penalty. It's
best paired with rep pen range.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-22 00:09:10 -04:00
kingbri 99d143263d Textgen: Add skew sampling
Adds the option from skew sampling from exllamaV2

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-21 23:48:33 -04:00
kingbri a12df762a0 Textgen: Add speculative_ngram for TabbyAPI
Speculative ngram allows for a different method of speculative
decoding. Using a draft model is still preferred.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-21 23:37:36 -04:00
Cohee f5fccc0387 Add Azure TTS service 2024-05-22 01:37:51 +03:00
Cohee 0371bf4e9f Revoke 1-time object URLs 2024-05-22 01:36:38 +03:00
Cohee f56fecaa26 Merge branch 'staging' into pm-l10n 2024-05-21 20:56:26 +03:00
Cohee 255cd1310d
Merge pull request #2281 from PasserDreamer/staging
Image Generation extension add i18n support.
2024-05-21 20:53:43 +03:00
Cohee 319b0a543c Enable markdown strikethough 2024-05-21 16:58:42 +03:00
Cohee e0ac189acc #2290 Allow square brackets and underline in SD prompts 2024-05-21 16:51:11 +03:00
Yokayo 2c69d77fae
Merge branch 'staging' into staging 2024-05-21 20:42:08 +07:00
Cohee f24aa1fa5f Hide inline image quality control for unsupported sources 2024-05-21 16:24:58 +03:00
Cohee 86af5ac217 Cut gemini prompt hint 2024-05-21 16:22:33 +03:00
Cohee bac00659ef Add RisuRealm import example 2024-05-21 15:58:00 +03:00
Cohee b1c9fee29e #2188 Make first message not required 2024-05-21 15:46:41 +03:00
Cohee 226852233f Clean-up SD message sending 2024-05-21 15:03:57 +03:00
Cohee 630b72f13a #2290 Allow curly braces in SD prompts.
+remove unused code
2024-05-21 14:28:47 +03:00
Cohee c21deb3a8c #2289 Fix message translation on edit 2024-05-21 14:23:18 +03:00
Yokayo 0275f2ec15 Redo localizable strings 2024-05-21 17:53:05 +07:00
Yokayo d2ce1e17b3 Wait this was not supposed to happen 2024-05-21 17:49:44 +07:00
Yokayo 7efe9cf209 More localizable strings 2024-05-21 17:40:14 +07:00
Yokayo 5c243fa465 Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-05-21 17:14:36 +07:00
Yokayo 456e1124a3 Revert "Remove prompt manager changes"
This reverts commit a8c9fe4dce.

Move HTML pieces to templates
2024-05-21 17:06:42 +07:00
RossAscends 9b1a254553 scale MUI on window resize 2024-05-21 13:55:00 +09:00
RossAscends 56d0ffc1fd fix MovingUI infinite loop on resize to Y edge 2024-05-21 09:55:56 +09:00
Cohee 3dc4c8ca39 #2284 Persona description in-chat-at-depth 2024-05-21 01:57:04 +03:00
RossAscends 09a575b783 remove debug css on .draggable 2024-05-21 07:50:24 +09:00
Cohee 3cd3890263 #2286 Fix SD interactive mode loose trigger 2024-05-21 01:11:40 +03:00
Cohee 435821348a Allow setting unnamed persona names with a tick button 2024-05-21 00:40:12 +03:00
Cohee 03bb911ee7 Fix persona sorting on load 2024-05-21 00:22:56 +03:00
Cohee 549b2d52a4 Remove unnecessary DOM query 2024-05-20 21:58:45 +03:00
Cohee ad3f677a9e Format fix 2024-05-20 21:57:02 +03:00
Cohee 0d68473010 Fix client version display on welcome message 2024-05-20 21:50:57 +03:00
Cohee 6ed7729b18 Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into ru-l10n 2024-05-20 21:45:18 +03:00
Cohee 0c36d4e67d Merge branch 'staging' into ru-l10n 2024-05-20 21:45:02 +03:00
Yokayo d6a02e3c47 Translated a bit more 2024-05-21 01:16:20 +07:00
Yokayo a8c9fe4dce Remove prompt manager changes 2024-05-21 00:54:46 +07:00
PasserDreamer b4dc66f950
Merge pull request #4 from SillyTavern/staging
Staging
2024-05-20 19:32:28 +08:00
PasserDreamer b6cb08101b update zh-tw 2024-05-20 19:02:29 +08:00
PasserDreamer c10323424d Update Image Generation 2024-05-20 18:49:33 +08:00
Cohee df2710bcbe Transform WI haystack after regex matching 2024-05-20 13:44:12 +03:00
PasserDreamer 5506c81397 update Image Generation locale. 2024-05-20 18:15:16 +08:00
PasserDreamer 27e3a9201e Update zh-tw 2024-05-20 13:58:56 +08:00
RossAscends 863e0c3643 fix power_user.movingUIState not saving properly 2024-05-20 12:56:48 +09:00
RossAscends 8d2b7a15dc don't hide close button on unzoomified avatars 2024-05-20 12:23:54 +09:00
RossAscends 67381cf493 fix zoomedAvatar resize and movement 2024-05-20 12:18:30 +09:00
Cohee 86f54dccdc
Merge pull request #1930 from X-T-E-R/release
Adapting a TTS API for the GSVI (GPT-SoVits Inference) Project
2024-05-20 01:05:05 +03:00
Cohee edf981a5a1 Don't convert markdown to plaintext 2024-05-20 00:48:23 +03:00
LenAnderson 8b776491e8 fix endOfText
current char must be whitespace as well
2024-05-19 15:52:30 -04:00
Cohee 5f79579a4d Fix selector? 2024-05-19 22:33:16 +03:00
Cohee 82f56da16b Hide script buttons on old Safari 2024-05-19 22:25:41 +03:00
Cohee bc2035d362 Don't use autocomplete on old Safari 2024-05-19 22:22:32 +03:00
Cohee 41f25edb15 Workaround for old Safari 2024-05-19 22:16:14 +03:00
Cohee cf28d6653c Import characters from RisuRealm by URL 2024-05-19 20:19:20 +03:00
Cohee 1eca18f287 Merge branch 'staging' into ru-l10n 2024-05-19 19:48:38 +03:00
Yokayo 6671c9aa80 Move dynamic html to templates 2024-05-19 21:49:43 +07:00
Cohee a17588fb1b Fix smooth streaming not working with multiswipe 2024-05-19 16:41:55 +03:00
Cohee dd06fddd17 #2267 Fix multiswipe mutating the array returning by the streaming provider 2024-05-19 16:38:18 +03:00
Cohee e9c5618b10 Force generate unlock on wrapped API error 2024-05-19 16:25:22 +03:00
Cohee b32330df0f
Merge pull request #2270 from LenAnderson/more-subcommand-shenanigans
More subcommand shenanigans
2024-05-19 15:47:55 +03:00
LenAnderson 3bd2edf4d2 move silencing of loud /aborts into execute function when handled 2024-05-19 07:34:09 -04:00
Cohee ee913be46b
Merge pull request #2266 from sasha0552/vllm-fixes
vLLM fixes
2024-05-19 14:23:07 +03:00
LenAnderson 4f5813a6ce fix /if subcommand strings 2024-05-19 06:40:08 -04:00
LenAnderson 4a25821aba remove todo 2024-05-19 06:38:59 -04:00
LenAnderson c049ff82cd fix typehint 2024-05-19 06:31:58 -04:00
LenAnderson 64ee2d77b8 fix switch to play button when script paused 2024-05-19 06:27:27 -04:00
LenAnderson ce4106eb3d fix typehint 2024-05-19 06:27:09 -04:00
LenAnderson 974d27ce26 use root AbortController in /if subcommands 2024-05-19 06:26:16 -04:00
LenAnderson dfe482b37b fix /abort toast and loop break in /times 2024-05-19 06:25:19 -04:00
LenAnderson 1f18694aa6 fix /abort toasts in /while 2024-05-19 06:25:00 -04:00
LenAnderson 89de668241 fix typehints for while unnamed arg / command 2024-05-19 06:24:32 -04:00
LenAnderson 963e525e07 fix typehints 2024-05-19 06:23:34 -04:00
LenAnderson 94ee7167e0 unescape macros inside unnamed arg arrays 2024-05-19 06:23:19 -04:00
Cohee 48c075fb42 #2268 Fix while command 2024-05-19 12:19:08 +03:00
Cohee 581e5f1f04 Fix app init 2024-05-19 11:52:49 +03:00
RossAscends c7232ae23c WIP textgen API custom sampler display 2024-05-19 15:06:29 +09:00
sasha0552 01912f5b3e
Fix typo 2024-05-19 04:36:36 +00:00
sasha0552 db5e2d95c2
vLLM fixes
* Enable seed field for vLLM

* Enable beam search for vLLM

* Set the default length penalty to 1
(There is validation error from vLLM when beam search is disabled and the value is not equal to 1)
2024-05-19 04:34:11 +00:00
LenAnderson 70a35e9b49 Merge branch 'staging' into parser-post-stuff 2024-05-18 14:51:06 -04:00
LenAnderson bc4a8fbe1d fix qr editor height on narrow 2024-05-18 14:49:33 -04:00
LenAnderson d77a70b25a fix type hints 2024-05-18 14:49:02 -04:00
LenAnderson e49317a73c fix empty unnamed arg assignment start 2024-05-18 14:48:50 -04:00
LenAnderson 87cc28ae28 subcommand and /abort fixes
- use AbortController in /abort instead of execption
- allow quiet abort
- allow loud abort
- allow abort reason
- abort when aborted in subcommand
- break out of loops when aborted inside
- fix parsing of subcommands with multiple commands
2024-05-18 14:48:31 -04:00
Cohee 699d640845 Clean-up labels 2024-05-18 20:03:02 +03:00
Cohee 93c3e9e1dd Merge branch 'staging' into X-T-E-R/release 2024-05-18 19:52:33 +03:00
Cohee b93131ec7a Lint fix 2024-05-18 18:58:25 +03:00
Cohee 4219468e20
Merge pull request #2264 from racinmat/staging
fix: correct usage of fuzzy search in emotion detection by LLM
2024-05-18 18:57:34 +03:00
Cohee 4227968dfa Allow using JSON schema with llamacpp server 2024-05-18 18:50:48 +03:00
Matěj Račinský bd1bfee941 fix: correct usage of fuzzy search 2024-05-18 17:05:55 +02:00
Cohee 0b3c49da90 Allow bulk edit menu to wrap 2024-05-18 17:59:59 +03:00
Cohee c3d6e10795 Fix error on creating new tags 2024-05-18 17:55:22 +03:00
Cohee 1eae9bd18b Draw updated tags immediately 2024-05-18 17:51:42 +03:00
Cohee 99e24f5588 Fix group tags opacity 2024-05-18 17:51:10 +03:00
Cohee 38e2bf955c Merge branch 'staging' into tag-slash-commands 2024-05-18 17:27:04 +03:00
Cohee 0653dad5c5 Show tags when auto-loading a character 2024-05-18 17:05:46 +03:00
Cohee 51af830db8 Only auto-select preset on full name match 2024-05-18 16:46:41 +03:00
Cohee 2bde9d2b15 Merge branch 'staging' into tag-slash-commands 2024-05-18 16:42:25 +03:00
Cohee d9f9da99e6 Silent /abort 2024-05-18 15:41:02 +03:00
Cohee 64b0123acf
Merge pull request #2263 from PasserDreamer/staging
Fix some typo and add zh-tw locale.
2024-05-18 14:48:47 +03:00
Cohee 35d853b851 Normalize "Default" and "Match Whole Words" data-i18n 2024-05-18 14:43:06 +03:00
Cohee 1966baad84 Fix invalid JSON format 2024-05-18 14:39:04 +03:00
Cohee a398566b33 [BUG]In the lorebooks management panel, when in the Custom sorting mode, entries may be incorrectly placed above the table header. #2262 2024-05-18 13:27:22 +03:00
PasserDreamer 9f2c473040
Add files via upload
Add zh-TW locale.
2024-05-18 17:23:54 +08:00
PasserDreamer a73db4984a
Merge pull request #3 from PasserDreamer/patch-3
Update mediawiki-scrape.html
2024-05-18 17:21:45 +08:00
PasserDreamer 3498eb92bb
Merge pull request #2 from PasserDreamer/patch-1
Update fandom-scrape.html
2024-05-18 17:17:25 +08:00
PasserDreamer 2aeffe4095
Update mediawiki-scrape.html
fix typo
2024-05-18 15:58:32 +08:00
PasserDreamer c4fe9749d5
Update index.html
Correct typos and standardize the capitalization of repeated terms.
2024-05-18 15:52:42 +08:00
PasserDreamer a0512585b1
Update fandom-scrape.html
fix missing qoutes.
2024-05-18 15:34:05 +08:00
Cohee c52bdb9a4a Use new command names in examples 2024-05-17 20:59:00 +03:00
Cohee bbd9c89357 Add aliases for group member commands 2024-05-17 20:57:03 +03:00
Cohee fb2190ace1 #2254 Don't suppress abort in subcommands 2024-05-17 18:21:13 +03:00
Cohee deb09bf5bf Fix console errors on not found command autocomplete 2024-05-17 17:47:40 +03:00
Cohee d951beb626 #2260 Handle window resize in script editor 2024-05-17 17:47:18 +03:00
Cohee 748dd5f2e6 Remove duplicate command registration 2024-05-17 15:04:53 +03:00
Cohee 75de4c8fcb Resolve boolean fields to constant values when searching WI entries with command 2024-05-17 14:32:57 +03:00
Succubyss c822b9e2da Implements Assistant Impersonation Prefill 2024-05-16 21:59:58 -05:00
Cohee 782f85e05d
Merge pull request #2233 from Bronya-Rand/staging
feat: add default tip to welcome screen
2024-05-17 02:07:01 +03:00
Wolfsblvt 96a9f7108c Add slash commands for tag management 2024-05-17 01:01:51 +02:00
Bronya-Rand 9475147435 chore: adjustments to the bundle notice and update spanish locale 2024-05-16 17:45:42 -05:00
Cohee 909ec4191d Allow JS syntax in instruct activation regex 2024-05-17 01:14:07 +03:00
Cohee 59d00cca74 Allow multiple import of regex 2024-05-17 01:06:00 +03:00
Cohee 71a3e2c91b Don't modify response length when changing mancer model 2024-05-17 00:19:43 +03:00
Cohee 719202ba12
Merge pull request #2200 from Wolfsblvt/wi-regex-keys
WI regex keys
2024-05-17 00:06:07 +03:00
Cohee 8ae4332110 Fix secondary key expansion 2024-05-17 00:03:41 +03:00
Cohee 964f53273c Emit event after edited message is updated 2024-05-16 23:13:11 +03:00
Cohee 9e10022014 I want my 5px back... 2024-05-16 23:11:59 +03:00
Cohee 2eaabe13e3 Merge branch 'staging' into wi-regex-keys 2024-05-16 22:18:32 +03:00
steve green 3389b5dd16
allow custom source url (#2255)
* Update script.js to allow custom source url

* type hint fix

* fixes
2024-05-16 22:16:57 +03:00
Cohee e026ddf6be
Merge pull request #2246 from Wolfsblvt/tag-folders-folder-filter
Tag folders folder filter
2024-05-16 22:08:28 +03:00
Cohee 517da9f972 TTS Rate: fix settings load. Hide when System source. 2024-05-16 09:35:48 +03:00
Vincent Castellano 1b23a62c13 Added TTS Audio Playback Speed Config 2024-05-15 23:16:25 -07:00
Wolfsblvt 97de520f9a Fix switchy button to top-right 2024-05-16 00:25:11 +02:00
Wolfsblvt a6333f3285 Sort tag folder inline avatars too 2024-05-16 00:05:03 +02:00
Cohee 012f70336f Prevent header from jumping a few pixels when switching from list to character view 2024-05-16 01:02:22 +03:00
Cohee 7fbed26c26 #2245 Fix custom group avatar display 2024-05-16 00:49:26 +03:00
Wolfsblvt a94af2678b Re-enable autofit height on plaintext key input 2024-05-15 23:47:48 +02:00
Cohee eb57289b2a Non-Chromium browsers require padding to wrap around 2024-05-16 00:38:32 +03:00
Wolfsblvt 068b542c50 Tag folders "onboarding" icon (: 2024-05-15 23:37:18 +02:00
Cohee 912fd36e29 Set proper height of fancypants button instead of 100% 2024-05-16 00:32:58 +03:00
Cohee b7a91770dc Set line height for select2 search textarea
Prevent height from jumping around when input is focused
2024-05-16 00:28:35 +03:00
Cohee f0af503b4a Transition to full opacity on hover 2024-05-16 00:22:09 +03:00