Cohee
b99ccc3f0c
OpenAI: Add Sora 2 API ( #4748 )
...
* OpenAI: Add Sora 2 API
* Add duration control
* Support client generation abort
* Reduce poll log amount
* Simplify selector
* Simplify model-specific control handling
2025-11-16 17:49:21 +02:00
Cohee
38679897c6
Add captioning for video attachments ( #4749 )
...
* Add captioning for video attachments
* Unify error toast titles
* Add MEDIA_SOURCE enum and update media handling to include source information
* Unify attachment handling logic
* Add error handling for auto-captioning failures
* Use string formatting for console error
2025-11-08 02:07:28 +02:00
Cohee
ad72fa806e
Google: Add Veo models ( #4742 )
...
* Google: Add Veo models
* Combine retry into a singe loop
* Improve error logging and reporting
* Add client abort handling for video generation endpoint
2025-11-06 19:58:01 +02:00
Cohee
c14fba8829
Add scroll behavior options for media appending
2025-11-02 23:27:34 +02:00
de7c113346
Multiple attachments ( #4719 )
...
* Multiple file uploads
* mes_img_wrapper
* mes_video_wrapper
* Named export instead of function wrapper
* Update public/scripts/chats.js
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Fix optional chaining for message extra
* Preserve existing files with paste
* Improve swipe message extras clean-up
* Clean-up: Add chat_backgrounds to known images
* Add ensureMessageMediaIsArray to getContext
* Fix compatibility warning
* Update to media array
* Move de-dupe check logic
* Fix comment
* Fix clean-up logic
* Improve typing
* `feat/multi-file` Added a toggle between the old gallery and new image list. (#4722 )
* Added "Toggle Gallery" button.
Added `getContainerInfo`.
* Refactor
* Change checkbox toggle to select
* Ensure media_display is set correctly only if any image_swipes were migrated
* Rename function
* Support Date in parseTimestamp
* Add type to main chat array
* Add media display reload prompt
---------
Co-authored-by: user <user@exmaple.com >
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
* Use a single wrapper block for media
* Fix type annotation
* Fix video display in list mode
* Refactor saveImageToMessage to include title in media object
* Use named constants in migrateMediaToArray
* Update img control styles
* Fix error container state
* Refactor onImageSwiped
* Remove redundant event handler
* Refactor expandMessageMedia
* Use shared function for display handling, fix notice logic
* Enhance ChatMessage and ChatMessageExtra types
* Refactor media display reload logic
* Improve styling for media containers
* Adjust spacing in file form styles
* Fix scroll handling in appendMediaToMessage
* Reduce flicker in appendMediaToMessage
* Extract scrollOnMediaLoad func
* Improve scroll behavior in gallery display
* Improve delegation for click events
* Add file d&d handler to #form_sheld
* Improve scroll adjust for slow connections
* Adjust debounce timeout
* Add messageMedia enum provider
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: DeclineThyself <FallenHaze@tutamail.com >
Co-authored-by: user <user@exmaple.com >
2025-11-02 20:10:43 +02:00
f0ceba43e9
feat: [Electron Hub] Support Vector Storage, Better searching for image engine ( #4540 )
...
* feat: [Electron Hub] Add Vector Storage, Better searching for image model list
* feat: [Electron Hub] Add quality parameter for Image Engine
* fixed ESLint
* Update public/scripts/extensions/vectors/index.js
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* small tweaks
* Use default getOpenAIVector
* Refactor and clean-up code
* Move endpoint filtering logic to backend
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-10-21 23:38:12 +03:00
20556aa3dd
Refactored swipe and moved messageEdit to a separate function. ( #4610 )
...
* Extracted `messageEdit` and `messageEditCancel` from `.mes_edit` and `.mes_edit_cancel`
* Fixed.
https://github.com/SillyTavern/SillyTavern/pull/4633#discussion_r241505
https://github.com/SillyTavern/SillyTavern/pull/4633#pullrequestreview-3316588180
* Refactored `swipe` and moved `messageEdit` to a separate function.
Also, a few more minor changes.
* Fixed bug.
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2404789035
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2404789038
* Fixed.
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408682277
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408689706
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408690772
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408697066
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408705156
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408708088
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408725971
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408726241
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408740050
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408745918
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408753165
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408761262
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408764531
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408781694
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408784426
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408794672
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408802366
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408803433
* Fixed:
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408702506
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408805635
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2410368443
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2408791120
* Bugfixes. Incomplete.
* Fix formatting
* Use scrollTop because scrollIntoView breaks layout on phones.
* Only show '?' in `formaSwipeCounter` if something is wrong.
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2412169005
* Respect animation_duration if it's >= 0.
* Disabled expandNewMessage's animation on Cohee's request. https://github.com/SillyTavern/SillyTavern/pull/4610/files#r2408731744
* Only hide the swipe counter when a generation is ongoing.
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2440588779
* refreshSwipeButtons
* Adjust swipeDuration constant
* feat: add refreshSwipeButtons and isSwipingAllowed to context
* Fixed image swipes.
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2442489827
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2442490042
* Fixed.
https://github.com/SillyTavern/SillyTavern/pull/4610#issuecomment-3418657967
* Fixed: https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2442480238
* Fixed.
https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2442536011
* Minor refactor.
* Fixed: https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2443359660 https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2443359435
* Fixed: https://github.com/SillyTavern/SillyTavern/pull/4610#discussion_r2443357913
* Fix registration of click events
* Fix passing data to swipe events
---------
Co-authored-by: user <user@exmaple.com >
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-10-20 20:51:33 +03:00
1e05eac7df
Update ru-ru locale ( #4522 )
...
* Work on tl
* eslint fix
* Update data-i18n attribute for expand view button
* Add data-i18n to button
---------
Co-authored-by: Yokayo <nonameutubecomm@gmail.com >
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-09-14 20:57:33 +03:00
Ngo Dinh Gia Bao and Cohee
8687bb99f3
Add Electron Hub as Chat Completions Provider ( #4458 )
...
* fixed merge conflicts
* Supported max tokens + fixed wrong image model mapping
* fixed merge conflicts
* fixed merge conflicts
* updated the logic
* updated the logic
* replaced hard coded reasoning_effort mode list with a dynamic function
* replaced hard coded reasoning_effort model list with a dynamic function
* Fix eslint
* Adjust reasoning effort logic
* Code clean-up
* Add logo
* Add inline image quality
* Fix multimodal models list
* Fix seed not passed
* Add "detail" error parser
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-09-04 21:25:31 +03:00
e9e14001e3
Update ru-ru locale ( #4449 )
...
* Work on tl
* Small fix
* Fix formatting
---------
Co-authored-by: Yokayo <nonameutubecomm@gmail.com >
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-08-26 20:37:55 +03:00
sirius422 and sirius422
4d9f229383
Add Variety Boost option for NovelAI image generation. ( #4417 )
...
Co-authored-by: sirius422 <sirius42@gfw.moe >
2025-08-22 20:27:17 +03:00
Cohee
1a92157643
Refactor generateRaw/generateQuietPrompt calls ( #4277 )
...
* generateQuietPrompt: Update to object arguments
* generateRaw: Update to object arguments
* Fix jsdoc
* Fix lint
* Unwrap JSON schema options
* Remove default args from gen call
2025-07-15 23:11:31 +03:00
Cohee
7755fc50a5
Image Generation: Support video outputs for ComfyUI ( #4194 )
...
* ImgGen: ComfyUI support video outputs
* Fix video format check to handle undefined and case sensitivity
* Fix error handling and add output debug log in comfy workflows
* Refactor Comfy generation result
* Add video file extensions constant
2025-06-25 20:11:09 +03:00
Cohee
1786e641f7
Image Generation: save modified prompt on image swipe gen
2025-06-20 20:56:58 +03:00
Cohee
2d28f5cdaf
Google: Add Imagen image generation
2025-06-20 20:44:21 +03:00
coffeegrind123 and Cohee
0a136cbb2a
Add Extension Hook for Stable Diffusion Prompt Processing ( #4167 )
...
* Update index.js
* Update index.js
* Update script.js
* Use a named constant in event emit
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2025-06-16 21:48:38 +03:00
Dmitry
fece612f09
Merge pull request #4135 from D1m7asis/release
...
feat: Added AI/ML API Provider Support
2025-06-13 20:59:18 +03:00
closure
26f717ac45
Added NAI Diffusion V4.5 Full and V4.5 Curated
2025-05-30 17:48:39 -03:00
Cohee
7a6c930adc
{{charPrefix}} is real.
2025-05-24 20:37:46 +03:00
Cohee
ed2e6fff6e
OpenAI: add gpt-image-1 model
2025-05-23 20:33:27 +03:00
Cohee
0c4c86ef06
Add xAI for image generation extension
2025-04-11 20:32:06 +03:00
equal-l2
2a31f6af2d
Remove Block Entropy references
...
Block Entropy shut down their service at the end of 2024.
2025-03-28 00:47:30 +09:00
Cohee
20cdcc37fc
Fix fixable lints
2025-03-19 20:00:33 +02:00
bmen25124
92dacdb386
better type name, simplified context
2025-03-13 02:27:03 +03:00
bmen25124
ddb77732f2
New context methods, added type parameters to message events
2025-03-12 21:25:16 +03:00
Cohee
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
Daryl
3a2d29b5cb
Responding to PR change reviews
2025-03-01 17:21:11 -04:00
Daryl
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
Daryl
d788c2fbb5
Added support for NovelAI Diffusion V4 Full via API to Image Generation extension.
2025-03-01 01:30:42 -04:00
Cohee
76e45abfc6
Fix SD prefixes for first in the list
2025-02-28 10:38:42 +02:00
Kristan Schlikow
76becb43ae
Pass through errors coming from FAL to the user
2025-02-13 21:43:08 +01:00
Kristan Schlikow
b033b98532
Address issues raised in PR
2025-02-13 21:09:13 +01:00
Kristan Schlikow
6e0ed8552f
Add support for FAL.AI as image gen provider
2025-02-13 19:34:34 +01:00
Cohee
f83dccda39
Mark 'Extras' option as deprecated in built-in extensions
2025-02-08 21:56:54 +02:00
Cohee
989f5a8692
Image Gen: don't generate a new swipe seed if already using a random seed
2025-01-05 00:49:23 +02:00
Cohee
2f5f9a437d
Allow running generate interceptors on quiet prompts
2025-01-03 01:10:14 +02:00
Cohee
d0e1c3287a
NovelAI: Fix scheduler auto-assign
2025-01-02 22:58:06 +02:00
Cohee
e0af5ff353
Default to undefined for no VAE selected
2024-12-31 00:13:26 +02:00
Cohee
8447c7e637
Fix VAE for SD forge
2024-12-31 00:12:25 +02:00
Cohee
f416b6cd54
Revert "Pass VAE name to SD forge"
...
This reverts commit 3a29756109 .
2024-12-30 23:47:57 +02:00
Cohee
3a29756109
Pass VAE name to SD forge
2024-12-30 01:12:37 +02:00
Cohee
e1b6eab9eb
Fix SD forge generation with hires
2024-12-30 00:09:37 +02:00
Cohee
c3ad87cea1
ComfyUI: negate clip_skip placeholder value
2024-12-28 16:05:58 +02:00
Cohee
149de7d257
Image Gen: make CFG step 0.1
2024-12-28 02:28:58 +02:00
Cohee
c42a7739d6
NovelAI: Fix backward compatibility with scheduler setting
2024-12-27 00:24:53 +02:00
Cohee
b5eb2b5150
NovelAI: Limit maximum steps to 50
2024-12-26 22:51:58 +02:00
Cohee
27f8768141
NovelAI: Make Euler Ancestral a default sampler
2024-12-26 22:44:15 +02:00
Cohee
844d8bdee7
NovelAI: Disable SMEA/DYN for V4
2024-12-26 22:42:01 +02:00
Cohee
f92f8f4a84
NovelAI: Remove deprecated SD models
2024-12-26 22:24:37 +02:00
Cohee
4a4e02450c
locales: update API key hint from Horde KoboldAI to AI Horde
2024-12-26 21:54:24 +02:00