Cohee
27487f1f2a
MistralAI: new magistral subversions
2025-07-26 01:52:35 +03:00
Cohee
82d9fa79e8
Add vectorization via Vertex AI ( #4311 )
...
* Add vectorization via Vertex AI
* Enable batching for Google vectors
* Add batch embeddings for Vertex
* Split embed methods for Vertex/AI Studio
2025-07-25 23:59:30 +03:00
Cohee
c094e5d8ef
Fix type errors in variables.js
2025-07-25 22:37:09 +03:00
IceFog72
8948d9773e
Adding unique galleryImageDraggable class to draggable div with gallery Image inside ( #4310 )
2025-07-25 22:32:59 +03:00
Cohee
fdc51a1211
Claude model deprecations ( #4306 )
...
* Claude: deprecate Claude 2 models
* Claude: flatten tool call schema
* Remove deprecated Sonnet 3 from captioning list
2025-07-25 22:06:12 +03:00
Cohee
6224e20cbe
Merge pull request #4305 from SillyTavern/feat/allow-empty-setvar
...
Allow empty values in {{setvar/setglobalvar}}
2025-07-25 22:04:56 +03:00
zonde306
53d96deaff
WORLDINFO_SORTING changed to WORLDINFO_ENTRIES_LOADED
2025-07-25 04:09:33 +08:00
zonde306
ac759e5b7e
Allows control of Lore books entries by extensions
2025-07-25 03:36:01 +08:00
Cohee
d641cbecc4
Remove Scale Spellbook from CC sources ( #4293 )
2025-07-24 22:02:45 +03:00
afa3261746
Redesign Creator's Note block ( #4298 )
...
* Restyle creator's notes block
* Creator Notes to standoutHeader styling, allows for viewing Note without hiding chardefs
* Fix closing tag
* Remove stray close tag
* Adjust spoiler-free mode toggle
* Make the whole toggle area clickable
* Remove redundant comment
* Add empty state for creator's notes
* Adjust paddings
* Update public/index.html
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
---------
Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com >
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2025-07-23 00:08:56 +03:00
Cohee
7429726eb1
Remove Window AI from CC sources ( #4294 )
2025-07-22 19:45:54 +03:00
Cohee
bec05909eb
STscript: fix REPLACE_GETVAR with non-lowercase {{getvar}}
2025-07-21 04:02:09 +03:00
Cohee
4177c829d1
Add default global scan data for checkWorldInfo
2025-07-21 01:58:26 +03:00
Cohee
c292f64163
Add generation type triggers to world info ( #4286 )
...
* Add generation type triggers to world info
* Simplify includes check
* Refactor getEntryField validation and default value handling
* Remove invalid attribute
* Check for a valid trigger
2025-07-20 00:22:54 +03:00
kallewoof
c3e3fdb0ca
chat templates: add Kimi K2 (Moonshot AI) chat template derivation ( #4283 )
...
* chat templates: add Kimi K2 (Moonshot AI) chat template derivation
* tweak chatml substring derivation
2025-07-18 11:04:57 +03:00
Cohee
d9f4028952
CC/PM: Add generation type trigger prompt filter ( #4281 )
...
* CC/PM: Add generation type trigger prompt filter
Closes #4276
* Fix element cast type
* Narrower element types
* Change trigger to multiple select
* Extract class scope function
* Fix control name
* Add 'enabled' property to Prompt class and update type annotations in PromptManager methods
* Clarify placeholder of multiselect
2025-07-17 21:27:26 +03:00
Cohee
fddfbc5529
Fix CC import
2025-07-16 00:58:55 +03:00
Cohee
0e1d29acfe
Bump request payload limits
2025-07-15 23:23:07 +03:00
Cohee
1a92157643
Refactor generateRaw/generateQuietPrompt calls ( #4277 )
...
* generateQuietPrompt: Update to object arguments
* generateRaw: Update to object arguments
* Fix jsdoc
* Fix lint
* Unwrap JSON schema options
* Remove default args from gen call
2025-07-15 23:11:31 +03:00
bmen25124 and Cohee
cd176039ef
Added structured output for common APIs ( #4272 )
...
* Added structured output for common APIs
* eslint
* Added frontend impl
* Type name change
* Unprefix json_schema, apply review suggestions
* Add schema to generateQuietPrompt, add comments
* Prettify diff
* Extract JSON from Claude response
* Add structured gen for Mistral
* Hack to support schema for DeepSeek
* Hack JSON schema for AI21
* Add Groq structured gen
* Add JSON mode for pollinations
* Add JSON schema for perplexity
* Add JSON schema for AIML
* Using extractJsonFromData in custom-request, added google rules for flattenSchema
* Fix response parsing
* Fix Google
* Fixed json parse
* Expose generateRaw to getContext
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-07-15 21:54:36 +03:00
Cohee
4607132576
Pollinations: add as TTS provider
2025-07-14 22:29:30 +03:00
Cohee
9a86f8a6bb
NovelAI: Fix TTS preview
2025-07-14 22:26:39 +03:00
556fb4ba08
adding prefill parameter to generateRaw() ( #4266 )
...
* adding prefill parameter to generateRaw()
* additional comments
* Substitute params in prefill
* Add prefill prompt for /genraw command
* Fix param comment
* fixing generateRaw param comment
* fixing param comment
---------
Co-authored-by: qvink <qvink@users.noreply.github.com >
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-07-14 20:51:53 +03:00
cloak1505
0c2e2f90a8
Add Moonshot AI to OpenRouter providers
2025-07-14 01:56:55 -05:00
Cohee
9197527c13
Sync OpenRouter providers
2025-07-13 15:51:57 +03:00
Cohee
4f3eb7417e
Fix oai_settings assignment in getPresetList
2025-07-11 22:31:51 +03:00
Forkoz
b233402ac9
Ooba nsigma support. ( #4258 )
...
* nsigma index.html
* nsigma textgen-settings.js
2025-07-11 22:27:49 +03:00
Cohee
19a8a8625c
Move event types + new events ( #4257 )
...
* Move app events to separate module
* Add event emission for preset changes and deletions
* Remove unnecessary blank line at the beginning of events.js
* Add await to selectPreset call in initTextGenSettings
* Emit events for preset deletion and change in initPresetManager
* Move event emit out of PRESET_CHANGED
2025-07-11 22:00:04 +03:00
Cohee
febb02ffcb
/inject: auto-generate ID and fix argument description ( #4253 )
...
* /inject: auto-generate ID and fix argument description
* Fix default depth and role handling
* Return ID of the new inject
2025-07-11 13:25:29 +03:00
equal-l2
9842598325
Add vision support for Grok 4 ( #4254 )
2025-07-10 23:35:30 +03:00
Cohee
13e1d3190e
gork-4
2025-07-10 19:44:36 +03:00
Cohee
0ae171985d
MistralAI: Add new devstral models
2025-07-10 19:30:04 +03:00
Cohee
f8b0e8f2ad
Move system messages init into separate module ( #4251 )
...
* Move system messages init into separate module
* getSystemMessages => initSystemMessages
2025-07-10 19:22:16 +03:00
Cohee
f477ed1d74
Move CHAT_CHANGED injects revive listener to initDefaultSlashCommands
2025-07-10 00:11:00 +03:00
Cohee
ea5181af08
Preset Manager: Add methods for reading/writing custom data ( #4246 )
...
* Preset Manager: Add methods for reading/writing custom data
* Fix loading novel extensions on load
* Move ensurePlainObject to utils
* Init empty object in convertNovelPreset
2025-07-09 23:55:08 +03:00
Cohee
489d46b9a0
Perplexity: unlock reasoning effort
2025-07-09 20:51:21 +03:00
Cohee
0567cdc473
Perplexity: Fix frequency_penalty normalization
2025-07-09 20:36:19 +03:00
Cohee
6ee5d7ff9c
MistralAI: Add small-2506 to the list
2025-07-09 20:30:43 +03:00
Cohee
86bac00a81
Groq: Pull models list from endpoint
2025-07-09 20:25:20 +03:00
Cohee
5be2323e23
AI21: Add Jamba 1.7 models
2025-07-09 20:09:34 +03:00
Cohee
b737af47b5
Refactor OpenAI preset API endpoints to unify save and delete operations
2025-07-08 21:32:58 +03:00
Cohee
a029a6e1f1
Fix convertTextToBase64 for large files
...
Reference: https://github.com/google/closure-library/blob/b312823ec5f84239ff1db7526f4a75cba0420a33/closure/goog/crypt/crypt.js#L104-L123
2025-07-07 12:57:48 +00:00
Cohee
96bdc13937
Replace ajax with fetch ( #4241 )
...
* Replace ajax with fetch
Fix type errors in power-user / group-chats modules
* Fix single sprite upload
* Return empty object on failed upload
2025-07-06 23:27:53 +03:00
Cohee and Copilot
28189bb1c7
Move default slash commands to respective module ( #4240 )
...
* Move default slash commands to respective module
* Update public/scripts/slash-commands.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-06 17:17:19 +03:00
Cohee
8449b4bb27
Move Horde status check to respective module
2025-07-06 16:38:52 +03:00
Cohee
c51ce1d018
Move text completion settings to respective module ( #4239 )
2025-07-06 16:32:48 +03:00
Cohee
3d488a5e7b
Move DOMPurify hooks to chats module
2025-07-06 16:13:22 +03:00
Cohee and Copilot
2f56a73368
Move NovelAI settings to respective module ( #4238 )
...
* Move NovelAI settings to respective module
* Update public/scripts/nai-settings.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-06 16:05:26 +03:00
Cohee
88ef9ca0de
Properly save chat QR metadata in groups
...
Fixes #4121
2025-07-06 15:11:00 +03:00
Cohee and Copilot
e1a55408b6
OpenRouter: match both id/text in select2 ( #4237 )
...
* OpenRouter: match both id/text in select2
* Update public/scripts/utils.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-06 14:41:25 +03:00