1517 Commits

Author SHA1 Message Date
Cohee
70c45fb001 Merge branch 'staging' into fix/connRefusedErrMsg 2024-11-24 01:41:15 +02:00
Cohee
f6d0f7587c
Merge pull request #3102 from ceruleandeep/fix/sdInteractiveYour
Fix "send a photo of yourself" etc in SD interactive mode
2024-11-24 01:36:34 +02:00
Cohee
fc84e61d94 Simplify regex 2024-11-24 01:34:06 +02:00
Cohee
da42d0a47a Add 3-state find substitution select
Fixes #3104
2024-11-23 19:39:02 +02:00
Cohee
d281749d63 SD: Change onChatChanged to async 2024-11-23 18:16:04 +02:00
Cohee
bc6c598796 Await event emission 2024-11-23 17:58:02 +02:00
Cohee
7cd68d827b
Merge pull request #3098 from tincansimagine/for18n
feat: Improve Korean data-i18n
2024-11-23 15:45:55 +02:00
ceruleandeep
c39db9f3f0 Linting 2024-11-23 16:05:07 +11:00
ceruleandeep
ce3fb2e941 Only remove whole word arts/dets in SD interactive prompts
When matching FACE assume that the determiner has been removed

Test cases:
- send a photo of yourself
- send a pic of your car
- send a photo of your selfie
- draw a picture of antelopes
- render an image of Thebes
- send a drawing of Skeletor's face
2024-11-23 16:01:12 +11:00
Cohee
85ca08a2ea Settings for new gemini 2024-11-22 17:50:33 +00:00
ceruleandeep
8de551fc94 Return 502 with error description when connection to remote CC API fails
If chat-completions/generate returns an error, throw the error message

Reformat display of exceptions during SD prompt text generation
2024-11-22 11:55:27 +11:00
ceruleandeep
0383ea52e9 Linting and commenting
Linting and commenting

Linting and commenting

Linting and commenting

Linting and commenting
2024-11-22 11:55:27 +11:00
tincansimagine
9a15f45a2c feat: Improve Korean data-18n 2024-11-22 08:08:05 +09:00
Cohee
67869364a5 ImageGen: add BFL API for image generation 2024-11-19 00:30:28 +02:00
Cohee
87f2a9e630 Merge branch 'staging' into feature/comfyGgufModels 2024-11-18 20:10:51 +02:00
Cohee
b651d31780 MistralAI: new pixtral large model 2024-11-18 16:10:20 +00:00
Cohee
378dfd3626 Vectors: escape file names 2024-11-18 15:24:26 +00:00
Cohee
aaed09f606 Data Bank: display file ingestion progress 2024-11-18 15:18:45 +00:00
ceruleandeep
8927de45dd Convert data URL to plain base64-encoded image data 2024-11-18 18:30:31 +11:00
ceruleandeep
5992117904 Add GGUF models and denoise parameter for ComfyUI 2024-11-18 17:55:30 +11:00
Cohee
85d25a8e13
Merge pull request #3060 from erew123/release
Support for AllTalk V1 and V2
2024-11-16 17:09:07 +02:00
erew123
e857db40fb
Updated AllTalk Extension to support AllTalk V2
1. Core Feature Addition:
   - Added AllTalk V1/V2 server version selection
   - Added RVC (Realistic Voice Conversion) support for V2
   - RVC features are automatically disabled when V1 is selected

2. Code Improvements:
   - Replaced custom debounce implementation with shared utils.js debounce utility
   - Fixed linting issues:
     - Converted HTML attribute quotes in template literals to single quotes
     - Added trailing commas where required
     - Fixed console.error message formatting

3. New Settings/Properties Added:
   ```javascript
   server_version: 'v2' (default)
   rvc_character_voice: 'Disabled'
   rvc_character_pitch: '0'
   rvc_narrator_voice: 'Disabled'
   rvc_narrator_pitch: '0'
   ```

4. Bug Fixes/Improvements:
   - Better error handling for RVC voice fetching
   - Improved URL handling for V1/V2 differences in API responses
   - Enhanced settings initialization and validation

5. Structural Changes:
   - Added RVC-specific UI elements and controls
   - Added version-specific logic for API endpoints
   - Improved settings synchronization between UI and backend

