6212 Commits

Author SHA1 Message Date
Cohee
ce680f8da3
Merge pull request #2541 from SillyTavern/wi-update-order-from-custom
WI update "Order" from custom sorting button
2024-07-22 19:42:00 +03:00
Cohee
67f83250cd
Merge pull request #2543 from LenAnderson/streaming-performance
Remove DOM queries and jQuery during streaming
2024-07-22 19:24:41 +03:00
LenAnderson
ded6536b06 remove dom queries and jQuery during streaming 2024-07-22 11:50:45 -04:00
Cohee
8777526f8a Unasync getWorldEntry 2024-07-22 15:21:07 +00:00
Cohee
f3cfc4c3c9 Disalow x-forwarded headers in CORS redirect 2024-07-22 14:19:20 +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
e40d440d78
Merge pull request #2537 from SillyTavern/substance-over-form
Substance over form
2024-07-21 23:04:57 +03:00
Cohee
4ff8c69b81 Properly hyphenate 2024-07-21 22:12:38 +03:00
Cohee
f1cd099849 Un-abbreviate PHI 2024-07-21 22:09:48 +03:00
Cohee
5f0e74bd56 Rename PHI/aux UI fields 2024-07-21 14:29:13 +03:00
Cohee
21cdfa1dfa Async load of extensions info 2024-07-20 14:08:24 +03:00
Cohee
5f2a73ac9f Expose "Allow fallback providers" for OpenRouter 2024-07-19 23:34:16 +03:00
Cohee
d8809238a7
Merge pull request #2534 from blackmesataiwan/staging
Update language code for Chinese Traditional translations(zh-TW) on LibreTranslate endpoint.
2024-07-19 18:09:14 +03:00
blackmesataiwan
09b08a49d3 Update language code for Chinese translations(zh-TW)
The code changes in `translate.js` update the language code for Chinese translations. The `zh-TW` language code is changed to `zt`. This ensures consistency and compatibility with the translation system(https://libretranslate.com/languages).
2024-07-19 19:44:00 +08:00
Cohee
3cbbb2fe39 Use eventSource instead of DOM click 2024-07-19 02:12:01 +03:00
Cohee
3c059d19ef #2529 Prioritize disabled for UI entry state 2024-07-19 01:54:49 +03:00
Cohee
52497ea96d Interrupt Comfy gens on cancel 2024-07-19 00:39:21 +03:00
Cohee
7e4abaabff Interrupt AUTO1111 gens on cancel 2024-07-19 00:01:24 +03: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
88acb568ad
Merge pull request #2530 from SillyTavern/gpt-4o-mini
Add gpt-4o-mini
2024-07-18 22:55:10 +03:00
Cohee
4468bf5034 Explicitly add to image inlining list 2024-07-18 22:54:44 +03:00
Cohee
f9e16d2225 Add to multimodal captions 2024-07-18 22:51:47 +03:00
Cohee
ff68956371 Add events to SlashCommandAbortController 2024-07-18 22:47:57 +03:00
Wolfsblvt
318b6a17b9 Add gpt-4o-mini 2024-07-18 21:37:18 +02:00
Wolfsblvt
e6995e40cc Update /qr-delete help string and add missing arg
- Fixes #2527
2024-07-18 18:47:13 +02:00
Cohee
b9e03e9cb1 Add Mistral Nemo and Codestral Mamba models 2024-07-18 16:37:12 +00:00
Cohee
a2c9e70082 Revert WASM worker threading 2024-07-17 15:02:27 +00:00
Cohee
c3d04066bc Allow WASM threading for non-Android. Fix eslint for transformers.mjs 2024-07-17 12:48:59 +00:00
Cohee
921297f1e5 Fix stats init for new users 2024-07-17 11:19:22 +00:00
Wolfsblvt
a81b1c4a33 Add tooltips to prompt itemization buttons 2024-07-17 01:31:34 +02:00
Cohee
cd8cc70e4f Add custom macro for latest {{summary}}. 2024-07-17 00:10:40 +03:00
Cohee
345bae4fc0 Fix unknown relative extension injects not working in Chat Completion 2024-07-16 23:29:16 +03:00
Cohee
07ac2460e2 Add vector storage to prompt itemization 2024-07-16 22:51:15 +03:00
Cohee
56f0775581 Fix swipeId .mes attribute not updating on swipe. 2024-07-16 22:10:54 +03:00
Cohee
fbd8e94100
Merge pull request #2524 from Succubyss/layman-REPLACE_GETVAR
Includes a layman's explanation of REPLACE_GETVAR in its tooltip
2024-07-15 21:32:36 +03:00
Succubyss
921ae16391
layman's explanation of REPLACE_GETVAR 2024-07-15 13:17:30 -05:00
Wolfsblvt
6f936bc997 I can't spell. Don't look at it. 2024-07-15 00:46:45 +02:00
Cohee
558bbce919 Fix phone scrolling of logprobs 2024-07-15 01:18:54 +03:00
Cohee
11155770e4 Add widget resize 2024-07-15 00:44:50 +03:00