Commit Graph

1497 Commits

Author SHA1 Message Date
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
Cohee
e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
Cohee
ba0d6bfa26 Vectors: fix force_chunk_delimiter value init 2024-10-16 07:53:53 +00:00
Cohee
69283f511f Optimize summarization on query 2024-10-15 23:27:18 +03:00
Cohee
e3de69a235 Add hash for getQueryText 2024-10-15 23:17:27 +03:00
Cohee
65d3c2729a Fix typo in variable name 2024-10-15 23:14:59 +03:00
QuantumEntangledAndy
bb7e7b645d
Add client side cacheing of vector summaries 2024-10-15 10:34:03 +07:00
Cohee
83ef5a67f6 Merge branch 'staging' into google-tts 2024-10-13 17:16:08 +03:00
Cohee
93137e3e2a [chore] Fix lint errors 2024-10-13 14:02:53 +03:00
Cohee
8cb0fda321 TTS: Add Google Translate TTS 2024-10-12 13:35:11 +03:00
RossAscends
5d6d7568c3 clarify QR popout only possible on desktop 2024-10-12 06:01:44 +09:00
RossAscends
d772d24052 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-10-12 05:58:42 +09:00
RossAscends
cdb271e6ec fix QR popout controlBar display, hide QR popout button for mobile 2024-10-12 05:58:39 +09:00
Cohee
44e73fbf27
Merge pull request #2975 from akvadrako/together-ai-new-image-api
Support the non-deprecated Together.ai Create Image API
2024-10-11 20:29:31 +03:00
Devin Bayer
ed8e379e54 support new together.ai image generation api 2024-10-11 17:48:33 +02:00
Cohee
fe33519422 Image Generation: Don't replace dots with commas 2024-10-11 15:32:45 +00:00
Cohee
10f51f5d90 ImageGen: Add a placeholder for {{prefixedPrompt}} in the message template
Closes #2946
2024-10-09 03:44:22 +03:00
Cohee
de57123e62 Change GenerateImage tool description 2024-10-09 02:57:08 +03:00
Cohee
9e50ff34c9 Make Run on edit actually work
Fixes #2958
2024-10-07 20:21:07 +03:00
Cohee
f7ec2e47d6 Indicates extensions that add tools in the list 2024-10-06 21:58:59 +03:00
Cohee
a4256ccf57 ImageGen: rename Enable function tool => Use function tool 2024-10-06 21:19:06 +03:00