* fixes#4324: injectedIndices becomes invalidated with a off-by-one index shift when PHI/jailbreak message is added. Could lead to dropped injections/history.
* Run formatter
* Fix pre-allocation of injections in Text Completions prompt builder
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* feat: add tts provider MiniMax
* fix: address code review feedback from @Cohee1207
- Moved inline styles to CSS classes in minimax.js
- Removed unused MINIMAX API key from secrets.js
- Removed static headers from debug logs
- Changed default API host to international endpoint
- Sorted TTS providers alphabetically in index.js
* feat: improve error handling and add language-specific test sentences based on selected voice
* fix: if no language mapping to MiniMax Format should use "auto"
* fix: move this minimax-tts.css under /public/scripts/extensions/tts/
* refactor: move minimax api communication to Node backend
* chore: unify import style for minimax router
* Move css into subfolder
* More secure secret key handling
* Better UI layout
* Finish secrets update
* Replace with a normal import
* This block shouldn't be here
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* AI Studio/Vertex AI: add freq.pen, pres.pen and seed params
* Update src/endpoints/backends/chat-completions.js
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Add missing models to Google lists
* Do not send penalties to gemma and learnlm
* Disable penalties
* Fix not sending seed to Groq
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Allows control of Lore books entries by extensions
* WORLDINFO_SORTING changed to WORLDINFO_ENTRIES_LOADED
---------
Co-authored-by: zonde306 <anonymous@localhost>
* 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