Commit Graph
6123 Commits
Author SHA1 Message Date
Cohee 4376d66b33 Add timeout to extensions auto-update 2025-06-22 16:28:29 +03:00
Wandering MouseandCohee 116bef6c9f Add support for characterFilter to getEntryField and setEntryField (#4185)
* Add support for characterFilter to getEntryField and setEntryField

* No more conflicts between lint and autoformat

* Fix array type default values hint

* Properly capitalize name

* Fix search by name

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-21 22:10:56 +03:00
Cohee 40f10d7d38 TTS: Add registerTtsProvider function export 2025-06-20 23:37:36 +03:00
Cohee 1786e641f7 Image Generation: save modified prompt on image swipe gen 2025-06-20 20:56:58 +03:00
Cohee 2d28f5cdaf Google: Add Imagen image generation 2025-06-20 20:44:21 +03:00
Cohee def10929d2 Optimize performance of getExistingChatNames 2025-06-18 20:08:07 +03:00
I 224a961c1c back to parent chat fix eslint fix 2025-06-18 08:27:51 +00:00
I fa38543b1a back to parent chat speed up by not checking for file and if there is an error or no file then send a warning. 2025-06-18 02:56:18 -05:00
Cohee e657b61df7 New Jeremy 2.5 2025-06-18 00:09:50 +03:00
Cohee ec428fd82f Export resolveSecretKey 2025-06-17 23:37:39 +03:00
Cohee dfe1cdee21 Fix type errors in regex extension 2025-06-16 23:06:58 +03:00
Cohee c9d8a0ad44 Merge pull request #4170 from imesha10/staging
Regex bulkedit select all toggle button add
2025-06-16 22:22:52 +03:00
Cohee 7614e5e9fe Reset toggle icon on render list 2025-06-16 22:20:42 +03:00
Cohee 412b0fce0f Change icon on individual checkbox toggle 2025-06-16 22:19:58 +03:00
coffeegrind123andCohee 0a136cbb2a Add Extension Hook for Stable Diffusion Prompt Processing (#4167)
* Update index.js

* Update index.js

* Update script.js

* Use a named constant in event emit

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-16 21:48:38 +03:00
Cohee 703e67399c JSDoc types can be deceiving 2025-06-16 08:28:06 +00:00
powercaller f302916b57 disabled vertexAI for now (#4168) 2025-06-16 10:26:20 +03:00
I 8cf30fd519 regex bulkedit select all button add 2025-06-15 23:04:33 -05:00
Cohee 51431b1a75 Include persona name in delete confirmation
Closes #4119
2025-06-15 23:09:09 +03:00
Cohee 13416dba7f STscript: parse number operands with Number 2025-06-15 22:52:20 +03:00
powercallerandCohee 48f18cb74a Feature: Google Native TTS (#4163)
* google native tts impl

* Refactor getting google auth data

* Bring back status json

* Native TTS => Gemini TTS

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-15 16:58:01 +03:00
CompassandCohee 083f92b2b2 Add region option for vertex express mode to access more models (#4155)
* add region option for vertex express mode to access more models

* add region option for vertex express mode to access more models

* fix: Consolidate duplicate 'vertexai_region' input

* feat: add vertex region suggestion datalist & update caption endpoint to correctly handle region

* Adjust global projectless Vertex endpoint

* Remove pointless slash trim

* Skill issue

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-15 15:26:12 +03:00
Cohee 441dffc0da Vectors: Allow chunk overlap when forced chunking on delimiter 2025-06-15 01:48:17 +03:00
kingbri 525b46daa0 Expressions: Change tooltip for LLM prompt
JSON schemas might need coercion from the user, so indicate that the
LLM prompt is appended in addition to the JSON schema.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-06-14 18:24:12 -04:00
kingbri cc9f095aa7 Expressions: Set additionalProperties to false in JSON schema
Some backends use grammar constraints that allow additional properties
with the generated JSON schema, resulting in an incoherent and extremely
long JSON.

Set this to false so the model can generate what we need and nothing else.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-06-14 18:17:55 -04:00
Cohee 6445c8fec2 DeepSeek: Add tool calls for reasoner model
Fixes #4161
2025-06-15 00:12:03 +03:00
Cohee 9efd40980f Add prompt type selection for LLM expressions in settings 2025-06-14 20:01:59 +03:00
kingbri e43e771cc5 Emotions: Use the full context for main API
To prevent prompt reprocessing per turn, use the full context
when prompting with the main API. Doing so keeps the preserved
prefix while adding an extra sentence rather than providing two
different prompts for each turn.

In addition, JSON schemas might need a prompt to coerce a proper
schema return from the model.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-06-13 21:55:02 -04:00
Cohee 982dca58ba Enable reasoning parsing for Pollinations and AIML 2025-06-13 21:46:41 +03:00
Dmitry fece612f09 Merge pull request #4135 from D1m7asis/release
feat: Added AI/ML API Provider Support
2025-06-13 20:59:18 +03:00
Cohee addfcade32 MistralAI: fix selection of endpoint provided models 2025-06-12 21:55:56 +03:00
Cohee 70eb34086e AI Studio: fix saving null model id when selecting from Others list 2025-06-12 21:47:57 +03:00
Yokayo f1720be017 Merge branch 'SillyTavern:staging' into staging 2025-06-13 01:13:17 +07:00
Cohee 5e5ec679d7 Merge pull request #4145 from Boof2015/staging
Support for chatterbox api
2025-06-12 20:43:24 +03:00
Cohee 022b0d8d62 Fix seed in preview generation 2025-06-12 20:41:24 +03:00
Yokayo 5b4198957a Work on tl 2025-06-13 00:37:21 +07:00
Cohee 81ab2ab953 Fix styles and logic 2025-06-12 20:21:16 +03:00
Cohee 274c7ef82c Add input class 2025-06-12 20:12:17 +03:00
Cohee c0f2a62b33 Merge pull request #4149 from Culpeo/release
Added new slash command member-count
2025-06-12 19:24:17 +03:00
Cohee b226081469 Allow getting group count during generation 2025-06-12 19:23:28 +03:00
Culpeo 9cfb913b3d Added new slash command member-count 2025-06-12 16:36:23 +02:00
Boof2015 bce6f3eef0 Fix ESLint errors 2025-06-12 01:48:38 -04:00
Boof2015 b9b0d054f9 Update index.js 2025-06-12 00:54:32 -04:00
Boof2015 e2b1e14ee1 Add files via upload 2025-06-12 00:53:40 -04:00
Cohee d785d38144 MistralAI: add magistral models to the list 2025-06-12 00:56:31 +03:00
Cohee 8d2b9d2dab Secrets manager (#4131)
* Secret manager (now for real)

* Refactor secret manager dialog

* Add error handling to secrets migration

* Adjust default value

* Add secret-id slash command

* Add secret management slash commands

* Improve type definitions

* Improve compatibility of UUID generator

* Add copy buttons to manager view

* Improve compatibility with Vertex AI service account
- Changed to input since textarea can't be used with datalist
- Unblock regular key placeholder
- Save email as a key label
- Interrupt validation if the input is a UUID (autocompleted)

* Add optional label input for secret values in key manager dialog

* Update masking rules

* /secret-id: make the arg "required" (it's not)
2025-06-11 21:26:19 +03:00
InterestingDarkness 8b5a8914b1 Solve the issue where selecting an unofficial Gemini model and then clicking 'Connect' causes the selection to be reset (#4139) 2025-06-11 15:17:44 +03:00
Cohee 4777a7ca20 Prompt Manager: fool-proof personality / scenario formats 2025-06-11 10:34:07 +00:00
Cohee 2376e6f4f6 Remove dead button, sort providers 2025-06-11 01:03:46 +03:00
Roberts SlisansandCohee 0fc82432ac TTS WebUI provider (#4097)
* initial version

* volume and additional parameters for chatterbox

* add voice fetch

* deduplicate code

* fix eslint

* add all parameters

* use own secret

* remove (Unofficial) tag

* use only client side requests, fix voice discovery

* enable streaming by default

* change openai_compatible to tts_webui in inputs

* remove unused volume helpers

* extract PCM processor

* eslint fix

* remove unused secrets

* Remove obsolete secret IDs

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-11 01:00:58 +03:00