5100 Commits

Author SHA1 Message Date
Wolfsblvt
b89d41a701 Refactor prepare/redraw for consistency 2025-01-11 02:31:14 +01:00
Wolfsblvt
3455da404a Add QR set duplicate button 2025-01-11 02:22:10 +01:00
Wolfsblvt
0f45ebda03 Refactor QR set popups to new popup 2025-01-11 01:59:38 +01:00
Wolfsblvt
4c1c62a56b Add QR set rename button 2025-01-11 01:41:46 +01:00
Cohee
a62fa3b073
Merge pull request #3287 from SillyTavern/fix-first-included-message-id-macro
Fix `{{firstIncludedMessageId}}` to not rely on DOM
2025-01-10 12:17:09 +02:00
Cohee
1807af355b
Merge pull request #3284 from SillyTavern/css-var-slash-command
Add `/css-var` slash command
2025-01-09 22:49:14 +02:00
Cohee
efeedc1274 Revert gallery selector changes 2025-01-09 22:39:40 +02:00
Cohee
f869b26664 Ensure unique selectors for loaded extension files 2025-01-09 22:32:15 +02:00
Wolfsblvt
7a2276c176 Fix {{firstIncludedMessageId}} to not rely on DOM
Up until now, the {{firstIncludedMessageId}} macro relied on searching the DOM for the actual CSS class applied for the context line.
Bad design, as the actual message was maybe not display, with display X messages enabled.

- Use setInContextMessages() that sets the context line on generation to also update a chat metadata field
- Utilize that field inside the macro
- Update docs to clarify that this will only show the mesid that was relevant during last generation
2025-01-09 21:23:18 +01:00
Cohee
b604588638 Add scroll option to /chat-render command 2025-01-09 21:15:34 +02:00
Cohee
a585f3abcc Add {{firstDisplayedMessageId}} macro 2025-01-09 21:12:34 +02:00
Cohee
0a03793d7b Add /chat-render and /chat-reload commands 2025-01-09 21:10:12 +02:00
Cohee
9be04fd69f Fix <code> tag structure 2025-01-09 20:58:36 +02:00
Wolfsblvt
ba73d278ae Allow zoomed in images be closed by click outside
- Add event listener to close image enlarge popup when clicked outside of image or description
- Change img div to not be width:100% by default, was useless and just confusing when you could click next to the image and it zoomed in
2025-01-09 19:16:48 +01:00
Wolfsblvt
a8b5f8a95f Add /css-var slash command
- Add /css-var slash command to set CSS variables on some elements
- Update gallery div id to something actually unique ("#draggable_gallery")
2025-01-09 18:37:50 +01:00
Cohee
23779fe565 Merge branch 'release' into staging 2025-01-08 21:20:50 +02:00
Cohee
2b3e44cca3 Clear custom model selection on loading presets 2025-01-08 02:06:29 +02:00
erew123
5ea8309a30
Change check from ! not to is == V2 2025-01-08 00:01:36 +00:00
Cohee
1557dec2bc Revert "Don't auto-select custom model to the first model in the list"
This reverts commit d791b54528318f71d7653c690a032ba47b863b6e.
2025-01-08 01:46:31 +02:00
erew123
de8ecc6903
Correct skipping RVC on AllTalk V1 Server
Silly bug that caused the extension when used with the legacy V1 AllTalk server, would cause it to skip downloading Narrator voices.

Literally changed "v2" to "v1" on line 391

No other changes.
2025-01-07 23:20:53 +00:00
Wolfsblvt
7b5baad5cd Search term search will show empty folders too
- Char list did hide folders with 0 sub entities inside. This also applied to any search being done. Now when searching, if a tag/folder matches, it is shown, even if the chars inside don't match. Before that, it was not possible to "search" for tags without the "Advanced Character Search" enabled
2025-01-07 20:54:52 +01:00
Cohee
d791b54528 Don't auto-select custom model to the first model in the list 2025-01-07 20:39:35 +02:00
Cohee
d7b3a56c3d chore: await before returning 2025-01-07 20:07:41 +02:00
Cohee
81841ca2a6 WebLLM: use current tokenizer if not available 2025-01-07 20:01:59 +02:00
Wolfsblvt
9264008766 Folders should not be sorted in the char list
- Folders respect the chosen sorting of the "Tag Management"
- They will still always be displayed on top
- They will now not follow any chosen list sorting, so do not get changed based on alphabetical sorting of the char list
2025-01-05 20:27:20 +01:00
Cohee
989f5a8692 Image Gen: don't generate a new swipe seed if already using a random seed 2025-01-05 00:49:23 +02:00
Cohee
6552038712 Update no validate warning 2025-01-04 14:16:25 +02:00
Rivelle
fae11fc04a
Update personas.js: fix i18n 2025-01-04 15:14:14 +08:00
Rivelle
81cb3430bb
Update openai.js: fix i18n 2025-01-04 15:12:55 +08:00
Cohee
0a8fae06c2 Don't set an undefined theme field to an empty string 2025-01-04 00:07:26 +02:00
Cohee
77bee453ab Vectors: Add only custom boundary chunking 2025-01-03 20:44:25 +02:00
Cohee
02900520c9 chore: Add index property to HashedMessage 2025-01-03 03:09:16 +02:00
Cohee
eff4da42c5 Vector storage: skip for quiet prompts 2025-01-03 03:04:45 +02:00
Cohee
2f5f9a437d Allow running generate interceptors on quiet prompts 2025-01-03 01:10:14 +02:00
Cohee
fc4fecf0fd Add model hash to TC API tokenizer cache key 2025-01-02 23:49:22 +02:00
Cohee
40b05bb6b1 Add best match tokenizer logic for DeepSeek and Nemo 2025-01-02 23:22:53 +02:00
Cohee
d0e1c3287a NovelAI: Fix scheduler auto-assign 2025-01-02 22:58:06 +02:00
Cohee
2c5cffe6be Typo fix in data-i18n attr 2025-01-01 17:12:36 +02:00
Cohee
e45d2252aa Allow admin actions when accounts are disabled 2025-01-01 15:00:59 +02:00
waht
cf8bb8817b bug fix, use data-i18n="[title]Extensions" 2025-01-01 10:52:01 +08:00
Cohee
9e6db659d9 Fix icon lookup logic for system prompts in PromptManager 2025-01-01 00:22:08 +02:00
Cohee
7c879a3abc Farewell system icon 2024-12-31 23:42:06 +02:00
Cohee
e9c9dda3fb Remove unspecified role, hide icons for non-custom prompts of non-system roles 2024-12-31 23:28:52 +02:00
Cohee
569f9a2091 Popup: do not require body text on input/confirm 2024-12-31 22:59:08 +02:00
Cohee
48e5c11f9b Change icon for preset prompt 2024-12-31 21:17:15 +02:00
Cohee
f43f057b07 Merge branch 'staging' into role-icons-for-PM 2024-12-31 20:53:12 +02:00
Cohee
6d0f58c862
Merge pull request #3244 from waht41/bugfix/extension-translate
bug fix, translate extension button
2024-12-31 20:50:08 +02:00
Cohee
b4c275f9e4 Move translation to HTML template 2024-12-31 20:49:29 +02:00
Cohee
170378e615
Merge pull request #3245 from Succubyss/revert-manual_selection
Reverts MANUAL_SELECTION from tokenizers.js
2024-12-31 20:46:11 +02:00
Succubyss
97dc041777 Revert MANUAL_SELECTION
This partially reverts commit c89804677a461f9854403e8ec8826e273f2bf18c (keeps the turbo-0301 removal).
2024-12-31 11:18:43 -06:00