Commit Graph

1721 Commits

Author SHA1 Message Date
34c25300e5 Trim whitespace before replacing line breaks in unknown elements 2025-05-25 00:52:03 +03:00
449522c3aa Combine all toastr settings into one object 2025-05-23 20:01:53 +03:00
e6d5830f33 remove old toast config 2025-05-23 20:39:47 +09:00
26fd06335e Toasty Click to close hint 2025-05-23 20:38:05 +09:00
341fa17ba3 Hack-free Toast 2025-05-23 20:31:31 +09:00
7fc97a3b9a Zen Toast 2025-05-23 20:27:39 +09:00
5ac472fbac Implement creator's note style tag preferences (#3979)
* Implement creator's note style tag preferences

* Decouple external media preference from style preference

* Allow explicitly empty prefixes in decodeStyleTags

* Fix Copilot comments

* Refactor global styles management into StylesPreference class

* Refactor openAttachmentManager to return an object instead of an array

* Unify header structure

* Re-render characters panel on setting initial preference

* Add note about classname prefixing

* Rename event handler
2025-05-22 22:32:53 +03:00
157315cd68 Add Vertex AI express mode support (#3977)
* Add Vertex AI express mode support
Split Google AI Studio and Vertex AI

* Add support for Vertex AI, including updating default models and related settings, modifying frontend HTML to include Vertex AI options, and adjusting request processing logic in the backend API.

* Log API name in the console

* Merge sysprompt toggles back

* Use Gemma tokenizers for Vertex and LearnLM

* AI Studio parity updates

* Add link to express mode doc. Also technically it's not a form

* Split title

* Use array includes

* Add support for Google Vertex AI in image captioning feature

* Specify caption API name, add to compression list

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-05-22 20:10:53 +03:00
6eeb2dcd75 Label chat as not pristine when messages are deleted 2025-05-21 23:08:23 +03:00
34490c9614 Display loader earlier, init toast classes in power-user 2025-05-21 20:35:03 +03:00
da16c551f0 more toasty edge case fixes 2025-05-21 19:03:26 +09:00
fe0db6ec78 add VSC MARK comments to vital script.js funcs 2025-05-21 17:41:24 +09:00
87f547cd87 add option for toastr location to themes 2025-05-21 15:07:47 +09:00
77f5ef3424 Hide tag for character (#4019)
* Add tagOptions parameter to printTagList for character-specific filtering

* Add toggle functionality to hide tags in tag management popup

* Add translations for "Hide on character card" in multiple locale files

* Add is_hidden_on_character_card property to newTag function

* applied linter

* revert back `DEFAULT_TAGS_LIMIT`

* Remove debug logs

* Adjust HTML

* Render list and save settings on toggle change

* Make tag manager wide

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-05-20 20:41:03 +03:00
213a619b33 Change server ping to POST method
Closes #4006
2025-05-17 16:50:02 +03:00
9438b5c4aa Cancel debounced metadata save before clearing chat 2025-05-17 15:44:51 +03:00
e5677b620d Cancel debounced chat save before clearing chat 2025-05-17 15:38:52 +03:00
b571723f94 Wait for chat save before close or create new chat 2025-05-17 09:17:32 +03:00
e52b3afea9 Wait for current chat to finish saving before allowing to switch 2025-05-17 08:45:12 +03:00
ca4f007009 Fix chat manager in group chats 2025-05-17 08:30:53 +03:00
7a23fe794e Hide buttons on welcome assistant message 2025-05-14 10:41:15 +03:00
241f718df7 Remove redundant version check 2025-05-13 20:37:15 +03:00
637e9d5469 Set any char as assistant. Rework welcome prompt 2025-05-12 20:50:17 +03:00
d5c56fa405 Indicate welcome page assistant in the list 2025-05-12 19:52:14 +03:00
31e2cf714a Permanent assistant autocreation and temporary chat restore 2025-05-12 02:14:54 +03:00
61f69aa674 Temp chat button works 2025-05-12 01:10:50 +03:00
415bb5f9b8 Add shortcuts to welcome prompt 2025-05-12 00:43:41 +03:00
e975d37436 [wip] Welcome screen prototype 2025-05-12 00:28:42 +03:00
420d568cd3 Pollinations - Text (#3985)
* [wip] Pollinations for text

* Implement generate API request

* Determine Pollinations model tools via models list

* Add Pollinations option to /model command

* Add Pollinations support to caption

* Update link to pollinations site

* Fix type errors in openai.js

* Fix API connection test to use AbortController for request cancellation

* Remove hard coded list of pollinations vision models

* Remove openai-audio from captioning models
2025-05-11 20:14:11 +03:00
99e3c22311 Refactor firstLoadInit to include initCustomSelectedSamplers and addDebugFunctions 2025-05-11 12:28:33 +03:00
fc43ae3891 Merge branch 'staging' into pin-styles 2025-05-04 23:06:19 +03:00
636ecef28a Merge pull request #3953 from Samueras/release 2025-05-04 20:55:23 +03:00
3db2db1c65 Removed Swipe_right from legacy export
Removed Swipe_right from legacy export
2025-05-04 18:20:40 +02:00
99f47de88b Export Swipe left and right
Exporting the swipe_left and the swipe_right functions
2025-05-04 18:15:28 +02:00
ca29de4704 Add style pin feature for greeting messages 2025-05-04 17:48:36 +03:00
bb9fe64652 Merge pull request #3930 from Yokayo/staging
Update ru-ru translation
2025-05-04 14:10:12 +03:00
bf9ef8fa0f Remove debug logs 2025-05-04 14:00:55 +03:00
3165537ce8 Update script.js
Added trailing comma
2025-05-04 12:12:50 +02:00
5f79c0c262 Export swipe_right in public/script.js 2025-05-04 12:05:45 +02:00
1822c4f91b More work on tl 2025-05-03 18:12:18 +07:00
07a6017443 Remove redundant condition 2025-05-03 01:18:58 +03:00
b8f7675d8c don't inject empty jb 2025-05-02 14:57:51 -06:00
a089727591 Extract templates, replace pagination format 2025-05-01 17:46:02 +03:00
7eb23a2fcc Work on tl 2025-04-29 17:23:18 +07:00
f0d01d35a6 eslint fixes 2025-04-28 18:55:10 +07:00
11908f7363 Work on tl 2025-04-28 18:45:16 +07:00
775ae0f557 TC sysprompt: Add Post-History Instructions control
Closes #3920
2025-04-28 00:14:57 +03:00
ed895b7c3e Merge pull request #3889 from BismuthGlass/feature/wi_global_matches
World Info chat-independent data matching
2025-04-27 21:00:57 +03:00
3e11a90b3c Add message and example counts to itemization templates 2025-04-27 02:26:43 +03:00
84f339cdd6 Merge pull request #3913 from SillyTavern/fix-continue-suffix
Fix continuation suffix trimming
2025-04-26 01:47:52 +03:00