Commit Graph

6037 Commits

Author SHA1 Message Date
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
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
Wolfsblvt
198d10e759 Allow setting specific sprites as expressions
- Update /expression-set command to allow setting specific sprites
- Enhance enum completion for /expression-set to show expressions/sprites and more their info
- Fix setting sprite folder reprinting stuff double
- Fix not being able to unset expressions
2025-01-30 02:42:05 +01:00
Wolfsblvt
73393a5d5e yoink talkinghead - goodbye extras dependency 2025-01-30 01:44:27 +01:00
Cohee
cbeb7ddcec Update persona upload methods to fetch 2025-01-30 02:30:51 +02:00
Wolfsblvt
3d817352ec Add rename personas functionality 2025-01-30 01:17:43 +01:00
Cohee
1df209c284 Export variable manipulation functions to getContext 2025-01-30 01:58:55 +02:00
Wolfsblvt
f9324c74cd Streamline persona toasts, infos and states
- Added "info" block to persona description panel to show when a temporary persona is in use. Hide the long text behind a tooltip
- Reduce toast spam even further, not showing toasts when persona panel is open
- Restyle connection state buttons a bit
- Designed common 'info-block' utility to show markdown-like info blocks, with CSS styling
2025-01-30 00:50:48 +01: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
Wolfsblvt
e5db40cf2d Add persona connection states to persona list
- Show persona connection/lock states in persona list (chat & char lock)
- Refactor persona images url to 'data-avatar-id' attribute
- Try make persona blocks' height consistent
- Fix persona list not correctly updating selected persona on navigating pages
- Fix group/char difference not correctly working
- Create common style template for hover-able images buttons/tags where the label only appears on hover
2025-01-29 22:54:22 +01: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
Wolfsblvt
2344d98e20 Move persona buttons to right panel
- Move all buttons from the persona list to the right panel, to the already existing ones
- Common CSS class/style for '.buttons_block'
- Common CSS style for a red button
- Refactored a few persona buttons' functionalities
2025-01-28 20:53:55 +01:00
Cohee
35e8561bff /reasoning-set: fix at argument 2025-01-28 21:03:44 +02:00
Wolfsblvt
6081b9f0ce Merge branch 'staging' into persona-improvements 2025-01-28 18:57:20 +01:00
Eradev
552a418bae Merge branch 'staging' into staging-3071-v2 2025-01-28 10:49:53 -05: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
Wolfsblvt
6348d1f19a CSS fixes (hide overflow, sprites interactable) 2025-01-28 00:17:42 +01:00
Wolfsblvt
d316d51c0b Rework expression slash commands
- Common naming schema for slash commands, all starting with the name of the expression - moved the original names to aliases
- Make char name optional for /expression-last if not in group chat
- Removed legacy 'format' argument handling from /expression-classify
- Fixed /expression-upload to the new backend call, added optional 'spriteName' argument
2025-01-27 23:48:37 +01:00
Wolfsblvt
84a8a2bc2b Fix expression sprite sorting, fade additional
- Sort alphabetically, but keep the main expression file first
- Fade additional sprite images if "allow multiple" is not chosen
2025-01-27 23:01:29 +01:00
Cohee
0a413d63aa Add reasoning regex on edit 2025-01-27 23:11:31 +02:00
Wolfsblvt
7063af7363 Move new expression settings, add tooltip 2025-01-27 22:10:31 +01:00
Cohee
6fc342d446 Add regex processing for reasoning blocks 2025-01-27 23:06:07 +02:00