Commit Graph

6287 Commits

Author SHA1 Message Date
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
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
Cohee a3ca407b27
Backport llama.cpp-related DRY fixes from staging (#3051)
* llama.cpp Enable dry w/ array convert

The new PR that was merged needs an array instead of a str

https://github.com/ggerganov/llama.cpp/pull/9702

* Safe sequence breakers parse

* Support comma-separated list of llama.cpp sequence breakers #3026

---------

Co-authored-by: Beinsezii <beinsezii@gmail.com>
2024-11-06 19:47:30 +02:00
Cohee fb48d25041 Fix new character highlight 2024-11-04 00:42:17 +02:00
Cohee 17b7f17676 Fix auto-continue with stream aborting
Closes #3021
2024-10-28 14:22:19 +00:00
Cohee 08d177e7ba Don't auto-swipe on aborted stream 2024-10-28 11:31:37 +00:00
Cohee 517b140911 Localize only the moment instance 2024-10-28 11:07:39 +02:00
Wolfram Ravenwolf 139c6b9c71 Add Claude 3.5 Sonnet (latest) options 2024-10-24 12:51:34 +02:00
Cohee e5183d7283 Extended getContext with SlashCommand classes 2024-10-23 23:46:33 +03:00
Cohee 0f320dd362 WebSearch: Add endpoint for Tavily 2024-10-23 23:38:17 +03:00
Cohee b5cdb29bf3 /popup: add scroll argument, allow scroll by default 2024-10-23 23:03:07 +03:00
Cohee e03f1b14e6 Enable vertical scrolling in /buttons
Closes #3012
2024-10-23 23:00:08 +03:00
Cohee d7c575994d Replace macros in user filler message
Fixes #3011
2024-10-23 22:57:48 +03:00
David Jimenez 030808d308
feat: add Claude 3.5 Sonnet 20241022 API model 2024-10-22 19:05:51 +01:00
Cohee 7e9f5b8ee2 Indicate connected textarea for expanded editor 2024-10-21 11:01:55 +03:00
Cohee 0a79d55983
Merge pull request #3002 from 50h100a/streamprobs
Correctly view token probabilities when 'Continue'-ing a response.
2024-10-19 13:14:44 +03:00
Cohee afde6e3f45 Add word-break in logprobs display 2024-10-19 13:13:42 +03:00
Cohee 78bbf0ed02 Fix format 2024-10-19 13:13:24 +03:00
50h100a 9f97a144e8 slightly change stream "abort" flow so token probabilities get successfully updated 2024-10-19 00:31:12 -04:00
50h100a 5d5e552cbd correctly interpret some alternate whitespaces in token names 2024-10-19 00:24:35 -04:00
Cohee 1ac6780e9c MistralAI: Explicitly set context size for ministral 2024-10-18 20:52:17 +03:00
Cohee ff2c71c4ef MistralAI: Add new models to the list 2024-10-18 20:48:28 +03:00
Cohee 2cdf53a3dd [chore] Lint login.html 2024-10-18 20:30:30 +03:00
Cohee f61c2403d6 Featherless: Fix model pagination init 2024-10-18 20:05:50 +03:00
Cohee 9c379125be [chore] Add JSDoc 2024-10-18 19:46:37 +03:00
Cohee 80f91d129e Firefox: fix copy from edit textarea 2024-10-18 12:54:26 +00:00
Cohee 027d710716 NovelAI: Increase tier token limits 2024-10-17 23:47:47 +03:00
Cohee cb987706eb
Merge pull request #3000 from error-usernotavailable/staging
ADetailer functionality for stable-diffusion extension
2024-10-17 22:47:58 +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 ada44497de
Merge pull request #2994 from artisticMink/fix-double-quotes
Fix double double quotes when copying chat message text in Firefox
2024-10-17 22:19:48 +03:00
maver 82570ef31d
Remove textnode checks before applying firefox double double qutoes fix 2024-10-17 18:55:17 +00:00
Cohee f897a4ab1a Merge with browser fixes from RossMods 2024-10-17 21:25:50 +03:00
maver 34ff8e239f Fix double double quotes when copying chat message text in Firefox 2024-10-17 14:14:24 +02: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
QuantumEntangledAndy c837c2ed15
js empty 2024-10-17 09:10:27 +07:00
QuantumEntangledAndy 83182245d6
Disable swipe gestures while in edit mode 2024-10-17 08:29:33 +07:00
Cohee 725cfdebca
Merge pull request #2993 from theo77186/llamacpp_xtc
Enable XTC support for llama.cpp
2024-10-16 20:52:06 +03:00
Cohee 276316ae62 Auto-add missing samplers for llama.cpp 2024-10-16 20:51:32 +03:00
theo77186 37f3a24ac6 Enable XTC support for llama.cpp 2024-10-16 18:30:46 +02:00
Cohee ba0d6bfa26 Vectors: fix force_chunk_delimiter value init 2024-10-16 07:53:53 +00:00
Cohee e01a243ce5
Merge pull request #2988 from QuantumEntangledAndy/feat/cachedVectorSummaries
Add client side cacheing of vector summaries
2024-10-15 23:32:20 +03: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 24884b3206 TextGenWebUI: remove legacy API mode 2024-10-15 00:32:56 +03:00
Cohee 8986cb0039 Update preset button styles 2024-10-14 20:56:31 +03:00
Cohee 17ff324e9c Remove outdated warning 2024-10-14 13:36:03 +00:00