8657 Commits

Author SHA1 Message Date
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
zerofata
7f5ce54b1f
Add returnChunks and resultSize args to /db-search 2025-01-11 11:32:05 +13:00
Rendal
1528e2afed
Merge branch 'SillyTavern:staging' into staging 2025-01-10 16:32:03 +01:00
Rendal
a66f9bf494 Fix translation inconsistencies and typos in UI files.
This commit resolves several translation inaccuracies, grammatical errors, and formatting issues in the French UI locale and HTML files.
2025-01-10 15:27:28 +00: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
Wolfsblvt
e33c3771f5 No metadata save 2025-01-10 01:27:02 +01:00
Cohee
d78577c46d
Merge pull request #3266 from d-ber/character_import_speedup
Character import speedup by delaying tag import
2025-01-09 23:06:07 +02:00
Cohee
2ab59f5a7a chore: reformat new code 2025-01-09 22:57:43 +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
667ab77651
Merge pull request #3285 from SillyTavern/zoom-image-closing
Allow zoomed in images in chat to be closed by clicking outside
2025-01-09 21:01:19 +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
Wolfsblvt
5e881e5944 Fix chat comp label wrapping on non-chrome
- Fixes #3280
- No one noticed, because on Chrome it works, eh
2025-01-09 03:48:04 +01:00
Cohee
23779fe565 Merge branch 'release' into staging 2025-01-08 21:20:50 +02:00
Cohee
d1f1299d43
Merge pull request #3275 from erew123/release
Correct skipping RVC on AllTalk V1 Server
2025-01-08 21:20:36 +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
Cohee
5b37d22e2d
Merge pull request #3274 from SillyTavern/search-term-empty-folders
Search term search will show empty folders too
2025-01-07 22:21:43 +02: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
49fb2f4d79 Declare compiler in the inner scope #3272 2025-01-07 20:24:57 +02:00
Cohee
41a0d6919f
Merge pull request #3273 from cierru/force_chid_in_generate_quite_prompt
Add the option to specify a character for generateQuietPrompt
2025-01-07 20:18:56 +02:00
Cohee
68d8d322a9 Clarify comment regarding groups 2025-01-07 20:15: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
Cohee
5af7852465 Null Webpack compiler after run
Fixes #3272
2025-01-07 19:54:31 +02:00
cierru
57d6938d6c Added the force_chid parameter to the generateQuietPrompt function 2025-01-07 17:54:23 +05:00
d-ber
d4f23de003 fix toasts and final char selection 2025-01-06 22:41:32 +01:00
d-ber
c22ed52c72 fix function name, and minor fixes 2025-01-06 21:49:02 +01:00
Cohee
6029b51f7e
Merge pull request #3265 from SillyTavern/fix-bogus-sorting
Folders should not be sorted in the char list
2025-01-06 19:34:46 +02:00
Cohee
8bc515c6a1 Merge branch 'staging' into fix-bogus-sorting 2025-01-06 19:26:22 +02:00
Cohee
f91e1b3d2f
Merge pull request #3271 from tincansimagine/geminifeat2
Fix: Ensure "OFF" safety settings are applied to gemini-2.0-flash-exp for unfiltered responses
2025-01-06 19:25:45 +02:00
Cohee
b66c4d7206 Merge branch 'staging' into geminifeat2 2025-01-06 19:20:58 +02:00
Cohee
9062b6bc4d Whitespace clean-up 2025-01-06 19:20:04 +02:00
Cohee
0f03dcfc0f
Merge pull request #3269 from fizzAI/patch-1
Change Gemini system instruction parameter key to `systemInstruction`
2025-01-06 19:19:03 +02:00
tincansimagine
2103e6238c Fix: Apply OFF safety settings for gemini-2.0-flash-exp model 2025-01-07 02:17:09 +09:00
Fizz~
b6e7f4f493
Change Gemini system instruction parameter key to systemInstruction
Refer to https://github.com/googleapis/python-genai/blob/main/google/genai/models.py#L772, it seems like both work(?) but this is probably the more correct option if the newer library is using it
2025-01-06 11:44:11 -05:00
Cohee
d13ec29158
Merge pull request #3264 from SillyTavern/backup-config-reorg
Reorganize backup configs
2025-01-06 10:58:23 +02:00
d-ber
96cd683d0e added tag import back into importCharacter 2025-01-06 00:30:15 +01:00