Commit Graph

1755 Commits

Author SHA1 Message Date
86de927ab9 Added "custom_url" to ChatCompletionService 2025-03-17 14:54:59 +03:00
40c3674da1 Update tl 2025-03-17 16:09:36 +07:00
cf2671c6d7 Merge branch 'staging' into reasoning-template 2025-03-16 22:51:28 +02:00
d314752547 Add reasoning template to connection profiles 2025-03-16 22:39:43 +02:00
d42a81f97c New connection manager events, ConnectionManagerRequestService (#3603) 2025-03-16 16:58:34 +02:00
b8afa96de5 Replace link to docs about regex flags 2025-03-15 23:07:58 +02:00
0c7d5c76e2 gemini-2.0-flash-exp-image-generation 2025-03-15 14:58:06 +02:00
18fa33d816 On review feedback of /regex-toggle
- Add quiet arg to suppress success toast
- Fix return values
- Switch-case instead of nested ternaries
- state uses onOfToggle
2025-03-14 01:03:08 +01:00
7537192c9a Add /regex-toggle slash command
- Add /regex-toggle command, similarly to /extension-toggle
- toggles the state of both global and character-bound scripts
- Update jsdoc being inconsistent

Closes #3613
2025-03-13 23:55:08 +01:00
79a8080b7d Merge pull request #3671 from bmen25124/events_type_param
New context methods, added type parameter to message events
2025-03-13 01:50:59 +02:00
92dacdb386 better type name, simplified context 2025-03-13 02:27:03 +03:00
1b817cd897 Kokoro: chunk generation, add pre-process func
#3412
2025-03-12 21:35:09 +02:00
ddb77732f2 New context methods, added type parameters to message events 2025-03-12 21:25:16 +03:00
01ef823da9 Dont count Continue as message 0 (#3594)
* continue works same as swipe continued message isn't depth counted

* correct early-out check

* update regex depth setting tooltips for accuracy

* update max tooltip

* remove redundant check

* Allow -1 as a min depth value

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-12 19:59:15 +02:00
e23f3a6314 feature: 'kokoro-js' supports TTS #3412 (#3656)
* feature: 'kokoro-js' supports TTS #3412

* Linting, add credits for kokoro library

* Fix voice preview

* Fix display languages on previews

* Fix settings restoration. Debounce model init on settings change

* Fix engine sorting

* Move TTS processing to a web worker. Remove unused gain setting

* Speaking rate fix

* Update status when recreating a worker

* Pass voices list from TTS engine

* Call dispose function on provider change

* Extend worker init timeout to 10 minutes

---------

Co-authored-by: ryan <1014670860@qq.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-10 22:54:54 +02:00
71a3aefe86 Replace link to regex editor docs 2025-03-10 10:40:25 +00:00
0f8a17b652 Refactor regex info block to use a shared function 2025-03-09 23:29:00 +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
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
50f1e3f0f2 Added translation to reasoning block (#3617)
* Added translate to reasoning block

* Added mising reset value

* Shortcut nullable type

* Added reasoning edited/deleted events, better naming

* Fixed async call

* Added await to saveChat calls

* Exported updateReasoningUI

* Removed translated reasoning on edit if auto mode is none

* Added new value check before updating reasoning block, fixed an issue that display value stays same when we edit the message.

* Translate reasoning before the main message

* Fixed auto mode translate for reasoning message

* Translate reasoning first. Prevent out of bounds access

* Fix translating reasoning on swipe generation

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-06 21:30:17 +02:00
c167890d26 Add multimodal captioning for Cohere 2025-03-05 21:36:43 +02:00
8d608bcd72 Add gallery folder and sort order controls (#3605)
* Add gallery folder and sort order controls
Closes #3601

* Refactor sort constants to use Object.freeze for immutability

* Add comment

* Remove excessive null propagation

* Update type hint for gallery.folders

* Use defaultSettings.sort as a fallback

* Throw in groups

* Handle rename/deletion events

* Merge init functions

* Fix multiple gallery file uplods

* Add min-height for gallery element

* Fix gallery endpoint not parsing body

* translatable toasts

* Pass folder path in request body

* Change restore pictogram

* Add title to gallery thumbnail images

* Allow optional folder parameter in image list endpoint and handle deprecated usage warning

* Add validation for folder parameter in image list endpoint

* Add border to gallery sort selection

* Remove override if default folder is set to input

* Use server-side path sanitation

* Sanitize gallery folder input before updating

---------

Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
2025-03-04 23:16:56 +02:00
590ad6235b Merge pull request #3586 from DAurielS/novelai-image-update
Added support for NovelAI Diffusion V4 Full via API to Image Generation extension.
2025-03-02 01:05:35 +02:00
3a2d29b5cb Responding to PR change reviews 2025-03-01 17:21:11 -04:00
8271bf36c7 Updated the processReply method to NOT remove pipe | or hash # characters when the selected model is nai-diffusion-v4 curated or full. 2025-03-01 02:06:26 -04:00
d788c2fbb5 Added support for NovelAI Diffusion V4 Full via API to Image Generation extension. 2025-03-01 01:30:42 -04:00
8a750c6341 Restore chosen AllTalk version on load 2025-03-01 01:33:39 +02:00
e91387c60b Fix rate and pitch for system tts
Closes #2545
2025-02-28 22:18:53 +02:00
b6af55134a Refactor context change checks during chat summarization 2025-02-28 12:54:52 +00:00
1aae08be5b Fix char A/N and expressions folder for first in the list 2025-02-28 09:12:22 +00:00
5555b3e7db Use character name for gallery URL 2025-02-28 10:49:15 +02:00
76e45abfc6 Fix SD prefixes for first in the list 2025-02-28 10:38:42 +02:00
50e49cd67b Fix gallery for first in the list 2025-02-28 10:36:26 +02:00
5c146bdd67 Add gpt-4.5 to caption extension list 2025-02-27 23:31:46 +02:00
c855cd2bf0 Bonus: add o1 to captioning list 2025-02-24 21:13:42 +02:00
82b74628c6 Sonnet 3.7 2025-02-24 21:06:12 +02:00
296037d1c8 Remove redundant styles 2025-02-24 00:57:00 +02:00
7a54b0cad7 Assorted summary improvements 2025-02-23 21:40:15 +02:00
3cf4be8e85 Remove unused import 2025-02-22 20:12:19 +02:00
f2cac8e7f7 Revert "Return fallback expression if no group message found" 2025-02-22 20:02:34 +02:00
d21b0f1b5e Add default fallback expression 2025-02-22 13:45:54 +02:00
db988411fd Return fallback expression if no group message found 2025-02-22 13:40:43 +02:00
afbe21b6b4 Make sendExpressionCall exportable
- For compatibility with existing extensions
2025-02-22 01:44:42 +01:00
a7d7b6fb0f Fix group VN updates on switching to chat 2025-02-21 22:05:08 +02:00
cb6adc30ce Fix null confrimation when no custom expressions 2025-02-21 02:05:43 +02:00
bdbcf8623e Fix force set emote in group 2025-02-21 01:46:10 +02:00
e35217e7e3 Fix image loading resolve 2025-02-21 01:32:13 +02:00