1539 Commits

Author SHA1 Message Date
Cohee
e83182c03b Image Generation: Add tool message visibility toggle 2024-12-19 19:33:29 +02:00
Cohee
a6f37880e2
Merge pull request #3198 from ceruleandeep/i18n/generateImage
Fix i18n tags for Generate Image/Stop Image Generation, add translations
2024-12-17 07:55:08 +02:00
ceruleandeep
247a23bda9 Fix i18n for "Generate Caption" in wand menu 2024-12-16 20:51:29 +11:00
ceruleandeep
0ea4494dea Fix i18n tags for Generate Image/Stop Image Generation, add translations 2024-12-16 20:03:40 +11:00
M0cho
9cab0618b6 Update: [caption/settings.html] Remove GAI version of gemini-pro-vision
Retained the OpenRouter version, as it is still available via Vertex.
2024-12-15 12:43:16 +09:00
M0cho
a64c8ade9d Support Gemini 2.0 Flash-exp 2024-12-12 06:31:27 +09:00
Cohee
c5b3ce0d5c Merge branch 'staging' into redesign-extension-manager 2024-12-09 22:12:50 +02:00
Alex Denton
f98f83471a
Update index.js
Changes for LLM API
- Avoid sending partial API requests when streaming.
- Avoid checking character length when using API as it can afford more characters.
2024-12-08 23:31:03 +01:00
Cohee
c842c6f238 Merge branch 'staging' into redesign-extension-manager 2024-12-08 16:30:16 +02:00
Cohee
1d3abf54a5 Move AllTalk event handlers setup up 2024-12-08 00:48:44 +02:00
Cohee
abe51682c8 [wip] Add global extensions 2024-12-07 17:10:26 +02:00
Cohee
3ed095bb0e
Merge pull request #3154 from SillyTavern/optimize-past-swipes
Optimize past swipes
2024-12-06 21:31:19 +02:00
Cohee
dce63f52c0 Remove SD module worker 2024-12-06 20:21:01 +02:00
M0cho
073b76a693 Support Gemini-exp-1206 2024-12-07 02:19:15 +09:00
Cohee
63f9f33e20
calc() is not needed 2024-12-05 18:50:20 +02:00
IceFog72
960db2d59b
Update tts/style.css
.at-settings-separator padding fix
2024-12-05 03:25:13 +02:00
IceFog72
3d8f8d90c3
Update stable-diffusion/style.css
#sd_dropdown backdrop-filter fix
2024-12-05 03:23:11 +02:00
Cohee
66a862f797 Lint the use of data-i18n attributes 2024-12-01 15:10:22 +02:00
ceruleandeep
2f7bc7ca8d Filter out hidden items in context menus
Add CSS to apply label show/hide settings to QRs in context menus

Add provision for QR set applied to one of its own buttons as "burger" menu
2024-11-30 00:46:04 +11:00
Cohee
2384031d09
Merge pull request #3121 from ceruleandeep/fix/handleIdForQRMenuAdd
Wire up id= parameter for /qr-context*
2024-11-29 14:27:57 +02:00
ceruleandeep
3a1a955164 Make QR context menu display options more consistent with QR bar
Use QR title as tooltip if set on the QR

Add qr--hidden class to "invisible" context items to allow hiding with CSS

Add title and isHidden props to MenuItem

Remove domIcon and domLabel props: not needed for ctx menu rendering; isForceExpanded: unimplemented
2024-11-29 17:44:51 +11:00
ceruleandeep
e8004b5b56 Wire up id= parameter for /qr-context*
Parameter is in the named arguments but was not handled in the handler. Added `args.id !== undefined ? Number(args.id) : args.label` etc, as used elsewhere.
2024-11-29 11:52:57 +11:00
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