6977 Commits

Author SHA1 Message Date
Cohee
7d937b36da Merge branch 'staging' into text-completion-include-reasoning 2025-01-31 20:33:02 +02:00
Cohee
5bd3d9a518 Merge branch 'staging' into reasoning-continue 2025-01-31 13:51:09 +00:00
Cohee
9710d88a88 Stop smooth streaming immediately on abort 2025-01-31 13:38:23 +00:00
pcpthm
a83e7318b0 Make "request model reasoning" default true 2025-01-31 22:38:11 +09:00
Cohee
ae376b4195 Add aliases for reasoning commands 2025-01-31 13:30:57 +00:00
Cohee
f7eab66026 Fix streaming start appending undefined to reasoning block 2025-01-31 13:30:10 +00:00
Cohee
67a4d10b75 Fix substituting macros in reasoning of a first message 2025-01-31 13:23:22 +00:00
Cohee
56c9b21a28
Merge pull request #3397 from pcpthm/openrouter-providers
Add new OpenRouter providers
2025-01-31 14:57:12 +02:00
pcpthm
94af9fc1a3 Add new OpenRouter providers 2025-01-31 21:49:49 +09:00
Cohee
4bf3bd8343 Fix /lockbg and /unlockbg commands 2025-01-31 12:45:08 +00:00
pcpthm
753a99faf9 Support reasoning for OpenRouter text completion 2025-01-31 21:41:56 +09:00
pcpthm
9ecf261a76 Always add reasoning for continue 2025-01-31 21:06:15 +09:00
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
0c121ee95a Clarify think toggle label 2025-01-30 21:40:22 +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
91b2dc57fa Brighter warning for trim spaces disabled 2025-01-29 21:57:27 +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
ee57675c12
Merge pull request #3370 from SillyTavern/reasoning-regex
Add regex processing for reasoning blocks
2025-01-29 15:09:55 +02:00
Cohee
249e2555d0
Merge pull request #3378 from BooleanWhale/patch-1
Sets italics inside quotes to parent color.
2025-01-29 11:40:49 +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
Ashley Saleem-west
7f321c9cf6
Merge branch 'staging' into patch-1 2025-01-28 22:50:49 +00: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
Ashley Saleem-west
b0e80137da
Sets italics inside quotes to parent color. 2025-01-28 20:58:26 +00: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