Commit Graph

5750 Commits

Author SHA1 Message Date
bmen25124
7d568dd4e0 Generic generate methods (#3566)
* 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
5ecfbf3933 Fix element id for nsigma 2025-03-02 23:01:34 +02:00
Wolfsblvt
810d954d12 Add missing samplers to TC restore preset 2025-03-02 00:26:47 +01:00
Cohee
64e1fd5f71 Merge pull request #3592 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 #3586 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
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
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
969156d819 Merge pull request #3584 from SillyTavern/chid-unify-type
Always use string for this_chid
2025-03-01 00:04:21 +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 #2545
2025-02-28 22:18:53 +02:00
Cohee
40720971c5 Hide unsupported language warning for 'en' 2025-02-28 21:55:48 +02: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
Cohee
76e45abfc6 Fix SD prefixes for first in the list 2025-02-28 10:38:42 +02:00
Cohee
50e49cd67b Fix gallery for first in the list 2025-02-28 10:36:26 +02:00
Cohee
16b62d9fb3 Fix tags selector for first in the list 2025-02-28 10:33:39 +02:00
Cohee
14aec43064 Fix A/N and CFG menus on first in the list 2025-02-28 10:26:03 +02:00
Cohee
76cb34fd06 Fix logprobs menu on empty chats 2025-02-28 10:25:36 +02:00
Cohee
2df140a6a9 Fix world info binding and alt.greetings editor for first char in the list
Possibly fixes #3579
2025-02-28 10:16:42 +02:00
AyeeMinerva
73035c1d1c add clearChat in st-context 2025-02-28 15:08:55 +08:00
AyeeMinerva
7c72c1d9f3 add printMessages in st-content
so that we can use this func in extension
2025-02-28 12:31:25 +08:00
Cohee
5c146bdd67 Add gpt-4.5 to caption extension list 2025-02-27 23:31:46 +02:00
Cohee
9c4bffc487 Merge pull request #3577 from SillyTavern/the-best-model-tm
Add gpt-4.5-preview (best model ™️ - most expensive for sure)
2025-02-27 23:30:34 +02:00
Cohee
a8f05c92ae Revert "Switch tracking key to accountStorage"
This reverts commit 549fae4015.
2025-02-27 23:22:08 +02:00
Wolfsblvt
549fae4015 Switch tracking key to accountStorage 2025-02-27 22:16:38 +01:00
Wolfsblvt
ea643cce6e Add gpt-4.5-preview 2025-02-27 22:08:29 +01:00
Wolfsblvt
f11a834895 Switch tracking from Array to Set 2025-02-27 21:26:45 +01:00
Wolfsblvt
b98556855d Fix undefined translation 2025-02-27 21:15:12 +01:00
Wolfsblvt
94441c54ae Update logging structure for dyn translations 2025-02-27 20:59:38 +01:00
Wolfsblvt
c6a2b4e429 Trace-log stacktrace of translations without key 2025-02-27 20:48:16 +01:00
Wolfsblvt
08e184de26 Debug Func to track missing dynamic translations
- Add debug function to the debug menu that enables tracking of missing dynamic translations (via `t` or `translate`) once enabled
- Only works with non-English language loaded
- Prints it together with the existing debug print
2025-02-27 20:45:10 +01:00
Cohee
ae51c39c09 Merge pull request #3572 from SillyTavern/remove-group-starter
Remove group chat starter message
2025-02-27 20:45:50 +02:00
Cohee
6905fcd0a4 Merge pull request #3573 from SillyTavern/extensions-i18n
Add locale data loading for extensions
2025-02-27 20:41:18 +02:00
Cohee
d3006cc720 Load extension i18n before script 2025-02-27 17:41:59 +00:00
Reithan
aaf066699b Update TFS and DynaTemp Exponent to use 3 sig dig 2025-02-27 09:20:07 -08:00
Cohee
e312ae6b3b Add locale data loading for extensions 2025-02-27 16:18:10 +00:00
Cohee
d613e1ee77 Remove group chat starter message 2025-02-27 13:29:21 +00:00
Cohee
90be2eee71 Only navigate to persona if switched by connection 2025-02-26 00:13:55 +02:00
Cohee
6541dcbc66 Comment out persona preservation on character swap with personas open 2025-02-26 00:03:46 +02:00
Cohee
0274d800f9 Navigate to current persona on switching chats 2025-02-25 23:50:49 +02:00
Cohee
cf792c8195 Don't choose chat persona if it's already chosen 2025-02-25 23:37:02 +02:00
Wolfsblvt
fec0e248c5 Fix persona UI states sometimes not updating 2025-02-25 21:57:25 +01:00
Wolfsblvt
582b710d3c Merge branch 'staging' into persona-improvements 2025-02-25 21:46:46 +01:00