Commit Graph

755 Commits

Author SHA1 Message Date
Cohee 6406f76c7d Compress too large images for Google captions 2023-12-14 22:28:22 +02:00
LenAnderson b5b85724c7 add slash command to update existing QR preset 2023-12-14 19:08:27 +00:00
LenAnderson 0519629b70 fix autocomplete help text 2023-12-14 18:54:42 +00:00
LenAnderson dbf28fce47 cleanup autocomplete help text 2023-12-14 18:52:23 +00:00
LenAnderson 5e3584d5ed add slash command to create QR preset 2023-12-14 18:51:55 +00:00
Cohee bb8b8f9386 Fix sending PNG/WEBP to Google captioning 2023-12-14 20:36:31 +02:00
LenAnderson 90ec6b9159 add slash commands for context menus 2023-12-14 18:25:19 +00:00
LenAnderson 3e44e4240c handle escapes for pipes and curcly brackets 2023-12-14 18:09:33 +00:00
Cohee a6bb754567 Fix API key access 2023-12-14 19:56:43 +02:00
LenAnderson 5e61ff8d05 fix help string 2023-12-14 16:11:03 +00:00
based 5071b9a369 webstorm moment 2023-12-15 02:01:42 +10:00
LenAnderson 372ef2172e add slash commands to crud QRs 2023-12-14 16:00:38 +00:00
based 178b07f414 cleaned up a little 2023-12-14 23:18:56 +10:00
based 0b7c1a98cd added google vision caption support 2023-12-14 22:37:53 +10:00
Cohee 1b11ddc26a Add vector storage to WI scanning 2023-12-11 22:47:26 +02:00
Cohee 7482a75bbd
Merge pull request #1493 from valadaptive/generate-cleanups
Clean up Generate(), part 1
2023-12-11 20:21:32 +02:00
Cohee 0302686a96 Return from Generate if calling circuit breaker 2023-12-11 19:07:33 +02:00
Cohee e96fb0c1b5 Fix group wrapper not resolving to a valid text 2023-12-11 19:00:42 +02:00
Cohee 17105568f4 Reduce hard coded anim. durations 2023-12-11 16:23:21 +02:00
Cohee 05b08f1ce2 Don't await delay promise 2023-12-10 21:51:16 +02:00
Cohee 2e50efc35c Limit waiting for TTS to init to 1 second on chat change 2023-12-10 21:50:52 +02:00
LenAnderson bf88829b03 add option to skip codeblock narration 2023-12-10 16:32:10 +00:00
Cohee af89cfa870 Code clean-up 2023-12-10 16:48:25 +02:00
LenAnderson a3ec8d709d add support for tab and shift-tab in QR editor 2023-12-09 17:56:36 +00:00
LenAnderson d00861d913 allow /run for quick replies from other presets
/run otherPresetName.quickReplyLabel
2023-12-09 17:20:15 +00:00
Cohee e9a49b7997
Merge pull request #1485 from LenAnderson/qr-expand-editor
Add expand button to QR textareas
2023-12-07 15:31:01 +02:00
Cohee b506a17260 Fix expand after drag 2023-12-07 15:29:40 +02:00
LenAnderson 0290916035 stop expanding textarea 2023-12-07 12:29:00 +00:00
LenAnderson a1bfca78b3 add custom titles (tooltips) to QR buttons 2023-12-07 12:20:02 +00:00
LenAnderson d62ef8badc add expand button for QR textareas 2023-12-07 12:04:39 +00:00
Cohee 393a15cd81 Run auto-executed STscripts after message rendered 2023-12-07 02:12:49 +02:00
Cohee 61f186764d Fix QR bar popout position 2023-12-06 14:53:29 +02:00
valadaptive 5f1bed1e70 Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
Cohee fcbfdc70af Merge branch 'staging' into sd-next-upscalers 2023-12-04 19:07:34 +02:00
valadaptive 9d4990d25d Rename sd-next/upscalers to sd/next/upscalers 2023-12-04 10:22:47 -05:00
LenAnderson 76bfad8cdc fix: listeners calling wrong index after reorder 2023-12-04 13:33:28 +00:00
LenAnderson 8283d4dc08 fix: ctx button id after reordering 2023-12-04 13:28:58 +00:00
Cohee 6e09e45651 Fix /trigger and /continue auto-execution 2023-12-02 22:34:46 +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
Cohee a06f1e8ad6
Merge pull request #1431 from valadaptive/eslint-fixes-3
ESLint fixes part 3 - more significant changes
2023-12-02 19:55:54 +02:00
Cohee a367285ac2
Merge pull request #1430 from valadaptive/eslint-fixes-2
ESLint fixes, part 2 - bulky changes
2023-12-02 19:43:11 +02: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 39bbef376f Enable no-undef lint
I'm not sure where run_edit is supposed to go or if any logic is
missing. I just made my best guess.
2023-12-02 12:11:19 -05:00
valadaptive 14afa1575b Enable no-redeclare lint 2023-12-02 12:11:19 -05:00
valadaptive c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
Cohee a91694ebbc Change audio format check 2023-12-02 18:41:54 +02: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
valadaptive 1c121f1ba5 Enable use-isnan lint 2023-12-02 10:32:07 -05:00
valadaptive 9204a31d32 Enable no-self-assign lint 2023-12-02 10:32:07 -05:00
valadaptive c05aee8e72 Enable no-unsafe-negation lint
This actually fixes a bug--the old code was negating "audioData.type"
2023-12-02 10:32:07 -05:00
Cohee 249f9f649f Escape QR button labels 2023-12-02 15:19:44 +02:00
Cohee bb727d5f9c Insert files before user text, not after 2023-12-01 03:54:28 +02:00
Cohee b6ed67b4b4 Add /regex command 2023-11-30 22:59:04 +02:00
Cohee 252af836f0 #1418 Remove prefix from SD raw_last 2023-11-30 01:22:31 +02:00
Cohee 19df1f52cd Vector storage file retrieval 2023-11-30 00:01:59 +02:00
RossAscends 307f0d88c3 'All' for ooba rep pen range zenslider, maxCtx tweak 2023-11-29 11:37:18 +09:00
Cohee 16527710b3 Make less obtrusive 2023-11-28 19:24:26 +02:00
Cohee a1098a4f31 Merge branch 'staging' into silerott-add-session-handling 2023-11-28 18:25:31 +02:00
Cohee f809d80ba2 Improve XTTS text processing 2023-11-28 16:56:50 +02:00
Cohee 5fd4ed6c81 Fix mobile QR context menu 2023-11-28 13:26:36 +02:00
Cohee 5dd6665505 Don't set negative zIndex for regular image when using group VN mode 2023-11-28 11:40:39 +02:00
LenAnderson fd8551b73b fix context menu for Qr popout 2023-11-27 22:02:20 +00:00
Cohee 84811ec518 Fix image gen prefix combining 2023-11-27 16:10:42 +02:00
Cohee ffc4f22012 Add provider-specific TTS processing: XTTS - replace ellipsis, Novel - remove tildes. 2023-11-27 13:25:49 +02:00
Cohee c742251c5a Mobile sprites fixes: hide non-VN sprite, fix group VN position, fix live2d conflicts 2023-11-27 03:22:35 +02:00
RossAscends fd8697afc0 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-27 09:48:07 +09:00
RossAscends 34d8588691 QR popout 2023-11-27 09:48:05 +09:00
Cohee fd0edd67a6 Fix recursive QR auto-execution 2023-11-27 02:18:36 +02:00
Cohee e587f208be Add resolution match on load 2023-11-26 18:19:37 +02:00
deffcolony aaeaa643e3
resolution presets for image generation extension (#1394)
+ New drawer with resolution presets at image generation extension

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-11-26 17:55:49 +02:00
Cohee c328d6f04a Add QR auto-exec on app startup 2023-11-26 02:12:31 +02:00
Danil Boldyrev fbc72085f8 Hindi Support for XTTS 2023-11-24 20:16:49 +03:00
Cohee c9b3ccc585 Add STscript procedure calls with /run command 2023-11-24 15:58:00 +02:00
Cohee bcf73e0e55 Add auto-execute on opening chat option to quick
reply settings
2023-11-24 14:02:04 +02:00
Cohee f1d375c2ba Add hidden/invisible/auto-exec only QR buttons 2023-11-24 13:50:42 +02:00
Cohee 720da5649b Don't auto-exec on disable QR 2023-11-24 13:32:27 +02:00
RossAscends 55607ee847 remove HumiBlur from QR chain menus 2023-11-24 17:45:13 +09:00
Cohee 74fbc88d7d Move macros replacement to script execution time 2023-11-24 01:56:43 +02:00
Cohee 461e8d7929 Update the tooltip on the vertical ellipsis button 2023-11-24 01:39:39 +02:00
Cohee e593dd4dbd Auto-executable QR 2023-11-24 01:32:02 +02:00
LenAnderson ab9c654708 Merge branch 'staging' into qr-context 2023-11-23 20:35:21 +00:00
LenAnderson cdbcd6cfb2 add a healthy dose of mobile copium 2023-11-23 20:34:20 +00:00
Cohee 22e17cd681 Pass image type to thumbnail creator 2023-11-23 20:50:08 +02:00
LenAnderson 81f135fa7c use client coords not screen coords 2023-11-23 17:42:31 +00:00
LenAnderson af2b108730 add context menu editor 2023-11-23 17:42:19 +00:00
LenAnderson d32224041a add parent placeholders 2023-11-23 15:57:14 +00:00
LenAnderson e2a1892e6b Merge branch 'staging' into qr-context 2023-11-23 12:21:46 +00:00
LenAnderson cc426e9897 add qr context menus 2023-11-23 12:21:25 +00:00
RossAscends e0e303b339 Sortable QuickReplies 2023-11-23 19:49:15 +09:00
Cohee f802fe1797 Fix xtts separator 2023-11-22 17:47:58 +02:00
RossAscends fe21a7c25b Add toggle for hiding muted group member sprites 2023-11-22 07:48:35 +09:00
Danil Boldyrev bcad0d4e51 add XTTS 2023-11-21 13:16:56 +03:00
Cohee 52d9855916 Code lint 2023-11-21 02:00:50 +02:00
LenAnderson 1c725879d8 add func for loading dropdown opts for settings 2023-11-20 22:00:40 +00:00
LenAnderson 3d4442ab25 make api routes kebab 2023-11-20 18:27:50 +00:00
LenAnderson 46cc04c798 add default comfy workflow 2023-11-20 15:59:38 +00:00
LenAnderson d24c74e34a update comfy generate to use saved workflows 2023-11-20 12:51:36 +00:00
LenAnderson 06ececc1a5 add managing multiple comfy workflows 2023-11-20 12:39:06 +00:00
LenAnderson 5e5c111d25 add VAE selection 2023-11-20 12:34:37 +00:00
LenAnderson d5b9dd34b7 remove unused comfy method 2023-11-20 12:29:47 +00:00
Cohee 9dcc23825a [chore] Reformat 2023-11-19 21:17:02 +02:00
Cohee 5e6fcd28b2
Merge pull request #1371 from LenAnderson/staging
Add ComfyUI to the Stable Diffusion extension
2023-11-19 21:14:42 +02:00
LenAnderson 9dd1e59421 move requests to comfy into ST server 2023-11-19 18:29:41 +00:00
Cohee 1dc1b926c4 Fix TTS issues with streaming 2023-11-19 16:56:12 +02:00
Cohee b0b19edf31 Add multimodal captioning for SD prompt generation 2023-11-19 15:24:43 +02:00
LenAnderson fdccab3069 add ComfyUI 2023-11-19 12:18:48 +00:00
Cohee 685bb9742e Fix update button icons 2023-11-19 01:33:54 +02:00
Cohee 53c3fc16c1 Assorted SD fixes 2023-11-19 00:40:21 +02:00
Cohee ddeb42ba55 Close modal send form menus when clicking on button again + fix caption UI labels 2023-11-18 21:17:53 +02:00
Cohee 4999fbd97c Check for API key in multimodal captions 2023-11-18 20:58:04 +02:00
Cohee 7045d242e8 Add ability to attach files and images to messages 2023-11-18 19:24:55 +02:00
Cohee 0608c0afac Add OpenRouter and Llava to captioning plugin. 2023-11-17 23:19:21 +02:00
Cohee 323b338cdd Add images to quiet prompts if inlining enabled 2023-11-17 01:30:32 +02:00
Cohee e753246373 Add NAI Diffusion 3 model 2023-11-16 02:15:28 +02:00
Cohee 5136b70882 #1355 Update summary settings button to make it more visible 2023-11-15 02:16:42 +02:00
Cohee b559187722 Autoset height of QR slots. Revert textarea padding 2023-11-14 12:48:55 +02:00
RossAscends 3f4a62d22c ext button to left, stack buttons on mobile 2023-11-14 15:53:26 +09:00
Cohee 0d4e5c31e2 Code clean-up 2023-11-12 22:35:17 +02:00
Cohee 35c5d4e528 SD interactive mode fixes 2023-11-12 02:35:37 +02:00
Cohee 6f061adc1e Add OpenAI TTS provider 2023-11-12 02:28:03 +02:00
Cohee 2c4f53e7b5 Add native GPT-4V image inlining 2023-11-12 00:09:48 +02:00
Cohee 1f89e5a02a Merge branch 'release' into staging 2023-11-09 23:30:12 +02:00
Cohee d9d61e479d Bypass generation for QR slash commands 2023-11-09 03:19:57 +02:00
Cohee f2a96427a8 TTS: add slash command to speak 2023-11-09 02:57:40 +02:00
Cohee ca1c0e35b1 TTS: force speak on first message in new chat 2023-11-09 01:30:54 +02:00
smirgol 4f0935c494 better deep clone of message object. re-initalize ttsLastMessage after changing chats 2023-11-08 19:08:42 +01:00
smirgol 91266c831c fix tts re-trigger for complete/autocomplete/delete
fix re-trigger tts from start if text was added to chat by auto-continue
fix re-trigger tts from start if text was added by continue button
fix re-trigger of tts when message(s) got deleted
2023-11-08 16:40:47 +01:00
Cohee 8f812d6a19 Add more aliases to image slash command 2023-11-08 12:08:13 +02:00
Cohee b3ced2c4c5 Rename SD extension to "Image Generation" 2023-11-08 10:57:37 +02:00
Cohee 2639548bdb Adjustable caption prompt and template 2023-11-07 01:58:34 +02:00
Cohee 9698c94ee2 #1324 Add captions via OpenAI and Horde 2023-11-07 01:28:46 +02:00
Cohee 1896732f17 Add DALL-E to OpenAI plugin 2023-11-06 21:47:00 +02:00
Cohee 57e845d0d7 Resolve best match tokenizer for itemization. Adjust styles of token counter 2023-11-06 20:25:59 +02:00
RossAscends 0effbebae7 tokenizer colorization underpinnings (inactive) 2023-11-06 18:04:47 +09:00
Cohee e8ba328a14 Add text chunks display to token counter 2023-11-06 02:42:51 +02:00
Cohee 5c356ab177 Add confirmation to regex deletion 2023-11-05 23:44:28 +02:00
Cohee 4af6955588 Restyle regex script toggles 2023-11-05 23:40:43 +02:00
Cohee 5e88edf22d
Merge pull request #1288 from LammyShark/staging
Toggle Regex Script Checkboxes
2023-11-05 23:18:23 +02:00
Cohee fd9c8b86e9 Token counter layout adjust 2023-11-05 22:55:10 +02:00
Cohee f0c0949aa0 Add token ids viewer to tokenizer plugin 2023-11-05 22:45:37 +02:00
Cohee 2f9b247c46
Merge pull request #1307 from aisu-wata0/regexScript_promptOnly
Regex script: prompt only checkbox
2023-11-04 22:37:41 +02:00
Cohee 6067b2f913 Add autocomplete for slash commands 2023-11-04 01:21:20 +02:00
Aisu Wata 4ec40d575e Regex Scritpt: Only Format Display: fixed typo on subtitle 2023-11-03 18:55:27 -03:00
Aisu Wata c94962aa3c Regex script: promptOnly checkbox and feature 2023-11-02 19:52:33 -03:00
Cohee e8f4653a25 Add interactive mode for SD plugin 2023-11-01 22:58:59 +02:00
Cohee a0706fcfc8 Add loader UI component 2023-10-31 22:16:33 +02:00
Cohee eb4e90c589 Save auto-input to QR 2023-10-31 12:27:40 +02:00
Cohee fadd92a6c3 Fix expressions sometimes getting stuck when switching chats 2023-10-29 23:15:40 +02:00
smirgol 3346420527 fix api endpoint to match the current definition 2023-10-29 19:58:02 +01:00
smirgol b46f89b345 add missing session handling to silerotts 2023-10-29 17:18:21 +01:00
Cohee 0c36d113bf Add git disclaimer to asset downloader 2023-10-27 13:07:56 +03:00
LammyShark 234baf6276 Toggle Regex Script Checkboxes
Added a checkbox to each Regex Script listed under Saved Scripts to easily enable/disable. It can be cumbersome having to load Regex Editor for each script when disabling/enabling multiple Regex Scripts.
2023-10-25 22:48:19 -04:00
Cohee b4a401805f Add explainer for SD prompt expansion 2023-10-25 21:49:32 +03:00
Cohee 3995238d77 Adjust Anlas guard for NAI Opus 2023-10-23 10:41:39 +03:00
Cohee 635df947c5 Increase classify sampling window; 300=>500 chars 2023-10-23 02:14:29 +03:00
Cohee 63b34d9851 Call expression module worker when switching chats 2023-10-23 01:56:27 +03:00
Cohee f9ae7ea949 Add NAI Diffusion v2 model 2023-10-23 01:06:49 +03:00
Cohee df85218fa7 Merge branch 'release' into staging 2023-10-23 00:27:15 +03:00
Cory Gross 5b2fff07b8
Fix race condition duplicates TTS UI if autoload chat enabled 2023-10-22 08:54:25 -07:00
Cohee 0517f1bbbc Fix elevenlabs multi-model 2023-10-22 14:46:54 +03:00
Cohee f49f9c1f96 Merge branch 'release' into staging 2023-10-22 14:01:33 +03:00
Cory Gross 348805af74
Fix TTS autogen chkbox set by elevenlabs multilingual setting 2023-10-21 22:33:28 -07:00
Cohee 81921bcd77 Saveable SD prefix/negatives 2023-10-22 00:10:48 +03:00
Cohee 6296cb8218 Align display name of Summary plugin 2023-10-21 22:20:21 +03:00
Cohee a4ab898933 Move CFG scale to built-in functionality 2023-10-21 22:19:49 +03:00
Cohee 65402eaa23 Move bulk edit to built-in functionality 2023-10-21 21:02:06 +03:00
Cohee 7e116f8b1f Move setting search to built-in functionality 2023-10-21 20:55:51 +03:00
Cohee 5012237eb3 Display generated bg in the bg block. Add ability to copy chat bg to system list. 2023-10-21 17:43:25 +03:00
Cohee 8d121bf38f QR menu restyle 2023-10-21 16:17:17 +03:00
Cohee d0650e6910 Clean-up QR code 2023-10-21 16:09:25 +03:00
IkariDevGIT 1e251c09e3
Better input inject Quick Reply (#1255)
* Force open Char WI with Shift

QoL - Force open character WI selector menu if icon clicked with Shift.

* Update world-info.js (revert personal new WI pos preference)

* Fix element widths

* Fix event typing

* Update index.js

* Update index.js

* change Prompt to Input

this makes it more clear what it does(i think)

---------

Co-authored-by: valden80 <111227649+valden80@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-10-21 16:02:29 +03:00
Cohee 51e0c9130a
Merge pull request #1269 from city-unit/feature/slash
Add token counting slash command.
2023-10-21 14:26:45 +03:00
Cohee 85de505553 Move counter to plugin. Use chat context to get messages 2023-10-21 14:23:56 +03:00
Cohee f285110773 Merge chat backgrounds plugin with main backgrounds menu 2023-10-21 01:40:58 +03:00
Cohee 0b0b125bca Don't double-expand prompts if reusing 2023-10-20 15:43:55 +03:00
Cohee c4e6b565a5 Add SD prompt expansion 2023-10-20 15:03:26 +03:00
Cohee ec8d30a19d Remember confirm for assets list 2023-10-19 00:26:00 +03:00
kingbri dfa25a1796 Commands: Add ask command
The ask command aims to ask another character about a question or
topic from the current chat. Essentially, the current chat is taken
out and prompted to another character.

This command also requires a few fixes to sprites and prompt creation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-16 02:12:12 -04:00
Cohee 4657aef306 Improve inline preview of audio assets 2023-10-16 02:09:43 +03:00
Cohee 9ee2c2e9c1 Add asset preview links 2023-10-16 01:39:08 +03:00
Cohee 0f15d2d45b Move Idle extension to external repo. 2023-10-16 00:02:37 +03:00
Cohee 6a9f4a57b9 Move dynamic audio to external repository 2023-10-15 23:03:53 +03:00
Cohee c8dace09b7 Add failsafe condition preventing gens when cfg settings are not found 2023-10-15 22:21:19 +03:00
Cohee 92ddb2b791 Move HypeBot to external repo 2023-10-15 20:03:52 +03:00
Cohee 30c76eb420 Move dice extension to external repository 2023-10-15 19:56:07 +03:00
Cohee 579f43ed1c Move objective extension to external repo 2023-10-15 19:48:12 +03:00
Cohee 421cda2ef0 Move RVC plugin to external repository 2023-10-15 17:27:11 +03:00
Cohee 0a742b867f Move chromadb plugin to external repository 2023-10-15 16:57:37 +03:00
Cohee 82032133f1 Move randomizer plugin files to external repository 2023-10-15 16:23:32 +03:00
Cohee b4c3985b61 Disable cache of assets loader 2023-10-15 16:16:35 +03:00
Cohee 19363f6cb9 Move variables extension to external repo 2023-10-15 16:08:19 +03:00
RossAscends 19ff0fd618 clean up draggables, gallery, and close buttons 2023-10-14 00:29:41 +09:00
Cohee edb46f480f Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-13 11:42:45 +03:00
Cohee a1f6220f33 Nicer display of 3rd-party extension assets 2023-10-13 11:42:38 +03:00
Tony Ribeiro 2997522c52 Removed speech recognition extension (now third party extension download from assets menu). 2023-10-13 01:34:00 +02:00
RossAscends 6b5aa9d06e toggle to skip WI&AN insertion in Summary's prompt 2023-10-11 19:44:22 +09:00
Tony Ribeiro 47d4561bf8
Merge branch 'SillyTavern:staging' into staging 2023-10-10 01:51:30 +02:00
Tony Ribeiro 93d1a264da Add official blip asset management. 2023-10-10 01:51:09 +02:00
RossAscends 575e21a1f5 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-10-10 04:49:37 +09:00
RossAscends 96ddd5f4e5 draggable popout for Summary 2023-10-10 04:49:35 +09:00
Cohee b84e6e07d1 Assets extensions visual touch-up 2023-10-09 17:21:12 +03:00
Tony Ribeiro df4ca46c02 Save chat id between received and rendered event for safety (blip extension allow multiple message received before one is rendered). Added export in translate extension for usage in blip extension. 2023-10-09 01:26:57 +02:00
Cohee 54d52a2986 Manage extensions via the assets plugin 2023-10-08 23:20:01 +03:00
Cohee 4f80085fa3 Add sanitation of Stable Horde prompts 2023-10-08 22:29:33 +03:00
Cohee 57bf499ce9 Fix group expressions 2023-10-08 11:22:48 +03: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 5a570ff283 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-10-07 18:30:19 +03:00
Cohee 1dd6fa4b6a Add Sd.next source 2023-10-07 18:30:06 +03:00
yuxiang 0b8295926e add bing translate 2023-10-06 15:51:04 +03:00
Cohee b203b22d4d Remove commented-out code 2023-10-01 19:36:53 +03:00
AlexVeeBee b9ea0061d5 Fix Dynamic Audio player looks
- Removed unnecessary text for audio player
- Fixed styling for audio player
2023-10-01 15:49:53 +00:00
Cohee 046bf20592 Update default objective prompts 2023-10-01 15:39:31 +03:00
Cohee edb79d8c53 Synchronize max depths for plugins 2023-09-25 19:29:24 +03:00
theunstableman 8f426a0184
[FIXED] Add PaLM vectorization source (#1182)
* Add PaLM vectorization source

* FIX

* Add API key check. Fix comment

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-25 15:29:28 +03:00
RossAscends 54c37e945b fix themes application, refactor user settings 2023-09-22 22:16:24 +09:00
Cohee 5fbb232d69 Fix sprites plugin console spam 2023-09-21 21:15:05 +03:00
Cohee 25d818ecbd Reinsert summary extension prompt instantly when changing position 2023-09-21 21:13:24 +03:00
Cohee 071b901f87 Add before story position for A/N and summary 2023-09-21 19:30:20 +03:00
Tony Ribeiro c9783640c0
Dynamic Audio UI: more controls (#1127)
* Added control to audio ui to select bgm/ambient and lock selection to overide dynamic audio update. Load both assets and char specific audio assets

* correct ambient label and default value when no assets available.

* add padding in audio select

* Correct audio change of background ambient when locked. Updated CSS of audio ui for mobile friendly.

* add space between mixer

* Add checkbox to enable dynamic bgm/ambient switch

* correct background ambient fadout

* continue debuging ambient audio update

* finish debuging

* Fix BGM console error on first run. Reformat plugin code

* Changed audio bgm lock into loop on/off. Added random pick button for bgm. Moved ambient lock button to right.

* Add mouse wheel event handler on volume controls

* Change bgm select to only contain current chat character bgm (solo/group). When enable expression bgm is off, any of the char+asset bgm can play next if not looping.

* Corrected bgm looping at start. Force random to play another song if there is any.

* Format code

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-20 21:36:50 +03:00
kingbri b52f71dcce Vectors: Add before story string/prompt option
This makes the most sense for placement of memories. Add the functionality
for other extension prompt placements as well.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-09-20 00:06:43 -04:00
Cohee dfbeb41afa #1152 Filter repeating message hashes when inserting vectors 2023-09-19 17:12:22 +03:00
RossAscends eb6e987f55 search bar for user settings panel 2023-09-19 14:19:22 +09:00
Cohee 3d83d1d5b7 Add a note that idle timer is in seconds 2023-09-18 17:49:23 +03:00
city-unit e92d4a3dbf
Add idle slash command toggle 2023-09-18 00:53:23 -04:00
Cohee e9c459690f Don't classify when no sprites/default. H-center sprite in non-waifu mode 2023-09-18 01:49:00 +03:00
Cohee 39567cf278 Slash command to summarize chat 2023-09-18 01:02:02 +03:00
city-unit 0033090a93
Idle Response / Continuous Generation (#1132)
* Initial idle stuff

* Much closer, can now quietly send as user to get a char response.

* Tweaks

* Better, reset the count of getting a message back, don't send while prompt is waiting.

* Allow selecting who is being prompted

* Comments and cleaup

* Remove char name for the moment (needs something here probably)

* Add random time period and "Always add character's name to prompt" respect

* Tooltips

* Load/unload listeners

* Reduce log spam

* Add inline prompt inclusion

* Add full loud prompting

* Comments

* Fix instruct newline (I think)

* Don't reset count on continue

* add quietToLoud for script.js

* add quietToLoud for slashcommands.js

* Keep instruct directives

* Removed some logging, don't do the Novel formatting if Q2L

* Logspam begone.

* Removed a bit more logging

* Add alignment style

* Reformat files. Add comments

* Reorder extensions

* Fix repeat logic to prompt once then only repeat the number specified

* Make repeat count more clear

---------

Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-17 22:00:10 +03:00
Cohee dc1121b72a Remove tensorflow vector source. 2023-09-17 14:09:24 +03:00
Cohee ab9aa28fe4 Move missed endpoints 2023-09-16 18:03:31 +03:00
Cohee 38b63b07f5 Extract sprite and custom content endpoints to a separate files. Update constants references 2023-09-16 17:28:28 +03:00
Cohee 4e1630c17d Extract endpoints for secrets and assets to separate files 2023-09-16 16:39:07 +03:00
RossAscends 124658a006 Add Border Color Control 2023-09-16 15:42:26 +09:00
Cohee 6dd09858d4 Don't remove names from the past chat. Fix non-streaming auto-continue.
We took fair criticism from the NovelAI dev.
2023-09-15 23:32:01 +03:00
Cohee d34f7d3e1a Replace multigen with auto-continue 2023-09-15 21:34:41 +03:00
Cohee 599904d589 Move NovelAI endpoints to separate file 2023-09-15 17:54:13 +03:00
Cohee 5827f9638f Fix /emote in groups 2023-09-15 01:17:24 +03:00
Cohee 6ad786f348 Add alternative local vectors source.
x5 speed boost!!
2023-09-14 23:40:13 +03:00
Cohee b24509ef43 Visual touchup of custom expressions 2023-09-14 21:41:30 +03:00
Cohee 7553efc308 Custom char expressions 2023-09-14 21:30:02 +03:00
Cohee 9fb4b3425e Costume subfolders 2023-09-14 19:12:54 +03:00
Cohee 182216e711 /costume slash command 2023-09-14 18:37:13 +03:00
Cohee d0182c47de Fix expression BGM switch 2023-09-14 01:28:44 +03:00
Cohee 77a28c7131 Don't hide expressions menu if no chat open 2023-09-13 15:19:10 +03:00
Cohee 09fc42a787 Lock extensions display order in top and context menus 2023-09-13 01:40:01 +03:00
Cohee c0e5d7efae Save chat scroll position when user input overflows the line 2023-09-13 00:51:21 +03:00
Cohee 66ec17620f Move Horde and SD endpoints into separate files 2023-09-12 20:45:36 +03:00