Commit Graph

5660 Commits

Author SHA1 Message Date
f4eb32c71c Merge pull request #3760 from SillyTavern/feat/expressions-none-default-option
Add 'none' expression classifier API option and set as default
2025-03-26 11:10:13 +02:00
b96bed7240 chore: make layer updates exportable 2025-03-25 20:09:48 -05:00
cbfc1f7a0e Add 'none' classifier API option and set as default
Introduces a no-op API selection to disable expression classification
Shows warnings when no valid API is selected to prevent silent failures
Updates migration logic and settings UI to use new default value

This allows users to explicitly opt-out of automatic expression detection
while maintaining backwards compatibility with existing configurations
2025-03-26 01:50:26 +01:00
75be96e1f7 Merge pull request #3754 from SillyTavern/fix-openrouter-oauth
OpenRouter: Fix OAuth flow with enabled accounts
2025-03-25 23:20:42 +02:00
264d77414a Gemini 2.5 Pro 2025-03-25 21:21:23 +02:00
d70c346b12 Expression API on new install defaults to 'local' 2025-03-25 05:17:06 +01:00
4ced7abaa3 OpenRouter: Fix OAuth flow with enabled accounts 2025-03-24 20:22:59 +02:00
9717259776 Merge pull request #3737 from qvink/staging
Adding option to disable removal of "{{user}}:" and "{{char}}:" in generateRaw()
2025-03-23 18:05:12 +02:00
0e76530f43 Merge pull request #3746 from InspectorCaracal/patch-1
Fix group chid data attr in `performGroupMemberAction`
2025-03-23 14:43:14 +02:00
a8f1bf7a17 Merge pull request #3744 from bmen25124/updateEditor_export_new_parm
Exported reloadEditor
2025-03-23 14:42:07 +02:00
6bb91dd0df fix group chid data attr 2025-03-22 23:41:29 -06:00
80e1226d28 Exported reloadEditor 2025-03-23 03:40:04 +03:00
ce2fd8800d Merge branch 'release' into staging 2025-03-22 19:39:34 +02:00
74addf1241 Fix TogetherAI models list 2025-03-22 19:39:23 +02:00
50334890a6 Merge pull request #3742 from bmen25124/custom_request_stream
Added stream support to "custom-request"
2025-03-22 18:44:02 +02:00
0b937237c3 Refactor getStreamingReply to use nullish coalescing for show_thoughts 2025-03-22 18:27:49 +02:00
5472ddc8e6 Fix activatePooledorder() 2025-03-21 19:58:26 -04:00
82b885e5ef Sorry we don't know why lint didn't work 2025-03-21 21:49:26 +02:00
7df6a78f33 Better overrideShowThoughts value 2025-03-21 22:19:13 +03:00
17e0058763 Changed options type 2025-03-21 22:16:57 +03:00
7619396053 Better naming 2025-03-21 22:09:41 +03:00
c4175697ef cleanUpMessages() now uses object args. Adding option to trim names. 2025-03-21 12:18:48 -06:00
ec474f5571 Added stream support to "custom-request" 2025-03-21 20:44:09 +03:00
ef56eda2c2 Merge pull request #3730 from SillyTavern/feat/command-buttons-multiple
Add support for toggleable buttons/multiselect in `/buttons` command
2025-03-20 10:42:57 +02:00
40f2eae3f3 Make it return empty array on cancel 2025-03-19 22:46:11 +01:00
8eee1d09a8 Add support for toggleable /buttons
Enhances the buttons slash command with toggleable multi-select capability
Introduces a 'multiple' parameter to enable selecting several options
Updates button styling with visual indicators for toggle states
Modifies return value to handle array of selections when multiple is enabled
2025-03-19 21:13:28 +01:00
297a767746 Merge branch 'staging' into or-prompt-post-processing 2025-03-19 22:07:35 +02:00
af0939038b Fix undefined type references 2025-03-19 21:26:38 +02:00
a183c8f69a Fix the rest of lints 2025-03-19 21:21:04 +02:00
0af4a3ebd7 Fix unfixable lints 2025-03-19 21:10:42 +02:00
73520b923f break some linting... 2025-03-19 20:01:31 +01:00
b88f9fb1ff break some linting 2025-03-19 19:59:17 +01:00
20cdcc37fc Fix fixable lints 2025-03-19 20:00:33 +02:00
9b76b6dd3c Merge branch 'staging' into or-prompt-post-processing 2025-03-19 19:32:55 +02:00
6bfa54e9b4 Merge pull request #3725 from SillyTavern/feat/expressions-filter-available
Adds filtering to expressions to ignore labels that do not have sprites available
2025-03-19 19:18:02 +02:00
f5ecd1fa5f Reduce warning level to debug 2025-03-19 19:15:07 +02:00
2e936e804a Fix default value for filter argument 2025-03-19 10:17:08 +01:00
42730bbe92 Fix sprite upload on empty expression
- When no sprite was defined before, it falsely tried to derive the filename from the existing filename when "allow multiple" was not enabled. It now correctly just utilizes the expression name, not relying on filename anymore.
2025-03-19 09:52:20 +02:00
d5d3516e18 Merge pull request #3724 from SillyTavern/fix/expressions-upload-new
Fix not being able to upload sprite when no sprite existed for an expression
2025-03-19 09:51:45 +02:00
a8899f7d81 Clean reasoning from classify response
- If a reasoning model is used (via LLM, or R1 distill via webLLM), it'll likely return reasoning. That should not be used for the search of classification inside the response
2025-03-19 03:30:53 +01:00
5a6058d319 Adds sprite-based filtering for expressions
- Functionality only available for LLM/webLLM
- New toggle to filter expressions on availalbe sprites
- `getExpressionsList` filters cached expressions when checked (using sprite folder name/override)
- `/expression-list` slash command has "filter" arg to filter list
- `/expression-classify` slash command has "filter" arg now, to use filtered list for classification
- `getExpressionLabel` uses filtered expressions when LLM/webLLM
2025-03-19 03:06:50 +01:00
0be952b9a0 Fix sprite upload on empty expression
- When no sprite was defined before, it falsely tried to derive the filename from the existing filename when "allow multiple" was not enabled. It now correctly just utilizes the expression name, not relying on filename anymore.
2025-03-19 02:17:17 +01:00
7d034cba11 Remove forced newline separator from group join wrappers (#3722)
* Remove forced newline separator from group join wrappers

* Remove unnecessary ternary

* Do not trim field wrappers
2025-03-18 23:12:49 +02:00
46d5f79fd9 OpenRouter: Allow applying prompt post-processing
Fixes #3689
2025-03-18 21:33:11 +02:00
6a4b8c3870 Added group wrapper events 2025-03-18 22:21:25 +03:00
8309c30a3e Merge branch 'staging' into feat/an-macro 2025-03-18 20:27:37 +02:00
4df98b0341 Add macro for charDepthPrompt 2025-03-18 20:27:15 +02:00
b6c1c9a40d MistralAI: Add new models 2025-03-18 19:53:02 +02:00
3c61074d78 Add macros for Author's Notes
Closes #3716
2025-03-18 18:15:59 +02:00
c92ca8dbfb Merge branch 'staging' into integrity 2025-03-18 01:51:07 +02:00