**NOTE** On line 70 there is an eslint bypass:

```javascript
        // HTML template literals can trigger ESLint quotes warnings when quotes are used in HTML attributes.
        // Disabling quotes rule for this one line as it's a false positive with HTML template literals.
        // eslint-disable-next-line quotes
        let html = `<div class="at-settings-separator">AllTalk V2 Settings</div>`;
```

The reason is:
1. ESLint's quotes rule wants all strings to use single quotes
2. However, this is a template literal containing HTML, where double quotes are standard for attributes
3. I tried various solutions:
   - Using single quotes: `<div class='at-settings-separator'>`
   - Using double quotes: `<div class="at-settings-separator">`
   - Even tried escaping quotes
   But ESLint just kept flagging it as an error
2024-11-15 13:14:38 +00:00
M0cho
30bca8e39b Supports GEMINI EXP 2024-11-15 05:26:10 +09:00
Cohee
f1bda3fb22
Merge pull request #3053 from Yokayo/staging
Update ru-ru translation
2024-11-11 23:04:05 +02:00
Cohee
a9aff676ba [chore] Apply lint and formatter 2024-11-11 22:36:06 +02:00
erew123
3138252928
Support for AllTalk V1 and V2
Select the version in the interface. 
RVC is not supported on AllTalk V1
2024-11-10 20:25:08 +00:00
Yaroslav Sivakov
ba2b251d6e Exclude links to embedded images from translation 2024-11-10 17:30:55 +03:00
Yokayo
88ad22196c Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-11-06 01:33:27 +07:00
Yokayo
9d664bc679 Update tl 2024-11-06 01:33:24 +07:00
Wolfram Ravenwolf
dcd11e4c54 Added Claude 3.5 Haiku 2024-11-04 20:19:39 +01:00
Cohee
77be125a99 NanoGPT: Add to image generation extension 2024-11-03 20:37:30 +02:00
Cohee
fe469745b3
Merge pull request #3037 from yar3333/release
Remove embedded images before send text to TTS
2024-11-03 19:02:44 +02:00
Yaroslav Sivakov
52a4c9202d
Update public/scripts/extensions/tts/index.js
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-11-03 19:57:33 +03:00
Yaroslav Sivakov
8b32ee9e80 Remove embedded images before send text to TTS 2024-11-02 20:25:25 +03:00
Cohee
48d8e6e2c3 Port #3031 onto new engine 2024-11-02 00:55:34 +02:00
Cohee
f5bdb52c25 Merge branch 'staging' into webpack 2024-10-26 19:11:29 +03:00
Wolfram Ravenwolf
139c6b9c71 Add Claude 3.5 Sonnet (latest) options 2024-10-24 12:51:34 +02:00
David Jimenez
030808d308
feat: add Claude 3.5 Sonnet 20241022 API model 2024-10-22 19:05:51 +01:00
Cohee
1c50180daa Merge branch 'staging' into webpack 2024-10-19 13:15:54 +03:00
50h100a
5d5e552cbd correctly interpret some alternate whitespaces in token names 2024-10-19 00:24:35 -04:00
Cohee
ff2c71c4ef MistralAI: Add new models to the list 2024-10-18 20:48:28 +03:00
Cohee
f918b146e7 Merge branch 'staging' into webpack 2024-10-17 23:08:36 +03:00
Cohee
ae784ddb1a Add detailer checkbox for SDNext 2024-10-17 22:47:09 +03:00
Cohee
a3693ccf6d Use deepMerge to combine payloads 2024-10-17 22:45:33 +03:00
Cohee
e03e32d66a unvendor: Replace morphdom 2024-10-17 11:12:22 +00:00
Cohee
ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
error-usernotavailable
301a31b8b2
Update settings.html
add checkbox in stable diffusion extension tab for ADetailer
2024-10-16 22:28:09 -04:00
error-usernotavailable
2689025ec3
Update index.js to use ADetailer in Auto1111/Forge/Vlad
added events, listener, and function for ADetailer/aiFaceDetailer. Rewrote function generateAutoImage to allow for tacking on of alwayson_scripts (maybe redo for a textbox/json later for other Auto1111 extensions?)

paired with settings.html edits
2024-10-16 22:23:31 -04:00
Cohee
416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
Cohee
3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00