Commit Graph

1393 Commits

Author SHA1 Message Date
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
Cohee 5b3388d0c8 Use common methods for extras summary 2024-08-12 23:08:11 +03:00
Cohee 8685c2f471 Add WebLLM extension summarization 2024-08-12 23:01:03 +03:00
Cohee 77ab694ea0 Add shared utilities for generating text with WebLLM 2024-08-12 22:07:44 +03:00
Cohee 8df27254fd
Merge pull request #2640 from edk208/release
Adding Block Entropy API endpoints for chat, image, and video generation
2024-08-11 16:19:14 +03:00
Edward Kim 88ada0f67d fixed ordering in image generation source, and max token length for llm models 2024-08-10 21:55:52 -04:00
Edward Kim 08d5a2826f fixed generation endpoints, added animation via gifs 2024-08-10 13:07:52 -04:00
RossAscends 06efdf17d8 clarify regex editor tooltips 2024-08-10 18:12:45 +09:00
RossAscends ffb374b8f3 clarify Regex editor "only" toggles. 2024-08-10 18:07:39 +09:00
Cohee 6683ae810f Replace mobile TTS placeholder text
Closes #2631
2024-08-09 10:17:06 +03:00
Edward Kim b9857eb315 Added block entropy endpoints for chat and image 2024-08-08 00:08:03 -04:00
Cohee f0b13d3172 Allow wand SD gens when LLM not connected 2024-08-07 20:58:36 +03:00
Cohee 6637bc3052 Emit events on caption and SD image messages 2024-08-05 21:22:40 +03:00
RossAscends 64e716bb62 async for resetScrollHeight, slightly faster WI/AF panel loads 2024-08-05 12:03:46 +09:00
Azariel Del Carmen 5d0581603b
fix: LLM Classifier Defaulting to Last Spoken Character's Expression For All Characters in Group Chats (#2605)
* fix: fix llm expression classifier on group chats

* chore: adjust some things

* fix: exisiting chats defaulting to last character's sent message

* chore: use dual awaits than promise

* chore: restore allSettled and separate await call for llm only

* chore: move classification to generateRaw

* chore: remove characterId

* chore: revert some placements back to how they were

