5191 Commits

Author SHA1 Message Date
Cohee
dfc2eb32c8
Merge pull request #3386 from SillyTavern/reasoning-parse
Reasoning blocks auto-parsing
2025-01-31 11:41:10 +02:00
Cohee
2a904c4aea Fix command argument definitions 2025-01-31 09:39:26 +00:00
Wolfsblvt
2a322faa6a Toast on /qr-get if no label and id are provided 2025-01-30 22:51:40 +01:00
Cohee
e4dda3c488 Run eslint 2025-01-30 22:00:46 +02:00
Cohee
07ef5122bb Add fallback timeout to runAfterAnimation 2025-01-30 22:00:30 +02:00
IceFog72
578c3dda73
Update loader being removed correctly on manually forced transition duration (#3384)
---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-01-30 21:59:59 +02:00
Cohee
3a6d5faa8a Merge branch 'release' into staging 2025-01-30 21:06:40 +02:00
erew123
198fbe1a1f
Set RVC version match correctly 2025-01-30 17:41:24 +00:00
erew123
2318df8b74
alltalk.js resolve V1 URL duplication in AllTalk TTS audio output
Fix URL concatenation issue where base URL was being duplicated in audio file paths. 

Updated handling of V1 (full URL) and V2 (relative path) API response formats to prevent `http://localhost:7851http://127.0.0.1:7851` type errors.
2025-01-30 17:21:41 +00:00
Cohee
1df209c284 Export variable manipulation functions to getContext 2025-01-30 01:58:55 +02:00
Cohee
80b29ed5cb Use string constructor 2025-01-30 01:04:53 +02:00
Cohee
4b2575f301 Apply regex to parsed reasoning 2025-01-30 01:02:23 +02:00
Cohee
4e7326b61b Add /reasoning-parse command 2025-01-30 01:02:14 +02:00
Cohee
e3f0a8d35b TC: Trim spaces in server URLs 2025-01-30 00:25:02 +02:00
Cohee
c32e0bdde7 Autoswipe: Fix endless loop if blacklist empty 2025-01-29 23:01:37 +02:00
Cohee
7bc8087d02 Use separate flag for replacement checks 2025-01-29 21:59:13 +02:00
Cohee
7fc0ddb60c Trim spaces in parsed content too 2025-01-29 21:53:48 +02:00
Cohee
d0abba23dc Add reasoning auto-parsing, always show reasoning prefix/suffix in Markdown, respect space trim preference 2025-01-29 21:38:08 +02:00
Cohee
15a3cfcb8a Perplexity: Add reasoning model, remove deprecated models 2025-01-29 20:57:38 +02:00
Cohee
a6a7810be2
Regex: fix "Alter Outgoing Prompt" applying when unchecked (#3380)
* Regex: rework ephemerality options.

* Fix ephemeral regex being executed when unwanted

* Revert to old code style
2025-01-29 11:39:32 +02:00
Cohee
9e8fd3f5a0
Merge pull request #3382 from SillyTavern/staging
Staging into reasoning-regex
2025-01-29 11:38:50 +02:00
Finadil
d5f6ecf3c3
Fix /note-role argument name
I am full of shame. 🫢
2025-01-28 18:03:01 -05:00
Cohee
4f456b2b80 TTS: Call module worker when audio stops playing
#3371
2025-01-28 23:14:26 +02:00
Cohee
6dde068e71
Merge pull request #3371 from fearmear/release
Decrease TTS generation delay by splitting a message on a new line
2025-01-28 23:10:12 +02:00
Cohee
2aa1dd41f5 eslint 2025-01-28 23:07:59 +02:00
Cohee
26feb448a3
Merge pull request #3368 from SillyTavern/profile-stopstrings
Add command and profile for custom stop strings
2025-01-28 23:03:09 +02:00
Cohee
0c9676e7fc /stop-strings: add aliases 2025-01-28 23:01:58 +02:00
Cohee
bab8a09a80 /stop-strings: update help 2025-01-28 23:00:28 +02:00
Cohee
35e8561bff /reasoning-set: fix at argument 2025-01-28 21:03:44 +02:00
Cohee
0c9b301a57 Prevent ephemeral message extra changes vanish upon swiping 2025-01-28 15:39:09 +00:00
Dzmitry Kazlouski
63e7acb87b Make this feature togglable in extensions > "Narrate by paragraphs (when not streaming)" 2025-01-28 05:50:25 +03:00
Small Eggs
145136059e
Fix tts.skip_tags's regex to match newlines
The extension_settings.tts.skip_tags setting is meant to skip sending
tags and their content to the TTS API provider. The original regular
expression matched content inside tags with ".*?". Unfortunately,
Javascript's engine does *not* match newlines on the "." without the /s
flag.

The /s flag was added in ES2018. To be more compatible, the regex
has been changed to "[\s\S]+?". This gives similar performance (instead
of using capture groups) and matches all content within a tag, as the
original regex intended.
2025-01-27 17:43:24 -08:00
Dzmitry Kazlouski
283ceb6bbf Decrease TTS generation delay by splitting a message on a new line 2025-01-28 02:51:05 +03:00
Cohee
0a413d63aa Add reasoning regex on edit 2025-01-27 23:11:31 +02:00
Cohee
6fc342d446 Add regex processing for reasoning blocks 2025-01-27 23:06:07 +02:00
Cohee
fad4e4e75e Add command and profile for custom stop strings 2025-01-27 22:30:35 +02:00
Cohee
3b8fd6f62f
Merge pull request #3345 from SillyTavern/woo-yeah
Better reasoning
2025-01-27 22:09:32 +02:00
Cohee
abe240397d Set assistant role to bias in CC
#3366
2025-01-27 22:01:44 +02:00
Cohee
8b5e0df2d7 Refactor reasoning placeholder clean-up 2025-01-27 21:56:15 +02:00
Cohee
a5a8f6057b Merge branch 'staging' into woo-yeah 2025-01-27 20:56:04 +02:00
Cohee
fd1fdc6466 Fix fitting class resetting after picking BG 2025-01-27 17:48:50 +00:00
Cohee
312969462e Fix AICC website reference 2025-01-26 20:35:24 +02:00
Wolfsblvt
35ab677ff1 Add char version to group panel member names
- Follows the same style as version in char list
- Respects the chosen "auxiliary field" setting

Closes #3359
2025-01-26 18:44:12 +01:00
Cohee
a7516937f7 Add reasoning slash commands 2025-01-26 18:00:14 +02:00
Cohee
c9ab987658 Fix default thonk separator 2025-01-26 16:48:04 +02:00
Cohee
eb798fa4f1 Move reasoning-specific code into its own module 2025-01-26 16:47:13 +02:00
Cohee
17d4175b47 Functional reasoning edit 2025-01-26 05:14:17 +02:00
Cohee
45d4d1bb3e [wip] Open reasoning editor 2025-01-26 02:49:10 +02:00
Cohee
8fc880b69b Early stopping if prompt reasoning limit reached 2025-01-26 02:07:50 +02:00
Cohee
94ed548353 Formatting setting to send reasoning back to the model
Supersedes #3352
2025-01-25 22:41:08 +02:00