Commit Graph

4778 Commits

Author SHA1 Message Date
Wolfsblvt
7de43d3a9c /stop slash command to stop generation 2024-07-03 14:44:17 +02:00
Cohee
0ca880bf60 Check for whitespace-only WI format 2024-07-02 20:32:46 +03:00
Cohee
9eb404a275 #2460 replaceAll for all workflow placeholders 2024-07-02 19:11:45 +03:00
Cohee
b66e589b30 Don't use dynatemp for unsupported backends 2024-07-02 14:17:10 +00:00
Cohee
a3031d7986 Reinforce iOS check 2024-07-02 13:47:02 +00:00
Cohee
da11ffe874 #2457 Remove screen size breakpoint from iOS cope styles 2024-07-02 07:37:07 +00:00
Cohee
e8c5ce0669
Merge pull request #2455 from SillyTavern/sanitize-group-members
validate group that all members exist
2024-07-02 10:30:17 +03:00
Cohee
b6de77935b Fix quotes style 2024-07-02 07:29:14 +00:00
Wolfsblvt
08d21e9b17 Fix warning on dynamic-styles init 2024-07-02 02:15:44 +02:00
Wolfsblvt
52b64a823d validate group that all members exist 2024-07-02 02:00:39 +02:00
Wolfsblvt
21c064fc5b Fix {{currentSwipeId}} not returning first swipe 2024-07-02 01:28:52 +02:00
Cohee
c91e7dd948 Add relative suffix to timediff macro output 2024-07-02 00:59:01 +03:00
Cohee
39c97f9b89 Fix undefined reference 2024-07-02 00:16:46 +03:00
WBlair1
4c600191fe Attempted Stability AI API & Stability AI UI fix. 2024-07-01 13:37:08 -07:00
WBlair1
7f73e982aa Simple Stability AI problem fix.
> Steps aren't used so they're removed!
> Same with CFG scale.
2024-07-01 12:17:54 -07:00
WBlair1
28613ce4fc Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2024-07-01 12:08:24 -07:00
WBlair1
84b8f77107 Stability AI changes to models.
> Engine = V2beta Image Generation
> Models now shows API models.
> Hidden steps, height, etc.
2024-07-01 12:04:23 -07:00
Cohee
1315f0968b Support all file formats for replace/update 2024-07-01 21:48:56 +03:00
WBlair1
4b356fbc60 Stability AI code fix.
> "break;" line had space before word. Oops.
> Stability hides steps, cfg, height, etc. when selected.
> Settings are loaded and saved.
> isValid state is modified now for Stability. Oops.
> Skips remote function for Stability.
2024-07-01 11:40:55 -07:00
WBlair1
07278fed31 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2024-07-01 11:09:53 -07:00
WBlair1
d6b42718a6 Stability AI support. Adds Ultra, Core, SD3. 2024-07-01 11:06:35 -07:00
Succubyss
e1e0ef8730
Augment Edit Box Input Enfasterment (#2450)
* edit box performance "fix"

Note: jQuery makes an adjustment to height or scrollHeight that pure JavaScript doesn't;+2 was the minimum I needed to not get a vertical scrollbar, so I went with +4

* Refactor

* Use debounce instead of throttle

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-07-01 20:36:18 +03:00
WBlair1
2039d5ebab Replaced V1 with V2 models instead. 2024-07-01 10:35:15 -07:00
WBlair1
e5a7ce4e3a Added StabilityAI source. 2024-07-01 09:37:17 -07:00
Cohee
2b30555f3a Use correct persona provider for /send command 2024-07-01 13:59:34 +00:00
Cohee
ce92385454
Merge pull request #2453 from SillyTavern/input-popup-respect-enter-to-send
Make input popups respect "Enter to Send" setting
2024-07-01 16:45:25 +03:00
Cohee
2ff1d600fc Check for avatar file name match in sendas 2024-07-01 13:44:01 +00:00
Wolfsblvt
1f6a91ab5d Make input popups respect "Enter to Send" setting 2024-07-01 15:32:24 +02:00
Cohee
bdc7177b61
Merge pull request #2451 from Yokayo/staging
Improve ru-ru translation
2024-07-01 13:17:47 +03:00
ThisIsPIRI
21cefc0864 Skip popup when making new chat from chat list 2024-07-01 18:16:56 +09:00
Yokayo
e626db70a2 Update locale 2024-07-01 15:29:34 +07:00
Cohee
b3f657bed5 Open group UI immediately on click 2024-07-01 00:59:51 +03:00
Wolfsblvt
5d74749fd0 Fix toasts misaligning on popup hiding 2024-06-30 23:23:39 +02:00
Cohee
1b6e816525 Swipes respect reduced motion setting 2024-07-01 00:01:22 +03:00
Cohee
de79cf74c6 Default to fast animation 2024-06-30 23:30:15 +03:00
Cohee
847f471ed2
Merge pull request #2449 from SillyTavern/loader-improvements
Loader overlay improvements & Popup.complete async
2024-06-30 23:28:32 +03:00
Cohee
da63c26258 Remove popup animation 2024-06-30 23:27:49 +03:00
Wolfsblvt
5a8973d12a Fix double transition of loader backdrop 2024-06-30 22:17:23 +02:00
Cohee
5c318cd3f3 Move preloader yoinking on animation end 2024-06-30 23:10:25 +03:00
Wolfsblvt
47f00d3755 Fix 'preloader' overlay being removed too early 2024-06-30 22:03:38 +02:00
Cohee
32a04422e7 Add guard to /times command arguments hint 2024-06-30 23:00:36 +03:00
Cohee
ddc3848b26 Fix smooth streaming for 01.AI 2024-06-30 22:50:41 +03:00
Cohee
5dba4fa448 Update SD extension to new popup 2024-06-30 22:12:44 +03:00
Cohee
be2d658a2e Update TTS extension to use new popup 2024-06-30 22:01:34 +03:00
Wolfsblvt
7344b63109 Add loader to exposed 'SillyTavern' 2024-06-30 20:51:13 +02:00
Wolfsblvt
e7e8ff06d0 Optional popup animation speed (via popup styles) 2024-06-30 20:49:16 +02:00
Wolfsblvt
da968e127b Refactor Popup.complete to async 2024-06-30 20:44:29 +02:00
Cohee
1d780feb08 Fix dice extension menu position 2024-06-30 21:19:07 +03:00
Wolfsblvt
aff4138263 Update loader to use modal dialog overlay 2024-06-30 19:45:42 +02:00
Wolfsblvt
241876be83 Fix extension update opening popup twice 2024-06-30 19:42:17 +02:00
Cohee
8ce2af16fb Fix endless animation if recaption is aborted 2024-06-30 19:20:39 +03:00
Cohee
67d2bb9891 Fix file pasting not working if Firefox 2024-06-30 19:13:13 +03:00
Cohee
2a3e71bf6e Force reinitialize when chat changed 2024-06-30 14:06:31 +03:00
Risenafis
d3a7466929
remove line break 2024-06-30 16:22:05 +09:00
Risenafis
26d506874f
prevent parallel execution of initVoiceMap 2024-06-30 13:58:51 +09:00
Cohee
4828bd95f3 Animate recaption image 2024-06-30 01:19:43 +03:00
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
sasha0552
6c87dfe10d
Add a token counting endpoint for vLLM 2024-06-26 13:34:02 +00: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