Commit Graph

5552 Commits

Author SHA1 Message Date
Wolfsblvt bd52d737bf Fix "hidden" block in char list messing up scroll
- Fixes #2743
2024-09-01 06:21:26 +02:00
RossAscends 174c178485 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-09-01 12:01:55 +09:00
RossAscends 627e44ba49 improve tooltip for Tabby Banned tokens sampler (incl. banned strings help text) 2024-09-01 12:01:52 +09:00
Wolfsblvt b08e55b9f6 WI highlight/log on automatic setting change 2024-08-31 22:20:35 +02:00
Cohee d225c05457 Remove empty line 2024-08-31 20:27:36 +03:00
Cohee ae2d0f04ed Add XTC for koboldcpp 2024-08-31 20:18:51 +03:00
Cohee 4dbed09505 Merge branch 'staging' into feat/xtc 2024-08-31 20:03:46 +03:00
Cohee 367ae81251
Merge pull request #2735 from toastli/patch-1
Change interactive widget to resizes content.
2024-08-31 03:40:54 +03:00
Cohee b9543054d8 Chat Completion: Increase unlocked context size 2024-08-30 21:47:26 +03:00
Cohee f155b83792 Cohere: new cmd-r models 2024-08-30 20:00:42 +03:00
Cohee 1fa9710a5c
Fix bulk delete async hell (#2730)
* Fix bulk delete async hell

* Remove refresh flag (always refresh)

* Don't throw on deletion fetch failed

* Clear toast on bulk finish
2024-08-30 19:52:57 +03:00
Cohee e6021bda1c
Merge pull request #2726 from imesha10/staging
Remove Claude user message filler limit
2024-08-30 01:13:28 +03:00
Cohee 9010880b64 Fix last prompt line not counted toward token limit 2024-08-30 00:00:51 +03:00
Cohee b21ba850c0 Fix not counting chat separator and preamble toward token limit 2024-08-29 23:36:07 +03:00
Cohee 2b904bb170 NovelAI: Adjust Kayra max length on subscription tier 2024-08-29 23:28:23 +03:00
Cohee 9558e14081 Revert bad reformat 2024-08-29 13:04:46 +00:00
Cohee 3746f08590 Add type conversion for /setvar commands with index 2024-08-29 12:55:54 +00:00
toastli 7c418888de
Change interactive widget to resizes content.
Prevents chrome on android from sliding up the entire viewport and instead resizes
2024-08-29 19:47:19 +10:00
Cohee 7aaabbd2bb Personas: fix duplication in Chat Completions 2024-08-28 22:44:26 +03:00
Cohee 07a6e1aa53
Merge pull request #2708 from Yokayo/staging
Update ru-ru translation
2024-08-28 21:23:45 +03:00
Cohee c820d5f56a Reformat code 2024-08-28 21:20:21 +03:00
Cohee e11e7b7d52 Translate message copy 2024-08-28 21:15:20 +03:00
Cohee c3a253baf3 Persona: add None position, fix double insert on In-chat position 2024-08-28 21:08:32 +03:00
M0cho 268aeb0ae5 Support gemini-1.5-exp-0827 2024-08-28 08:24:04 +09:00
Imesha Maldeniya 4525061814
Update index.html - Fixed claude system prompt character limit
Removed the maxlength property for the textarea.
2024-08-27 18:09:52 -04:00
Cohee da96bf3c29 Fix showdown patch registration 2024-08-27 10:50:24 +00:00
Cohee 3da79ebcff Patch showdown for span nesting limit
Closes #2722 #2714
2024-08-27 10:39:45 +00:00
Cohee c45e212b31 Fix negative penalties 2024-08-27 09:19:05 +00:00
Cohee e8de36a0d0 Cohere: limit penalties 2024-08-27 12:03:40 +03:00
Cohee 662e29911c Fix default model when loading preset 2024-08-26 17:34:54 +03:00
Cohee 7d4b3e0800 Use J1.5 Large by default 2024-08-26 12:11:29 +03:00
Cohee 5fc16a2474 New AI21 Jamba + tokenizer 2024-08-26 12:07:36 +03:00
Cohee 8be21fc5c4 Swap RVC function/setting checks 2024-08-26 10:30:17 +03:00
RossAscends 64d3ed4680 Merge branch 'staging' into pr/Cohee1207/2711 2024-08-26 06:48:00 +09:00
Cohee 5d48e081a6 Upscale default avatars 2024-08-25 22:04:08 +03:00
Yokayo 15a6b6100e Fix syntax error 2024-08-26 02:00:52 +07:00
Yokayo c807e9f36c Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2024-08-26 01:42:41 +07:00
Yokayo 383d46fe4d Work on tl 2024-08-26 01:39:56 +07:00
Cohee 398b64d720 Fix codeblock underscores with language 2024-08-25 21:17:59 +03:00
Cohee 60c22bf803 Add config value for extensions auto-update 2024-08-25 19:48:01 +03:00
Cohee 0f5179ed2d Fix crash on Chrome 128 2024-08-25 19:27:18 +03:00
Cohee 61c148a5f0 Save settings after switching style toggle 2024-08-25 15:48:20 +03:00
Cohee f8c631b4aa Migrate legacy avatars enabled setting from localstorage 2024-08-25 15:45:39 +03:00
Cohee 0fd2b8055f Fix typo in hideChatAvatarsEnabled selector 2024-08-25 15:29:14 +03:00
Cohee 87dd120ec0 Move trimToEnd at the end of message clean-up 2024-08-25 14:37:44 +03:00
Cohee e1b7660448
Merge pull request #2707 from AlpinDale/aphrodite-tokenizer
fix: pass model parameter for aphrodite tokenizer
2024-08-25 12:04:05 +03:00
Cohee 06ef515b2f
Merge pull request #2706 from d-ber/saveMoreSettings
Save more settings
2024-08-25 11:59:35 +03:00
AlpinDale 62fed2ff6a fix: pass model parameter for aphrodite tokenizer 2024-08-24 22:43:20 +00:00
Cohee 94d4fcc651 UX: Increase font scale slider range 2024-08-24 22:59:01 +03:00
Cohee 0d88675c46 Remove the rest of local storage settings 2024-08-24 22:53:50 +03:00
Cohee 2a598fb706 Allow /gen with empty prompts 2024-08-24 15:22:50 +03:00
d-ber cf828bca71 Use saved settings for more properties 2024-08-23 23:36:17 +02:00
Cohee 2294fe12e7
Merge pull request #2700 from SillyTavern/fix-mag
Cull the usage of MAG in streaming
2024-08-23 22:43:36 +03:00
honey-tree a276dbdd44
Implements max recursion depth for lorebooks (#2698)
* Include slider for Max Recursion Depth

* Implement Behavior for Max Recursion Depth

* Title message correction

* Disabling min activations when max recursion depth is disabled and vice versa

* Feature renamed to Max Recursion Steps

* Added warnings that min activations and max recursion steps disable each other

* Revert "Added warnings that min activations and max recursion steps disable each other"

This reverts commit 8c7efd09c5.

* Revert "Feature renamed to Max Recursion Steps"

This reverts commit f043fe6b60.

* Revert "Disabling min activations when max recursion depth is disabled and vice versa"

This reverts commit a3a28874bf.

* Renames the feature to Max Recursion Steps and disables it when Min Activations are enabled

* Combine info-warnings, log stop condition

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-08-23 21:34:18 +03:00
d-ber 87ff99709f Use saved settings for more properties 2024-08-23 19:49:30 +02:00
d-ber d153991a11 Use saved settings instead of local storage
noShadows, fast_ui_mode, avatar_style and hotswap_enabled are now using settings json instead of local storage.
2024-08-23 19:22:00 +02:00
Cohee 3f026aea15 SD: Add prompt expansion warning. Disable quantization 2024-08-23 19:57:25 +03:00
Cohee 38f0929e3d Cull the usage of MAG in streaming 2024-08-23 19:14:51 +03:00
Cohee c84a685e7b
Merge pull request #2692 from SillyTavern/qr-popout-hide
QR: Add toggle to hide popout button
2024-08-22 22:57:26 +03:00
Cohee a4f566dc39 Fix getTagKey when charId can be a string 2024-08-22 22:26:32 +03:00
Cohee b7f31cb2ce TTS: Ignore prompt-hidden messages on auto narration 2024-08-22 22:13:57 +03:00
Cohee 8df6344d8e Merge branch 'staging' into qr-popout-hide 2024-08-22 19:50:12 +03:00
Cohee e4d012e49d
Merge pull request #2691 from SillyTavern/quiet
Add quiet flags to /api and /summarize
2024-08-22 19:48:17 +03:00
Cohee 954b77f16c Adjsut /api return values 2024-08-22 19:45:27 +03:00
Cohee 880233122c Discard toast on /api connect 2024-08-22 19:43:23 +03:00
Cohee 52bd06b910 Add alias for /api google 2024-08-21 21:22:42 +03:00
Cohee 06e3d5f8de Rename MakerSuite => AI Studio 2024-08-21 21:00:17 +03:00
Cohee 86ec1fdd40 Don't replace message text if displaying a different text.
Closes #2696
2024-08-21 20:47:29 +03:00
Cohee de335a4a96 QR: Add toggle to hide popout button 2024-08-20 23:06:36 +03:00
Cohee 5288d81424 Add quiet flags to /api and /summarize
Closes #2661
2024-08-20 22:50:29 +03:00
Cohee 7d2e35d950
Merge pull request #2674 from SillyTavern/random-fix
Suspend macros in first messages
2024-08-20 20:58:54 +03:00
Cohee 296a761247
Merge pull request #2688 from ayancey/hugging-face-imagegen
Hugging Face Inference API Image Generation
2024-08-20 13:55:40 +03:00
Cohee a9700c0ff0 Small fixes 2024-08-20 10:53:37 +00:00
Alex Yancey ea0508b910
Update settings.html 2024-08-20 01:33:14 -07:00
Alex Yancey 48f0c48a5b
Update public/scripts/extensions/stable-diffusion/index.js
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-08-20 01:31:57 -07:00
Cohee e3f010782d Revert underscore italics regex part 2024-08-20 11:03:40 +03:00
Alex Yancey 135ba2336e Hugging Face inference API for image generation 2024-08-19 23:02:15 -07:00
Wolfsblvt 550feddf82 Improve WI Character Filter description 2024-08-19 23:37:10 +02:00
Cohee df56b9bb4c Force reload flag 2024-08-20 00:11:22 +03:00
Cohee 112200ae32 Prevent duplicate toasts 2024-08-20 00:08:36 +03:00
Cohee a4ee73a3a7 Make onClose async too 2024-08-19 23:58:36 +03:00
Cohee bc7660bba6 Require to save settings before reloading. 2024-08-19 23:49:15 +03:00
Wolfsblvt df3926bf1a Log if tags couldn't be imported 2024-08-19 21:45:36 +02:00
Wolfsblvt 29a1f777dc Tag import fixed, again. (accepts char avatar key) 2024-08-19 21:23:22 +02:00
Cohee 696c83f96d [chore] Fix eslint 2024-08-19 21:36:28 +03:00
Cohee d77363cd7c Merge branch 'staging' into feat/xtc 2024-08-19 21:35:35 +03:00
Cohee 976be98dd7 Move command registration 2024-08-19 21:31:58 +03:00
Wolfsblvt b68969ee3b Small update to enum display + consistency 2024-08-19 20:18:44 +02:00
Eugén Cowie 53c71d8059 Self review fix 2024-08-19 17:22:04 +01:00
Eugén Cowie 62818055af Get available tokenizers from UI 2024-08-19 15:51:11 +01:00
Vitor Lima 60e735102f
XTC Threshold -> Threshold
Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>
2024-08-19 03:24:00 -03:00
Vitor Lima ec13405f64
XTC Probability -> Probability
Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>
2024-08-19 03:23:45 -03:00
Vitor Lima c1c2923bd5
Fix description
Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>
2024-08-19 03:21:29 -03:00
Vitor Lima 3070947ddc
Update public/index.html
Fix name

Co-authored-by: Philipp Emanuel Weidmann <pew@worldwidemann.com>
2024-08-19 03:20:54 -03:00
Vitor e28257096a added xtc parameter for ooba 2024-08-19 01:32:45 -03:00
Eugén Cowie 5f92b8a09e Add slash command to set tokenizer 2024-08-19 00:39:15 +01:00
Cohee 44e62156b7
Merge pull request #2679 from SillyTavern/codeblock-underscores
Don't replace underscore italics inside of code blocks
2024-08-19 01:41:35 +03:00
Cohee 138d6877f7 Replace underscores in HTML output 2024-08-19 01:26:27 +03:00
Succubyss 43e64cffa2 use push instead of fixed size array 2024-08-18 15:37:31 -05:00
Succubyss d263e3e33a switch to filter method 2024-08-18 14:44:48 -05:00
Succubyss 5e354f22c5 getMessagesCallback: refactor to async 2024-08-18 14:23:21 -05:00
Wolfsblvt cfb40cae0b Only count popups as open which are "open" 2024-08-18 16:42:10 +02:00
Cohee f8dbe262c7 Fix for single backticks with line breaks 2024-08-18 14:22:31 +03:00
Cohee 5f3dddfe21 Fix for unmatched triple backticks 2024-08-18 14:21:50 +03:00
Cohee e137c5d154 Fix for unmatched single backticks 2024-08-18 14:15:22 +03:00
Cohee c0c09f9a5d Don't replace underscore italics inside of code blocks 2024-08-18 13:58:47 +03:00
Cohee 9215dfd0c6 Replace macros in DRY sequence breakers 2024-08-18 13:50:58 +03:00
Cohee cd9d2001c7 Merge branch 'staging' into enable-autoselect-inputs 2024-08-18 12:35:31 +03:00
Cohee 86af35afdd
Merge pull request #2677 from SillyTavern/popups-suppress-default-hotkeys
Open popups should block all default hotkeys
2024-08-18 12:33:58 +03:00
Cohee abdf1f29cf Add support for Kobold Classic 2024-08-18 12:18:06 +03:00
Cohee 7b3d13ac00 Move command from script.js 2024-08-18 12:02:15 +03:00
Wolfsblvt 484d2b59ac Add schmoggle for auto select input 2024-08-18 03:38:07 +02:00
Wolfsblvt 321f0500e0 Merge branch 'staging' into enable-autoselect-inputs 2024-08-18 03:37:36 +02:00
Wolfsblvt 298baed59f Open popups should block all default hotkeys
- Fixes #2570
2024-08-18 03:16:29 +02:00
Wolfsblvt 53c39a403d Update help text of /api-url 2024-08-18 01:39:36 +02:00
Wolfsblvt f1739eaa70 Add custom openai compatible to /api-url 2024-08-18 01:35:36 +02:00
Wolfsblvt 28a9c45c31 /api-url slash command to get/set server url 2024-08-18 01:05:25 +02:00
Cohee d57272c166
Merge pull request #2663 from d-ber/bulkTagImport
Add bulk tag import
2024-08-18 00:34:39 +03:00
Cohee 378f4b5ed4 Suspend macros in first message 2024-08-18 00:27:10 +03:00
Cohee 961878c341 Add chatgpt-4o-latest to multimodal caption list 2024-08-17 20:58:20 +03:00
err d02677feec
enable vision for chatgpt-4o-latest 2024-08-17 17:07:29 +02:00
d-ber 0f606642ce Refactor tag import setting override 2024-08-16 22:55:48 +02:00
d-ber 2d476d4461 Use wider css class for bulk tag menu 2024-08-16 22:00:01 +02:00
Cohee 9cca368c12 Don't trim names in message prefixes if allowed with settings
Closes #2666
2024-08-16 22:25:31 +03:00
Cohee c88edaa4ed Vector Storage: Fix query summarizing for WI and files 2024-08-16 20:49:14 +03:00
Cohee e707def7dd Add tokenizer for Gemma/Gemini 2024-08-16 00:00:43 +03:00
Cohee ce8b0aae96 Add editor maximize for prefill textareas 2024-08-15 22:52:38 +03:00
d-ber af30991d77 Improve code readability 2024-08-15 17:40:57 +02:00
d-ber 1af51fc129 Adjust css to fit new buttons 2024-08-15 16:37:02 +02:00
d-ber d3ce9ea0d5 Add button to bulk import existing tags 2024-08-15 16:36:57 +02:00
d-ber 651072c61b Add button to bulk import all tags 2024-08-15 16:36:50 +02:00
Cohee 3b46b5a46d New Perplexity model 2024-08-15 10:57:37 +00:00
Cohee e4d045f03e
Merge pull request #2655 from SillyTavern/image-swipes
Image Generation: Add swipes for generated images
2024-08-15 13:25:22 +03:00
Cohee 156eb37eab Change pollinations models list 2024-08-15 10:06:36 +00:00
Cohee 58db8440ab Invert groupId check 2024-08-15 00:49:50 +03:00
Cohee e2a2e3869e Merge branch 'staging' into image-swipes 2024-08-15 00:01:11 +03:00
Cohee bc7ac12317 New ChatGPT model 2024-08-14 20:31:25 +03:00
Cohee 06d300ad36 Quick Replies: Add auto-execute on new chat 2024-08-14 00:08:16 +03:00
Cohee 4fd8d8e0ee Add swipes when using paintbrush 2024-08-13 23:35:49 +03:00
Cohee e1a29b36f5 Image Generation: Add swipes for generated images
Supersedes #2648
2024-08-13 23:21:00 +03:00
Cohee 53c24174e7 Merge branch 'staging' into webgpu-summary 2024-08-13 20:54:46 +03:00
Cohee d0b368f29c Vector Storage: change NomicAI key input 2024-08-13 20:50:41 +03:00
Cohee 1842a8ee6d Add buttons to remove SD/translate secrets 2024-08-13 20:43:45 +03:00
Cohee f17df7d9ad Add remove key button for Azure TTS 2024-08-13 20:33:59 +03:00
Cohee 1883095e39 Move request to backend 2024-08-13 20:29:33 +03:00
Cohee 8921b78f87 Add debug logs to WebLLM completions 2024-08-13 19:57:38 +03:00
Cohee 4888e3c2b0 Vector Storage: summarize with WebLLM extension 2024-08-13 19:34:11 +03:00
Alex Yancey ab42d6ff82 Quick and dirty attempt at implementing an OpenAI compatible TTS voice provider 2024-08-13 02:07:46 -07:00
Cohee 7d3f544e63 Refactor extension install menu 2024-08-13 01:09:14 +03:00
Cohee 30c19eb8fd Add WebLLM source to /summarize command 2024-08-13 00:57:32 +03:00