Commit Graph

4671 Commits

Author SHA1 Message Date
Cohee 336674b724 Ensure unique files name for pasted images 2024-06-30 01:00:43 +03:00
Cohee f181d1a847 Add button to re-caption message image 2024-06-30 00:31:54 +03:00
Cohee 7149f46c9a Add automatic image captioning mode 2024-06-30 00:06:17 +03:00
Cohee 2670709237 Fix caption template references 2024-06-29 23:22:29 +03:00
Cohee 7fe329b5cf Allow paste file and images into chat input form 2024-06-29 23:14:55 +03:00
Cohee fcc00e0b26 Merge branch 'staging' into translation-improvements 2024-06-29 14:36:12 +03:00
Cohee bf28ae07b3
Merge pull request #2438 from SillyTavern/commands-send-at-supports-depth
Various commands with 'at' support depth values
2024-06-29 14:33:22 +03:00
Cohee 76b822c627
Merge pull request #2437 from SillyTavern/echo-command-args
Add optional args to /echo command
2024-06-29 14:26:10 +03:00
Risenafis bb39e852b8
TTS: Add support for VITS/W2V2-VITS/Bert-VITS2 (#2439)
* add VITSTtsProvider

* add options

* fix params, drop reference_audio_path

* post with body

* improve preview lang

* add space in label
2024-06-29 14:15:37 +03:00
Wolfsblvt f7d3a1c942 Various commands with 'at' support depth values 2024-06-29 02:52:30 +02:00
Wolfsblvt 75099d3a22 Fix oversight in forceEnum slash commands 2024-06-29 02:42:01 +02:00
Wolfsblvt 5c3b799d65 Fix naming inconsistencies 2024-06-29 02:24:20 +02:00
Wolfsblvt 1d6f038601 Add optional args to /echo command 2024-06-29 02:16:36 +02:00
Wolfsblvt cba2b54531 Refactor main slassh-commands into init func 2024-06-29 00:25:10 +02:00
Wolfsblvt d994528548 Extend i18n with translate and template literal 2024-06-28 23:53:25 +02:00
Cohee 003066a036 Add vLLM as multimodal captioning source 2024-06-29 00:33:12 +03:00
Wolfsblvt be08e62fc1 Observer to find new elements with i18n attribute 2024-06-28 23:01:54 +02:00
Cohee a287ccfca2
Merge pull request #2435 from SillyTavern/remove-var-from-at-arg
Remove variable usage of 'at' arg in send commands
2024-06-28 22:54:40 +03:00
Wolfsblvt 38792d071b Remove variable usage of 'at' arg in send commands 2024-06-28 20:48:55 +02:00
Cohee c34150fef0 Limit height to match large popup 2024-06-28 21:32:39 +03:00
Cohee e98f38b6da Final(?) iOS cope 2024-06-28 21:27:48 +03:00
Cohee 1c69ba1ae3 Change mobile cope styles 2024-06-28 20:51:10 +03:00
Cohee 3803714465 Limit height of enlarged image prompt 2024-06-28 20:46:41 +03:00
Cohee fa1d45635b Put mobile height fix under a breakpoint 2024-06-28 20:40:57 +03:00
Cohee 54c772622e Add you-know-what for featherless 2024-06-28 20:26:25 +03:00
Cohee cc9eca8427 Apply select2 to model selection 2024-06-28 19:13:46 +03:00
Cohee 4e33253a91 Code clean-up 2024-06-28 19:12:56 +03:00
Cohee b62cbdeebd Merge branch 'staging' into DarokCx/release 2024-06-28 19:09:12 +03:00
Cohee bbb1a6e578 Add huggingface inference as text completion source 2024-06-28 18:17:27 +03:00
Cohee 6b204ada9f Fix no-blur not being respected in popups 2024-06-28 17:01:05 +03:00
Cohee 889a552629 Fix popup height on iPhone 2024-06-28 16:58:37 +03:00
Cohee 89e5562494 Explicitly set min and max dimensions for popup dialog 2024-06-28 13:10:15 +00:00
DarokCx 29ff0876a7 Added additional headers 2024-06-28 08:20:15 -04:00
Cohee 8136293593
Merge pull request #2431 from SillyTavern/remove-slash-command-var-usages
Remove slash command var usages
2024-06-28 13:50:06 +03:00
Cohee e713b32bdc Fix empty toast suppression 2024-06-28 10:22:26 +00:00
Cohee 190bed8025 Fix theme and movingUI toasts 2024-06-28 09:01:28 +00:00
Cohee 2293828f8e Ditto, for chat completion 2024-06-28 08:14:38 +00:00
Cohee 985c2dd031 Don't indicate success in saving presets 2024-06-28 08:09:22 +00:00
Cohee 043eead149 Don't show empty toasts in slash command executor 2024-06-28 08:06:33 +00:00
Wolfsblvt 6653757c5c Remove /imagine's variable usage in 'negative' 2024-06-28 04:06:22 +02:00
Wolfsblvt b29d32d518 Remove /regex's variable usage in 'name' argument 2024-06-28 04:04:58 +02:00
Wolfsblvt b97dceeb7a Remove /flushinject's variable usage in unnamed 2024-06-28 04:00:32 +02:00
Wolfsblvt 11ca0dd22e Remove /send's variable usage in 'name' argument 2024-06-28 03:58:04 +02:00
Wolfsblvt 9666b9920a Remove /summarize's variable usage in 'prompt' 2024-06-28 03:55:03 +02:00
Wolfsblvt 7cf5a4cb2e Remove /inject's variable usage in 'id' argument 2024-06-28 03:53:23 +02:00
Wolfsblvt 54e111886b Improve logs (+add toasts) on save calls
- Fixes #2429
2024-06-28 03:28:16 +02:00
Wolfsblvt b8295ac8f5 Unregister function for macro registration 2024-06-28 03:01:33 +02:00
Cohee cf56bfb6a9 Add 01.AI as a chat completion source 2024-06-28 00:51:09 +03:00
Cohee 537cfbc027 Remove commented theme toggles 2024-06-27 23:40:47 +03:00
Cohee 599c55938b
Merge pull request #2427 from SillyTavern/more-popups
More popups
2024-06-27 23:20:10 +03:00
DarokCx 8608bc92ae no authorization 2024-06-27 10:02:28 -04:00
DarokCx bd5592de7b Added featherless, connect button not working 2024-06-27 09:06:11 -04:00
Cohee 79b8dc98eb Fix performance of WI editor when adding a new entry 2024-06-27 10:04:49 +00:00
Cohee 4e083ebd4f Allow vertical scrolling in settings snapshots 2024-06-27 08:45:09 +00:00
Cohee 5075534b2e Fix vertical scrolling in data bank 2024-06-27 08:42:23 +00:00
Wolfsblvt b8ae54fb2c Add i18n to popup controls 2024-06-27 03:01:07 +02:00
Wolfsblvt d5016ad672 Update tag import popup to new input 2024-06-27 02:52:34 +02:00
Wolfsblvt d737c0f285 Update Regenerate popup to use input control 2024-06-27 02:40:47 +02:00
Wolfsblvt d084f579c5 Refactor Popup with private and readonly modifiers 2024-06-27 02:39:59 +02:00
Wolfsblvt 124cbfdfa4 Update Popup to support custom input checkboxes 2024-06-27 02:28:25 +02:00
Wolfsblvt 7bf793d2be Update /newchat command skip popup 2024-06-27 01:39:05 +02:00
Cohee f73986d23f Remove extra linebreak 2024-06-27 02:25:08 +03:00
Wolfsblvt 1c6c9efba1 Refactor convert to group chat to new popup 2024-06-27 01:01:43 +02:00
Wolfsblvt efb9fbcc7e Refactor new chat to new popup 2024-06-27 00:45:26 +02:00
Wolfsblvt 360c2985f5 Switch char deletion to new popup
- New popup
- Move char CHARACTER_DELETED to after char deleting, and inside the correct function
2024-06-27 00:29:25 +02:00
Wolfsblvt d64d16bdf2 Fix popup onClose executing after resolver 2024-06-27 00:27:55 +02:00
Cohee 886b6fee64 Add WI entry delay 2024-06-26 22:43:30 +03:00
Cohee 54fb7a9030 Add 'online_status_changed' event 2024-06-26 22:11:22 +03:00
Cohee 719539c2ab Improve types and sanitation of macro values 2024-06-26 21:58:57 +03:00
Cohee ef0772bc9f Merge branch 'staging' into macro-register 2024-06-26 21:54:00 +03:00
Cohee 8b1492a2d9 Mono font family for kbd 2024-06-26 20:39:39 +03:00
Cohee b1fa4d3038 Remove font-family we don't vendor 2024-06-26 20:37:29 +03:00
Cohee d9536ae3a8 Add tri-state argument for /lock command 2024-06-26 20:18:05 +03:00
Cohee 112e26a0ff Model icon for slash command messages 2024-06-26 19:48:45 +03:00
Cohee 584d0e6222 Only add missing modules string if there are any modules to report 2024-06-26 12:49:23 +00:00
Wolfsblvt 4e7232f13e Move group chat popups to new popup 2024-06-26 05:56:15 +02:00
Wolfsblvt ec58d9272a Move ctrl+enter regenerate to new popup 2024-06-26 05:46:34 +02:00
Wolfsblvt ff5f89bd5e Move overwrite data confirm to new popup 2024-06-26 05:35:41 +02:00
Wolfsblvt cd9013cf73 Update some WI confirm/input popups to new popup 2024-06-26 05:29:08 +02:00
Wolfsblvt 717c524b01 Update copy message to new popup 2024-06-26 05:01:58 +02:00
Wolfsblvt c55452d0ea Update prompt itemization to new popup 2024-06-26 04:49:07 +02:00
Wolfsblvt c8411b6dfb Update delete message to new popup 2024-06-26 03:36:06 +02:00
Wolfsblvt 0c402e2a5f Setup swipe data on /sendas 2024-06-26 03:13:05 +02:00
Wolfsblvt 9113fae4fe Fix /addswipe error if swipe_info not initialized 2024-06-26 02:46:53 +02:00
Wolfsblvt 071a77fe1a Fix deleting swipe not clean swipe_info 2024-06-26 02:14:26 +02:00
Cohee 8034564c3e Update TTS voice preview to new popup 2024-06-26 00:41:37 +03:00
Cohee 2ef6004bd5 Update translation extension to new popup 2024-06-26 00:40:13 +03:00
Cohee d188795591 Allow vertical scrolling in new popups 2024-06-26 00:35:21 +03:00
Cohee 3e1b54c6f0 Update token counter to new popup 2024-06-26 00:26:31 +03:00
Cohee c3461307a0 Update debug menu, theme and MUI naming popups 2024-06-26 00:24:21 +03:00
Cohee 1188cb46b8 Update theme import warning to new popup 2024-06-26 00:18:44 +03:00
Cohee 0298849953 Update theme delete confirm to new popup 2024-06-26 00:15:16 +03:00
Cohee a030237641 Evaluate macro functions for every instance 2024-06-25 22:44:00 +03:00
Cohee 24ae2b6fa6 Add sanitation of macro values 2024-06-25 22:15:40 +03:00
Cohee 01d38f9218 Additional validation of custom macro keys 2024-06-25 22:02:05 +03:00
Cohee 8dab4ecb06 Add simple custom macros registration 2024-06-25 21:53:10 +03:00
Cohee 083ea43971 Update dupe character to use new popup 2024-06-25 21:34:08 +03:00
Cohee d0f59edf09 Update forbid media and field extend to new popup 2024-06-25 21:24:03 +03:00
steve green 2687618840
Update zh-cn.json (#2411)
* update zh-cn.json

* fix

* another fix
2024-06-25 17:51:47 +03:00
Risenafis 0276a2ef71 fix sanitizeId 2024-06-25 22:23:55 +09:00