1
0
mirror of https://github.com/SillyTavern/SillyTavern.git synced 2025-03-14 19:10:09 +01:00

7400 Commits

Author SHA1 Message Date
Cohee
858b750346 Document the magic number for future generations 2025-03-05 09:26:16 +00:00
Cohee
5d69189f8f Hard limit hotswaps to 25 entries 2025-03-04 23:49:32 +02:00
Cohee
c48ecc67b2 Merge branch 'staging' into char-shallow 2025-03-04 23:32:47 +02:00
Cohee
3d813e4ef6 Move shallow toggle to config.yaml 2025-03-04 23:32:42 +02:00
Cohee
8d608bcd72
Add gallery folder and sort order controls ()
* Add gallery folder and sort order controls
Closes 

* Refactor sort constants to use Object.freeze for immutability

* Add comment

* Remove excessive null propagation

* Update type hint for gallery.folders

* Use defaultSettings.sort as a fallback

* Throw in groups

* Handle rename/deletion events

* Merge init functions

* Fix multiple gallery file uplods

* Add min-height for gallery element

* Fix gallery endpoint not parsing body

* translatable toasts

* Pass folder path in request body

* Change restore pictogram

* Add title to gallery thumbnail images

* Allow optional folder parameter in image list endpoint and handle deprecated usage warning

* Add validation for folder parameter in image list endpoint

* Add border to gallery sort selection

* Remove override if default folder is set to input

* Use server-side path sanitation

* Sanitize gallery folder input before updating

---------

Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
2025-03-04 23:16:56 +02:00
Cohee
383806325a Add shallow character load mode 2025-03-04 10:00:12 +00:00
Cohee
70f762c006
Merge pull request from bmen25124/error_field_check_custom_request
Added error field check
2025-03-04 08:51:55 +02:00
bmen25124
28fc498ee6 Added error field check 2025-03-04 03:39:00 +03:00
Cohee
7be6e0d5af Fix continue duplicating reasoning block 2025-03-04 00:42:50 +02:00
bmen25124
7d568dd4e0
Generic generate methods ()
* sendOpenAIRequest/getTextGenGenerationData methods are improved, now it can use custom API, instead of active ones

* Added missing model param

* Removed unnecessary variable

* active_oai_settings -> settings

* settings -> textgenerationwebui_settings

* Better presetToSettings names, simpler settings name in getTextGenGenerationData,

* Removed unused jailbreak_system

* Reverted most core changes, new custom-request.js file

* Forced stream to false, removed duplicate method, exported settingsToUpdate

* Rewrite typedefs to define props one by one

* Added extractData param for simplicity

* Fixed typehints

* Fixed typehints (again)

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-03 10:30:20 +02:00
Cohee
0088333ebf WI: Fix adding empty text to recursion buffer 2025-03-03 00:05:35 +02:00
Cohee
59ee2e1302
Merge pull request from Tosd0/staging
zh-CN translation
2025-03-02 23:30:15 +02:00
Cohee
074f54d995 Unhide nsigma for kobocpp 2025-03-02 23:04:18 +02:00
Cohee
5ecfbf3933 Fix element id for nsigma 2025-03-02 23:01:34 +02:00
Sevenyine
b1acfec825 Supplemented translations 2025-03-02 16:44:53 +08:00
Sevenyine
6e6d1b24eb Delete unused i18n keys 2025-03-02 16:33:54 +08:00
Sevenyine
6e15e4875d Update i18n keys in other languages due to changes in index.html 2025-03-02 16:31:40 +08:00
Sevenyine
0a89d9ca6f zh-CN translation 2025-03-02 15:28:46 +08:00
Wolfsblvt
810d954d12 Add missing samplers to TC restore preset 2025-03-02 00:26:47 +01:00
Cohee
64e1fd5f71
Merge pull request from qvink/specify_api_for_preset_list
Allow specifying API in presetManager.getPresetList()
2025-03-02 01:07:03 +02:00
Cohee
590ad6235b
Merge pull request from DAurielS/novelai-image-update
Added support for NovelAI Diffusion V4 Full via API to Image Generation extension.
2025-03-02 01:05:35 +02:00
Cohee
7522fa2e79
Revert "Account for generated depth on non-continue" 2025-03-02 00:55:52 +02:00
qvink
ede9f242af Allow specifying API in presetManager.getPresetList() 2025-03-01 15:54:18 -07:00
Daryl
3a2d29b5cb Responding to PR change reviews 2025-03-01 17:21:11 -04:00
Cohee
b95dd04fbe
Merge pull request from SillyTavern/chalk-lib
Use chalk lib for console colorization
2025-03-01 19:04:31 +02:00
Reithan
0bedb6e0ff Autoformat 2025-03-01 05:49:18 -08:00
Reithan
ccd6a1631a Account for generated depth on non-continue 2025-03-01 05:48:11 -08:00
Cohee
45d8cac5a9 Fix /go command 2025-03-01 14:30:18 +02:00
Daryl
8271bf36c7 Updated the processReply method to NOT remove pipe | or hash # characters when the selected model is nai-diffusion-v4 curated or full. 2025-03-01 02:06:26 -04:00
Daryl
d788c2fbb5 Added support for NovelAI Diffusion V4 Full via API to Image Generation extension. 2025-03-01 01:30:42 -04:00
Cohee
8a750c6341 Restore chosen AllTalk version on load 2025-03-01 01:33:39 +02:00
Cohee
868e97804a Use chalk lib for console colorization 2025-03-01 00:56:50 +02:00
Cohee
63b95ef504 Add i18n attr for deprecation notice 2025-03-01 00:52:53 +02:00
Cohee
385ef46a2b Add deprecation warning for Extras API in extensions pane 2025-03-01 00:52:26 +02:00
Cohee
969156d819
Merge pull request from SillyTavern/chid-unify-type
Always use string for this_chid
2025-03-01 00:04:21 +02:00
Cohee
639c0235f9 Handle 'object' case as indexOf 2025-02-28 23:37:35 +02:00
Cohee
284bac9b49 Add type of this_chid 2025-02-28 22:51:34 +02:00
Cohee
af5e9aa518 Fix shift-click in bulk for first in list 2025-02-28 22:44:10 +02:00
Cohee
e91387c60b Fix rate and pitch for system tts
Closes 
2025-02-28 22:18:53 +02:00
Cohee
b3eb6e071f Merge branch 'staging' into chid-unify-type 2025-02-28 22:04:14 +02:00
Cohee
40720971c5 Hide unsupported language warning for 'en' 2025-02-28 21:55:48 +02:00
Cohee
abe55ec905 Add class to language selector 2025-02-28 21:51:06 +02:00
Cohee
ea59dcc30e Equalize group action button heights 2025-02-28 21:34:10 +02:00
Cohee
4f224550f6 Hide "persona connections" in create form 2025-02-28 21:26:16 +02:00
Cohee
12335f4860 Improve type handling 2025-02-28 13:46:16 +00:00
Cohee
b2ce76c84c Return to using string type for this_chid 2025-02-28 13:37:36 +00:00
Cohee
b6af55134a Refactor context change checks during chat summarization 2025-02-28 12:54:52 +00:00
Cohee
1aae08be5b Fix char A/N and expressions folder for first in the list 2025-02-28 09:12:22 +00:00
Cohee
2461913f85 Fix Horde model selection not saving 2025-02-28 10:53:56 +02:00
Cohee
5555b3e7db Use character name for gallery URL 2025-02-28 10:49:15 +02:00