* chore: remove uneeded imports
2024-08-04 13:24:24 +03:00
Cohee 68de3fed59
Merge pull request #2594 from SillyTavern/sd-stop
Image generation stop handling
2024-08-03 12:06:50 +03:00
Wolfsblvt d84fef0478 Fix SD wand entry not always being clickable 2024-08-03 00:10:46 +02:00
Wolfsblvt 7d46ca212b Expand/show DS prompt gen error 2024-08-03 00:06:48 +02:00
Cohee 4b61bcc741
Merge pull request #2600 from Succubyss/gemini-1.5-pro-exp-0801 2024-08-02 21:39:19 +03:00
Succubyss 3f6e4fabb8 gemini updates 2024-08-02 13:30:54 -05:00
Cohee 7498018ac6 Fix incorrectly self-closed div tags 2024-08-02 00:07:30 +03:00
Cohee 41af05769b Add separate imagegen stop button
Closes #2591
2024-08-01 23:57:24 +03:00
Cohee 40ee236ca8 Add multimodal captioning for 01.ai 2024-08-01 01:34:49 +03:00
LenAnderson 88d3771863 compile LESS 2024-07-30 16:00:41 -04:00
LenAnderson 92eec72c6d draw attention to debug buttons 2024-07-30 16:00:32 -04:00
LenAnderson 3343f3122b stop chat input and progress bar from collapsing 2024-07-30 16:00:13 -04:00
Wolfsblvt 7c27211bc9 QR label alignment/wrapping 2024-07-30 20:51:55 +02:00
Wolfsblvt 023bd840fa Fix QR context error on no set chosen 2024-07-30 19:54:17 +02:00
LenAnderson 18e3659914 fix syntax loop debugger misalignment 2024-07-29 21:43:38 -04:00
LenAnderson 1d4c44fcf6 fix AbortController missing from imported closures 2024-07-29 21:01:58 -04:00
LenAnderson 039c27e201 add "for {{input}}" comment to chat input placeholder and title 2024-07-28 08:33:18 -04:00
LenAnderson 2470f775e2 Merge branch 'staging' into parser-followup-2 2024-07-28 08:32:25 -04:00
Cohee 87e562b752 Allow "none" position for extension prompt injects 2024-07-28 00:26:44 +03:00
LenAnderson b5d90a4259 let /qr-arg overwrite wildcard macros 2024-07-27 15:30:50 -04:00
Cohee 8dd5d9321d Fix gallery duplicate uploads 2024-07-27 18:00:30 +03:00
Cohee e1700f9a14 Fix gallery paging overflow 2024-07-27 16:35:00 +03:00
Cohee d214c18156 #2566 Cache expressions list for LLM API 2024-07-27 13:57:39 +03:00
Cohee 0253ef9cfd Merge branch 'staging' into dvh-units 2024-07-26 11:09:49 +00:00
LenAnderson 19c7e1c763 Merge branch 'staging' into parser-followup-2 2024-07-25 18:02:29 -04:00
steve02081504 3e5f98223d fixes 2024-07-25 01:33:00 +08:00
LenAnderson 8cb31d2f7b Merge branch 'staging' into parser-followup-2 2024-07-24 08:39:00 -04:00
steve02081504 fe89bc9cdf little fix 2024-07-24 10:47:52 +08:00
steve green 021edfdb2e Update zh-cn.json
- Remove the carriage return from Key so that I18N will work properly in some browsers.
- Append two HTML files that will not actually be utilized so that the I18N tool will work properly.
2024-07-24 10:40:18 +08:00
LenAnderson 59c617a7a7 adjust debugger highlights for scroll position 2024-07-23 20:49:49 -04:00
LenAnderson 8df6353725 fix some execCommand weirdness 2024-07-23 16:46:46 -04:00
Cohee 22a7792bac #2545 Fix system tts pitch slider not working 2024-07-23 22:35:15 +03:00
LenAnderson 80879e0c51 don't try to parse empty qrJson on add from text 2024-07-23 11:40:23 -04:00
Yokayo e857ee8713 Update tl 2024-07-23 18:42:44 +07:00
LenAnderson 3b2dcd60da add console warning when delete set is not found in list 2024-07-22 19:06:02 -04:00
LenAnderson 133a3663f4 await API calls 2024-07-22 18:48:01 -04:00
LenAnderson 2ac2a2537d don't cancel syntax highlight update if previously disabled 2024-07-22 18:25:43 -04:00
LenAnderson 2b653ac8a1 sync scroll after syntax highlight update 2024-07-22 18:25:16 -04:00
LenAnderson 0d8436aec6 rename syntax highlight update loop 2024-07-22 18:24:57 -04:00
LenAnderson 365903b64d use deprecated execCommand to retain undo-history 2024-07-20 13:10:55 -04:00
LenAnderson ddeacd4524 shorter message update debounce 2024-07-20 13:10:20 -04:00
LenAnderson c3a51af2f3 firefox compat 2024-07-20 12:28:16 -04:00
LenAnderson 5712128ac0 improve QR editor performance
- only run hljs with syntax enabled
- only check localStorage once, then rely on the checkbox
- run hljs on a 30fps loop instead of event-based
- use morphdom to update syntax dom instead of innerHTML
2024-07-20 12:16:47 -04:00
LenAnderson 7a99a068e6 Merge branch 'staging' into parser-followup-2 2024-07-19 07:28:41 -04:00
LenAnderson ae90966f43 add debugger button states 2024-07-18 19:57:05 -04:00
LenAnderson 03eb04e8f9 verify QR paste JSON and allow non-JSON pastes 2024-07-18 19:47:35 -04:00
Cohee 3cbbb2fe39 Use eventSource instead of DOM click 2024-07-19 02:12:01 +03:00
LenAnderson 896d43ade7 add QR delete confirm 2024-07-18 18:39:32 -04:00
LenAnderson 1d3b2a31c6 change color border -> accent 2024-07-18 18:33:42 -04:00
LenAnderson 4340143b7b fix "Fix keyboard interaction on item adder" 2024-07-18 18:11:32 -04:00
LenAnderson 0c04f06c59 Merge branch 'staging' into parser-followup-2 2024-07-18 18:08:10 -04:00
LenAnderson 01db776998 add "add QR" to QR switcher 2024-07-18 18:07:04 -04:00
LenAnderson ab6b7f6200 add icon to QR switcher "switch sets" 2024-07-18 18:06:52 -04:00
Cohee 739752ccf3 Fix aborting via hourglass 2024-07-18 23:32:20 +03:00
Cohee 1effb66fd6 Add cancelling of SD gens 2024-07-18 23:23:33 +03:00
Cohee f9e16d2225 Add to multimodal captions 2024-07-18 22:51:47 +03:00
Wolfsblvt e6995e40cc Update /qr-delete help string and add missing arg
- Fixes #2527
2024-07-18 18:47:13 +02:00
LenAnderson 8a55d64158 Merge branch 'staging' into parser-followup-2 2024-07-17 17:43:49 -04:00
Wolfsblvt 240048f833 Fix gap between icon and label, label min width 2024-07-17 20:04:01 +02:00
Wolfsblvt 8436082fef Make QR quick buttons aligned 2024-07-17 19:51:37 +02:00
Wolfsblvt a4a38e662e Fix keyboard interaction on item adder 2024-07-17 19:26:54 +02:00
Wolfsblvt 9d7ea745b2 Add 1px margin to qr item adder 2024-07-17 19:24:20 +02:00
Wolfsblvt b291014a95 Resize FA icon in QR editor, add label caption 2024-07-17 19:20:38 +02:00
Cohee cd8cc70e4f Add custom macro for latest {{summary}}. 2024-07-17 00:10:40 +03:00
LenAnderson c3bd64e204 add #send_textarea mirror to QR debugger 2024-07-16 15:54:52 -04:00
LenAnderson cda920df08 fix toolcool color picker some more 2024-07-16 15:39:07 -04:00
LenAnderson 2a9ba4aec4 fix alphabetical order of QR Sets 2024-07-16 11:00:59 -04:00
LenAnderson 25c86b65ac add quick QR switcher to editor 2024-07-16 10:51:02 -04:00
LenAnderson ea84eddc3e add getSetByQr 2024-07-16 10:41:56 -04:00
LenAnderson 5478b69253 add icon= and showLabel= to /qr-create and /qr-update 2024-07-16 09:29:31 -04:00
LenAnderson b51bf8e38e fix QR update/delete by ID 2024-07-15 19:42:36 -04:00
LenAnderson d773174bad there was a reason I wanted to use confirm, dammit 2024-07-15 18:25:48 -04:00
LenAnderson ff39902f12 align show label checkbox on baseline 2024-07-15 18:08:44 -04:00
LenAnderson 696c24051f fix color picker widget defaulting to black instead of its initial value and firing change event when added to DOM 2024-07-15 18:07:36 -04:00
LenAnderson db1094e391 add block comments with shortcut and breakpoint shortcut 2024-07-14 18:58:13 -04:00
Cohee b7a1474d7b Switch to dynamic viewport units 2024-07-15 00:42:16 +03:00
LenAnderson 82dd53f166 fix color without dom 2024-07-14 17:02:24 -04:00
LenAnderson e256e55268 remove traces of execute on hide 2024-07-14 17:01:08 -04:00
LenAnderson 9a9befeb63 remove second step-out button? 2024-07-14 16:59:34 -04:00
LenAnderson 95cc4d3ccb add minimized debugger 2024-07-14 16:58:19 -04:00
LenAnderson ddce6c4e89 clear QR Set color and bg adjustments 2024-07-14 14:13:57 -04:00
LenAnderson a8d4e12419 adjust QR set colors for combined buttons 2024-07-13 15:03:52 -04:00
LenAnderson 9f9553db44 add QR set colors 2024-07-13 14:45:35 -04:00
LenAnderson 8621fdbfa3 jsdoc type casing 2024-07-13 14:23:49 -04:00
LenAnderson 387ef83b72 nowrap in debugger call stack source 2024-07-13 14:15:55 -04:00
LenAnderson 4a4218f49a prevent popup close while debugging
breaks shit, but that's a popup problem
2024-07-13 14:15:41 -04:00
LenAnderson 67bcb6be3b Merge branch 'staging' into parser-followup-2 2024-07-13 13:50:28 -04:00
Cohee 9f17097976 Normalize SD prompt strings 2024-07-13 12:20:13 +03:00
Cohee 31dbb5144e Don't sanitize lt and gt from SD prompts 2024-07-13 12:12:50 +03:00
LenAnderson 40c5430b14 fix debug button mask repeat 2024-07-12 15:05:57 -04:00
LenAnderson 968340c024 fix key listener not updating message 2024-07-12 13:42:22 -04:00
LenAnderson 9446c487e9 add debugger icons 2024-07-12 13:41:55 -04:00
LenAnderson 3327be5468 Merge branch 'staging' into parser-followup-2 2024-07-12 08:33:28 -04:00
Cohee b80ed958ae Run summarize after QR execution 2024-07-11 22:26:49 +03:00
LenAnderson 1a18b5b180 add referencing QRs by ID 2024-07-10 22:39:21 -04:00
LenAnderson 977d98e7e8 add /import to import closures from other QRs 2024-07-10 19:52:13 -04:00
Theros 51f09c1382 Changes: use Fail message as toast title, only show actual message with fallback. 2024-07-11 00:12:39 +01:00
LenAnderson 5df932a76d add icon support to QR context menu 2024-07-10 18:44:58 -04:00
Theros fee36419ac Includes captioning error messages in toast 2024-07-10 23:41:06 +01:00
LenAnderson 4ecfa53b3e fix no op when adding QR set to global/chat and first set already included 2024-07-10 17:56:34 -04:00
LenAnderson 6d003cf140 Merge branch 'staging' into parser-followup-2 2024-07-10 17:35:17 -04:00
LenAnderson ba1761d90a more export/import options
- export QR as JSON
- copy QR to clipboard
- cut QR (copy to clipboard and delete)
- transfer QR to other QR Set
- paste QR from clipboard
- import QR from JSON file
- add/paste/import buttons between existing QRs
2024-07-10 17:34:48 -04:00
Cohee edb4856840 Fix SD wand item not working with reduced motion on phone 2024-07-10 23:38:05 +03:00
Cohee 526d41edc3 Expose playFullConversation to UI 2024-07-10 23:32:00 +03:00
Cohee 21de199b0f Sanitize entered URLs 2024-07-10 21:44:09 +03:00
Cohee 75382b77ea Rewrite some messages 2024-07-10 21:38:15 +03:00
Wolfsblvt 75d4a06ae6 Change asset load confirm to new popup 2024-07-10 20:10:16 +02:00
Wolfsblvt 91b5be2554 Give hint on extension link as asset list :3 2024-07-10 18:24:09 +02:00
Wolfsblvt 03d4f86d59 Make it flash and be more obvious 2024-07-10 18:12:01 +02:00
Wolfsblvt 0987fd34b9 Add info and explanation to asset list area 2024-07-10 17:59:44 +02:00
LenAnderson ffd44b622f add font-awesome icons to QR buttons 2024-07-09 13:28:21 -04:00
LenAnderson aed6952a37 align source right 2024-07-09 08:21:39 -04:00
LenAnderson 60275e3dce better handling of anonyous source 2024-07-09 08:21:26 -04:00
LenAnderson 6cc523b805 show source in message label 2024-07-08 18:21:07 -04:00
LenAnderson 75317f3eb4 better stepping into other scripts, with source indicator 2024-07-08 18:07:37 -04:00
LenAnderson 610ba54137 Merge branch 'staging' into parser-followup-2 2024-07-07 08:01:36 -04:00
Cohee 6dbbf89d65 #2482 Fix embedded content confirmation 2024-07-06 16:55:57 +03:00
Cohee c55ad419dd Clean-up console logs 2024-07-06 15:29:47 +03:00
LenAnderson 76f14869f6 Merge branch 'staging' into parser-followup-2 2024-07-05 19:16:38 -04:00
LenAnderson 42cad6dd1a don't add args._scope etc to macros 2024-07-05 19:14:45 -04:00
LenAnderson 3144c219fa add {{arg::*}} to replace missing args with empty string 2024-07-05 19:14:30 -04:00
LenAnderson 88718d89bc add /qr-arg for {{arg::...}} fallbacks 2024-07-05 19:14:00 -04:00
LenAnderson ba0f5427cf add missing semicolon 2024-07-05 18:53:55 -04:00
Cohee 66c4824a8a Fix ComfyUI workflow not saving 2024-07-06 01:14:47 +03:00
LenAnderson dce4d0c23e Merge branch 'staging' into parser-followup-2 2024-07-05 08:59:11 -04:00
Cohee 54dea56a77 Selectable VAE for AUTO1111 2024-07-05 00:59:34 +03:00
LenAnderson 27837a56b1 Merge branch 'staging' into parser-followup-2 2024-07-04 17:06:42 -04:00
LenAnderson db1cf54929 cleanup 2024-07-04 16:54:37 -04:00
LenAnderson 0fc9b11adf fix key conflicts in QR editor 2024-07-04 16:53:39 -04:00
Cohee b682519042 Hide sampling method select from unsupported backends 2024-07-04 23:00:33 +03:00
Cohee 220051b933 Type cast to string 2024-07-04 22:54:43 +03:00
Cohee 5da3921907 Make generation actually work 2024-07-04 22:51:47 +03:00
Cohee e32b0cc223 Move Stability generation to backend 2024-07-04 22:36:17 +03:00
LenAnderson 8e90e2a0e4 fix editor hotkeys and autocomplete interfering 2024-07-04 12:21:31 -04:00
LenAnderson a1341fbcab fix tab indent line detection 2024-07-04 12:21:15 -04:00