* TC/AF: Add Story String position
* Update public/scripts/power-user.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add before/after anchors as story string params
* Move autofix story string at settings load
* Substitute in story string wrappers
* Only add an auto-newline after story string if wrap is enabled
* Do not init names_force_groups with default value
* Update default settings
* Auto-delete obsolete fields from instruct templates
* Update default templates
* Remove newline from GLM-4 prefix
* Format as one line
* Remove auto-fix leftovers from renderStoryString
* Remove pointless reassignments in autoFixMissingField
* Update KoboldAI template
* Add info hint for Story String sequences
* Update default templates
* Reformat extractMessageFromData
* Fix condition in autoFixStoryString
* Update tooltip text for Story String Sequences
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add toggle and user agent filter for CacheBuster middleware
Closes#4290 [BUG] SillyTavern takes ~45 seconds to load initially
* Use single instance of CacheBuster class
* Cache config values
* Consistent log header
* Remove unnecessary empty line at the beginning of byaf.js
* Current Mistral Small 24B Instruct Format
* Current Mistral Small 24B Instruct Format
* Add new files to index
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* 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>
* 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>