Commit Graph

9726 Commits

Author SHA1 Message Date
594cba30ca Merge pull request #3657 from SillyTavern/fix-buttons-popup-display
Fix `/buttons` buttons not being displayed on log popup texts
2025-03-10 17:41:16 +02:00
e3bcc79bb7 Fix /buttons buttons not being displayed
- On long popup texts, the buttons of the `/popup` slash command will not be displayed, cause by an unneeded overflow CSS property

Fixes #3654
2025-03-10 15:35:01 +01:00
73230272f3 Apply regex to multiswipe reasoning, set reasoning_type to Parsed 2025-03-10 10:48:31 +00:00
71a3aefe86 Replace link to regex editor docs 2025-03-10 10:40:25 +00:00
6024b29ea7 Merge pull request #3652 from SillyTavern/default-middleware
Use default middleware for parsing request body
2025-03-10 12:34:01 +02:00
ee13cef37f Fix group creation inheriting tags from characters[0] 2025-03-10 01:37:25 +02:00
67d013e40a Use default middleware for parsing request body 2025-03-10 00:48:58 +02:00
64206d6f47 Merge pull request #3651 from SillyTavern/input-handling-args
Add `/input` arguments to execute closures on success and on cancel
2025-03-10 00:45:47 +02:00
fc1c767280 onCancel and onSuccess handlers for /input command 2025-03-09 23:10:56 +01:00
d4f6373bbc Merge pull request #3648 from SillyTavern/regex-info-block
Add info block for find regex flags
2025-03-09 23:30:38 +02:00
fa03443fe7 Switch /input command definition to fromProps 2025-03-09 22:29:40 +01:00
0f8a17b652 Refactor regex info block to use a shared function 2025-03-09 23:29:00 +02:00
070de9df2d (CC) Move continue nudge at the end of completion (#3611)
* Move continue nudge at the end of completion
Closes #3607

* Move continue message together with nudge
2025-03-09 18:17:02 +02:00
34b2ef0fd7 Clean-up code 2025-03-09 17:47:23 +02:00
eef9c3ef62 Add info block for find regex flags
#3647
2025-03-09 17:41:38 +02:00
6f0f32d83d Add a second row to profile editing name 2025-03-09 16:59:58 +02:00
7845994315 Add 'start-reply-with' to Connection Profiles (#3632)
* Connection Profiles: Add support for 'start-reply-with' command and allow empty values for 'stop-strings' command

* Add handling for empty profile values in makeFancyProfile function

* Fix application of empty values

* Handle undefined values

* Improve argument validation

* Replace || with &&

* I got it right this time, swear

* Who wrote this?
2025-03-09 16:55:49 +02:00
d94c301b10 Merge pull request #3646 from SillyTavern/fix-persona-auto-lock
Fix persona auto-lock to chat not working when the persona was already selected
2025-03-09 16:48:21 +02:00
67699d9cfa Fix persona auto-lock to chat not working
- When auto lock was enabled, it didn't auto-lock to chat when the persona was already selected (like choosing the same persona you have used before)
2025-03-09 15:27:48 +01:00
a392593e53 Merge pull request #3634 from SillyTavern/continue-from-reasoning
Fix auto-parsing of continue from reasoning
2025-03-09 16:22:02 +02:00
cabd6de85b Prevent rollover on keyboard left swipe if repeating (#3644)
* Prevent rollover on keyboard left swipe if repeating
Closes #3636

* Ditto for right swipe

* Remove goofy comment leftover
2025-03-09 16:12:24 +02:00
c03da65821 Run parsing at least once before rendering reasoning DOM on continue 2025-03-09 16:08:29 +02:00
5d74507e50 Remove goofy comment leftover 2025-03-09 14:09:39 +02:00
19b7deaed0 Ditto for right swipe 2025-03-09 14:08:24 +02:00
6aaa533410 Prevent rollover on keyboard left swipe if repeating
Closes #3636
2025-03-09 13:42:30 +02:00
96d79ac4e9 Merge branch 'staging' into continue-from-reasoning 2025-03-09 01:19:25 +02:00
b52b11d7bb Force settings content check on user creation
Closes #3641
2025-03-09 00:56:23 +02:00
1cb9287684 Vectors WebLLM (#3631)
* Add WebLLM support for vectorization

* Load models when WebLLM extension installed

* Consistency updated

* Move checkWebLlm to initEngine

* Refactor vector request handling to use getAdditionalArgs

* Add error handling for unsupported WebLLM extension

* Add prefix to error causes
2025-03-09 00:51:44 +02:00
0ea64050ff Parse reasoning in multi-swipe swipes 2025-03-08 23:06:56 +02:00
d0068ecbab Clean-up swipe_info of multi-swipes 2025-03-08 22:48:42 +02:00
ca14352972 Fix syncMesToSwipe checks
Ported from #3634
2025-03-08 22:33:26 +02:00
50a0f41736 Sync mes to swipe on stream finished 2025-03-08 22:29:18 +02:00
7e3946c152 Add tools parameter to AI21 request 2025-03-08 22:26:32 +02:00
edabd1128b Add tags in toShallow
Closes #3638
2025-03-08 22:04:49 +02:00
f38898e03f Merge pull request #3640 from Succubyss/patch-7
Re-enable logit bias and stop strings for 4.5
2025-03-08 21:56:11 +02:00
98f92f6270 Fix syntax of model name check 2025-03-08 21:50:39 +02:00
5d275998ed Merge branch 'staging' into patch-7 2025-03-08 21:46:38 +02:00
c3b5382882 Re-enable logit bias and stop strings for 4.5 2025-03-08 12:57:11 -06:00
de0e65fe13 Enable tool calling for ai21 2025-03-08 17:25:37 +02:00
ff5835278b Add Jamba 1.6 models
Closes #3633
2025-03-08 15:16:49 +02:00
980ed76cc3 Fix auto-parsing of continue from reasoning
Continues #3606
2025-03-08 12:58:26 +02:00
91fe2841e3 Fix reasoning rendering on auto-save message 2025-03-08 05:52:11 +01:00
b813bcad8a Merge pull request #3629 from kingbri1/staging
Make mesExamples macros consistent
2025-03-07 22:55:31 +02:00
0423cb7ad3 Do not apply instruct formatting if on CC 2025-03-07 22:53:30 +02:00
5ff4c457c0 Merge pull request #3630 from cloak1505/staging
Update OpenRouter providers
2025-03-07 22:15:39 +02:00
c593c9fe2a Update OpenRouter providers 2025-03-07 13:47:12 -06:00
e476063f32 Macros: Update mesExamplesRaw documentation
Works as a normal macro and not just with story string.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-03-07 13:08:30 -05:00
95e0be7e9e MesExamples: Make macros consistent with story string
mesExamples in the story string is formatted while mesExamplesRaw
is unformatted. However mesExamples when used as a normal macro
is unformatted. This causes an inconsistency in usage which is now
corrected.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-03-07 13:03:44 -05:00
a9c2af19e3 Add null checks for querySelector stscript_autocomplete_width
Closes #3582
2025-03-07 11:32:58 +00:00
1a52314812 MistalAI: Add custom stop strings
Closes #3627
2025-03-07 11:29:14 +00:00