Commit Graph
4944 Commits
Author SHA1 Message Date
steve02081504 3e5f98223d fixes 2024-07-25 01:33:00 +08:00
Cohee e49da60bda New mistral large model 2024-07-24 20:19:57 +03: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 590e1e39d8 hljs refinements 2024-07-23 20:49:29 -04:00
LenAnderson 8df6353725 fix some execCommand weirdness 2024-07-23 16:46:46 -04:00
LenAnderson 0d75ca9a5d add BreakController to /run closure 2024-07-23 16:27:27 -04:00
Cohee 22a7792bac #2545 Fix system tts pitch slider not working 2024-07-23 22:35:15 +03:00
Cohee cc0ae2a567 Add llama 3.1 models for groq 2024-07-23 20:25:23 +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 621ef197da don't update command progress CSS property if not changed
performance improvement from luccy
2024-07-22 18:28:30 -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
Cohee 256f0a58db Merge pull request #2542 from SillyTavern/wi-slash-commands-performance-improvements
World Info: slash commands performance improvements
2024-07-22 22:51:53 +03:00
Cohee 1e2293713d Clone WI cache only on get 2024-07-22 22:34:53 +03:00
Cohee dabcf6e994 Add config to StructuredCloneMap 2024-07-22 22:34:03 +03:00
Cohee 4de51087bc Allow cancel both by debounced and original functions 2024-07-22 22:33:48 +03:00
Cohee 17dc3fa4b5 Add debounce cancelling 2024-07-22 22:20:03 +03:00
LenAnderson 5dc7b4567d Merge branch 'staging' into parser-followup-2 2024-07-22 12:44:07 -04:00
Cohee 8777526f8a Unasync getWorldEntry 2024-07-22 15:21:07 +00:00
Wolfsblvt d57e43df54 Remove not needed await on global context 2024-07-22 09:22:02 +02:00
Wolfsblvt 7cbaa15aad Fix double cloning and unnecessary await 2024-07-22 09:11:37 +02:00
Wolfsblvt 4acf68cc30 Explicitly use async for saveWorldInfo 2024-07-22 04:23:05 +02:00
Wolfsblvt 0975843f1d WI entry update slash commands use debounced
- WI entry updates utilize debounced save
- Trade-off between consistency of possible data loss and performance issues in STscript loops that update multiple things in a WI file are not worth it.
2024-07-22 03:22:20 +02:00
Wolfsblvt 731d2864de Proper caching for loaded WI
- Implement StructurecCloneMap, which is a map that provides structured clones on both get and set
- Don't delete WI cache on save, but update the cache
- Ensure that cache is updated immediately, so any future get will load the new saved data already
- Still be consistent with clones, so requested cache data that wasn't saved isn't taken into account
2024-07-22 03:17:06 +02:00
Wolfsblvt 41c709e291 WI slash only reload world if it was selected 2024-07-22 02:11:11 +02:00
Wolfsblvt 5ef6315b25 Allow values below entry count, just warn 2024-07-22 01:42:54 +02:00
Wolfsblvt 8e3f3e9331 WI update "Order" from custom sorting button
- Adds a button that automatically updates the "Order" values of entries based on the custom sorting order ("displayIndex")
- Shows popup to choose starting value, because it's descending (default: 100)
- shows warnings/errors if any issues appear with the value
- warning inside popup if more than 100 entries exist, and a higher value has to be chosen
- Implements #2533
2024-07-22 01:30:08 +02:00
Cohee 788a13d7e3 Merge pull request #2540 from Succubyss/chatvar
Adds "chatvar" aliases & "length" alias
2024-07-22 00:36:08 +03:00
Succubyss a712e92125 moves persona's alias line upward 2024-07-21 16:19:47 -05:00
Succubyss 455f9b7a3e add "chatvar" aliases and "length" alias 2024-07-21 16:17:57 -05:00
Cohee 4ff8c69b81 Properly hyphenate 2024-07-21 22:12:38 +03:00
Cohee 5f0e74bd56 Rename PHI/aux UI fields 2024-07-21 14:29:13 +03:00
LenAnderson 4556684e76 there might not be a first or last value in the unnamed arg list 2024-07-20 16:41:01 -04:00
LenAnderson c06f422e76 restore closure vars 2024-07-20 14:03:10 -04:00
LenAnderson 427f9b9ae4 Merge branch 'staging' into parser-followup-2 2024-07-20 13:14:24 -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 bff5977f02 don't need regex symbol here 2024-07-20 12:01:00 -04:00
LenAnderson 7ab09c6432 fix unclosed block comment infinite loop 2024-07-20 12:00:50 -04:00
LenAnderson 4191e3fa09 fix /let key= not given priority 2024-07-20 12:00:22 -04:00
LenAnderson 4336253b2f fix whitespace variable to "0" 2024-07-20 11:59:52 -04:00