Commit Graph

9726 Commits

Author SHA1 Message Date
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
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
73393a5d5e yoink talkinghead - goodbye extras dependency 2025-01-30 01:44:27 +01:00
cbeb7ddcec Update persona upload methods to fetch 2025-01-30 02:30:51 +02:00
3d817352ec Add rename personas functionality 2025-01-30 01:17:43 +01:00
1df209c284 Export variable manipulation functions to getContext 2025-01-30 01:58:55 +02:00
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
80b29ed5cb Use string constructor 2025-01-30 01:04:53 +02:00
4b2575f301 Apply regex to parsed reasoning 2025-01-30 01:02:23 +02:00
4e7326b61b Add /reasoning-parse command 2025-01-30 01:02:14 +02:00
e3f0a8d35b TC: Trim spaces in server URLs 2025-01-30 00:25:02 +02:00
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
a1cacbe904 Merge pull request #3388 from SillyTavern/autoswipe-fix
Autoswipe: Fix endless loop if blacklist empty
2025-01-29 23:22:13 +02:00
c32e0bdde7 Autoswipe: Fix endless loop if blacklist empty 2025-01-29 23:01:37 +02:00
7bc8087d02 Use separate flag for replacement checks 2025-01-29 21:59:13 +02:00
91b2dc57fa Brighter warning for trim spaces disabled 2025-01-29 21:57:27 +02:00
7fc0ddb60c Trim spaces in parsed content too 2025-01-29 21:53:48 +02:00
d0abba23dc Add reasoning auto-parsing, always show reasoning prefix/suffix in Markdown, respect space trim preference 2025-01-29 21:38:08 +02:00
15a3cfcb8a Perplexity: Add reasoning model, remove deprecated models 2025-01-29 20:57:38 +02:00
ee57675c12 Merge pull request #3370 from SillyTavern/reasoning-regex
Add regex processing for reasoning blocks
2025-01-29 15:09:55 +02:00
249e2555d0 Merge pull request #3378 from BooleanWhale/patch-1
Sets italics inside quotes to parent color.
2025-01-29 11:40:49 +02:00
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
9e8fd3f5a0 Merge pull request #3382 from SillyTavern/staging
Staging into reasoning-regex
2025-01-29 11:38:50 +02:00
cd05650164 Merge pull request #3379 from Finadil/staging
Fix /note-role argument name
2025-01-29 01:09:36 +02:00
d5f6ecf3c3 Fix /note-role argument name
I am full of shame. 🫢
2025-01-28 18:03:01 -05:00
7f321c9cf6 Merge branch 'staging' into patch-1 2025-01-28 22:50:49 +00:00
4f456b2b80 TTS: Call module worker when audio stops playing
#3371
2025-01-28 23:14:26 +02:00
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
2aa1dd41f5 eslint 2025-01-28 23:07:59 +02:00
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
0c9676e7fc /stop-strings: add aliases 2025-01-28 23:01:58 +02:00
bab8a09a80 /stop-strings: update help 2025-01-28 23:00:28 +02:00
b0e80137da Sets italics inside quotes to parent color. 2025-01-28 20:58:26 +00:00
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
35e8561bff /reasoning-set: fix at argument 2025-01-28 21:03:44 +02:00
6081b9f0ce Merge branch 'staging' into persona-improvements 2025-01-28 18:57:20 +01:00
552a418bae Merge branch 'staging' into staging-3071-v2 2025-01-28 10:49:53 -05:00
0c9b301a57 Prevent ephemeral message extra changes vanish upon swiping 2025-01-28 15:39:09 +00:00
3a8a329b0f Merge pull request #3373 from braxton-p/fix-newlines-skip_tags-regex
Fix tts.skip_tags's regex to match newlines
2025-01-28 09:50:51 +02:00
63e7acb87b Make this feature togglable in extensions > "Narrate by paragraphs (when not streaming)" 2025-01-28 05:50:25 +03:00
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
283ceb6bbf Decrease TTS generation delay by splitting a message on a new line 2025-01-28 02:51:05 +03:00
6348d1f19a CSS fixes (hide overflow, sprites interactable) 2025-01-28 00:17:42 +01:00
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
d616dfef38 Prevent log warning spam 2025-01-28 00:03:38 +02:00
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
0fb9884ab8 Skill issue 2025-01-27 23:59:25 +02:00
0a413d63aa Add reasoning regex on edit 2025-01-27 23:11:31 +02:00
7063af7363 Move new expression settings, add tooltip 2025-01-27 22:10:31 +01:00
6fc342d446 Add regex processing for reasoning blocks 2025-01-27 23:06:07 +02:00