Commit Graph

3109 Commits

Author SHA1 Message Date
Cohee 7af27bb6a9 Remove schedulers from SD.Next 2024-05-30 22:42:21 +03:00
Cohee 886f5adce7 Add /db-enable and /db-disable commands 2024-05-30 22:18:00 +03:00
Cohee 62eb790b0b Add /translate command 2024-05-30 22:03:51 +03:00
Cohee e660ec1f14 Remove stray newlines from WI/AN entries 2024-05-30 21:23:13 +03:00
Cohee 6228d1d3b1 Add schedulers selection for AUTO1111 2024-05-30 21:04:22 +03:00
Cohee 716366070b Clamp /db-search threshold arg 2024-05-30 17:15:17 +03:00
Cohee 43f52d5436 Add /yt-script command 2024-05-30 17:01:00 +03:00
Cohee 2c911a3ea2 Add more Data Bank script commands 2024-05-30 14:49:57 +03:00
Vhallo d25ba41fb5
Extending punctuation
Extending punctuation for thoughts.
2024-05-30 01:29:28 +02:00
Cohee 6a832bdf2a Fix summarize command return type 2024-05-30 01:48:27 +03:00
Cohee bc94bcb25c Add data bank management commands 2024-05-30 01:47:33 +03:00
Cohee 9ff2da4c8c Implement sharable SD prefixes 2024-05-30 00:21:27 +03:00
Cohee e007fe7529 Add SD style deletion 2024-05-29 23:44:11 +03:00
Cohee 283bb2fa89 Add SD multimodal prompt toast 2024-05-29 23:38:55 +03:00
Cohee 4eb6657b51 Add SD seed control 2024-05-29 23:29:45 +03:00
Cohee b904f501ba Don't pre-render PM error if empty 2024-05-29 17:23:37 +03:00
Cohee d350dbf0d7 Add Novel decrisper control 2024-05-29 03:00:42 +03:00
Cohee 110d343eea Add upscale amount control to DrawThings 2024-05-29 02:49:13 +03:00
Cohee 2aeaf43c28 Add CLIP skip control for SD 2024-05-29 02:14:08 +03:00
Cohee f27a83ef73 Restrict function calling to non-streaming only 2024-05-29 01:11:40 +03:00
Cohee b833f36c75 Function calling for Groq 2024-05-29 01:10:18 +03:00
Cohee 309eb80748 Function calling for Claude and OpenRouter 2024-05-29 00:56:55 +03:00
Cohee 865c48bcc0 Cohee forgot the ABC 2024-05-28 22:57:07 +03:00
Cohee 2b3dfc5ae2 Add ollama and llamacpp as vector sources 2024-05-28 22:54:50 +03:00
kingbri 4528655bb7 Textgen: Add multiswipe support for TabbyAPI
Tabby now supports batching and the "n" parameter for both non-streaming
and streaming. Add this into SillyTavern.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-28 00:55:57 -04:00
Cohee 965dac6514 #2296 Add data bank bulk edit 2024-05-27 22:22:21 +03:00
Cohee 80e104e723 Don't open click to edit in document mode if text selected 2024-05-27 21:50:42 +03:00
Cohee a6e6677c32 Merge branch 'release' into staging 2024-05-27 19:58:19 +03:00
Cohee 66db820c9e Fix external style declaration filtering 2024-05-27 19:55:55 +03:00
Cohee 62a1919402 Use recursive stylesheet sanitation 2024-05-27 14:28:40 +03:00
Cohee 99e09f0b91 Improve external media removal in style blocks 2024-05-27 14:28:28 +03:00
Cohee 8726def6e0 Use recursive stylesheet sanitation 2024-05-27 14:26:59 +03:00
Cohee 1bc45d2869 Improve external media removal in style blocks 2024-05-27 13:43:59 +03:00
Cohee 2c049e5611 Remove imports from embedded styles 2024-05-27 13:26:24 +03:00
Cohee 630111c737 Remove imports from embedded styles 2024-05-27 13:25:21 +03:00
PasserDreamer 678a0ee136
Merge branch 'SillyTavern:staging' into staging 2024-05-26 23:19:54 +08:00
steve green 00fc40408a
allow char scpoed regex (#2271)
* Update engine.js to allow char scpoed regex

no ui because i'm not good at it, but works.

* add typedef

* update

* little fix

* Rework scoped scripts UI

* Add locale attributes

* Purge allowance on delete

* add d&d for `saved_scoped_scripts`

* better code

* Save settings on regex scope toggle

* Fix reordering logic

* Fix scoped setter

* Add unique ids for regex scripts

* Wording

* Reload chat after deleting scripts

* Reload chat after toggling scoped regex

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-26 17:19:00 +03:00
Cohee ef137f68c4 Fallback to Fuse if not parsed expression 2024-05-25 17:32:11 +03:00
Cohee cb381595f9 Function calling for Mistral 2024-05-25 17:31:40 +03:00
Cohee b545185f1a Transform LLM emotion response to lower 2024-05-25 17:11:58 +03:00
Cohee fa6fc45e6f Function calling for Cohere 2024-05-25 17:09:47 +03:00
PasserDreamer 1e15be34b6 1. update index.html 18n.
2. update SD extension dropdown menu i18n.
3. update zh-tw.json.
4. add a template.json for translation.
2024-05-25 20:47:24 +08:00
Cohee dc8530049f Reference implementation: Set expressions with function calling 2024-05-25 15:38:32 +03:00
Cohee a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
Cohee 439ef0dc5e #2308 Preserve itemized prompts for branches and checkpoints 2024-05-25 00:07:36 +03:00
Cohee a717e2ace8 Prefer const 2024-05-24 22:25:18 +03:00
Cohee 5c3ad3e0bc Let's make the diff even cleaner! 2024-05-24 22:23:55 +03:00
Cohee 1ed1e18304 Revert async forEach executor 2024-05-24 22:23:04 +03:00
Cohee 0ebac0e2af Pretty print PM exports 2024-05-24 22:15:28 +03:00
Cohee 800c94cb93 Fix for character export HTML 2024-05-24 22:11:36 +03:00
Cohee 2f2a4fca35 Sanitize error text 2024-05-24 22:05:28 +03:00
Cohee d5f6849c8e Fix HTML error 2024-05-24 22:04:00 +03:00
Cohee 61e5c32cd2 Fix make draggable 2024-05-24 22:00:21 +03:00
Cohee 8bcb1ef2db Merge branch 'staging' into pm-i18n 2024-05-24 21:56:34 +03:00
Cohee 0e7eff155d Fix ephemeral injects clean-up 2024-05-24 21:53:29 +03:00
daiaji 66454bb711
Add reverse proxy support to Google MakerSuite to allow some Google MakerSuite URLs to no longer be hardcoded with domain names. (#2307)
* Add reverse proxy support to Google MakerSuite.

* Remove hardcoded URLs for some Google MakerSuite API calls.

* Don't send real key to alt.endpoint

* Fix for image captioning

* Fix key validation

* +fix key check for mistral

* Fix caption key validation

* Fix tokenization endpoint use

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-24 21:38:29 +03:00
Cohee 4d161768c0 New Cohere model 2024-05-24 17:17:21 +03:00
Cohee 967a7980f5 Add vector retrieval score threshold 2024-05-23 17:28:43 +03:00
Yokayo 5450bacf0f Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-05-23 17:17:22 +07:00
Yokayo 97965b2de5 Fix templates 2024-05-23 17:16:16 +07:00
Cohee 039f3b875b Add "ephemeral" option script /inject 2024-05-23 02:34:13 +03:00
Cohee 1f46d334b1
Merge pull request #2302 from Wolfsblvt/world-override-failsafe
Implement failsafe for world creation with same name
2024-05-23 02:11:54 +03:00
Wolfsblvt 92cb70213a Fix no sanitize check on wi create 2024-05-23 00:39:49 +02:00
Wolfsblvt ab8c67ede6 Refactor overwrite check to utility function
- Refactor overwrite check to utility function
- Don't mind me refactoring character delete functions. I tried something, but I think the refactoring still makes sense
2024-05-22 23:52:35 +02:00
Cohee 65c3dfb694 Zen sliders fix 2024-05-22 23:37:51 +03:00
Cohee e8b96fec02 Merge branch 'staging' into new-samplers 2024-05-22 23:26:47 +03:00
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
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 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 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
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 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