Commit Graph

2349 Commits

Author SHA1 Message Date
DreamGenX bc8d41b530 Implement suggestions 2024-03-07 17:28:38 +01:00
Wolfsblvt 7b49290fec Merge branch 'staging' into tags-as-folders-enhancements 2024-03-07 16:09:57 +01:00
DreamGenX 5c410986a4 Add support for DreamGen API.
API docs: https://dreamgen.com/docs/models/opus/v1
API keys: https://dreamgen.com/account/api-keys

I decided to base this on the text-completion API since it's more
flexible with SillyTavern's prompt formating capabilities.

This also means that custom context and instruct settings are required.

Will add documentation in a followup PR.
2024-03-07 12:25:48 +01:00
Wolfsblvt 9f42cafc39 Tag Folders: Clear all filters button
- Add "clear all filters" button for tag and search filters
- Resize back button to take less space
- Fix char grid display
2024-03-07 04:26:33 +01:00
johnbenac 8036a07df4
clarified placeholder comfyui text 2024-03-06 21:34:31 -05:00
Wolfsblvt fb97f563b7 Tag Folders: show hidden numbers
- Show hidden counts for folders, and total
- Rework resizing of character names to shrink additional data first
- Better placement for group numbers
2024-03-07 02:15:41 +01:00
Wolfsblvt 18379ec602 Tag Folders: Improve global tag filters
- Update global tag filters to three-state filters
- Add filter for folders (showing empty folders or no folders)
- Final fix of filtering (should be correct now)
2024-03-06 23:13:22 +01:00
Cohee bb53fef531 Clean-up docs and leftover logs 2024-03-06 23:10:52 +02:00
Cohee 9a6824f86c
Merge pull request #1886 from parsedone/patch-2
Fixes [BUG] STscript parser() incorrectly manages spaces
2024-03-06 23:04:10 +02:00
Wolfsblvt fc6146fa00 Tag Folders: Rework favorites display
- Favorites display uses same method than inline avatars
- Favorites now respect avatar style
2024-03-06 04:59:39 +01:00
Wolfsblvt 8e184254c8 Merge branch 'staging' into tags-as-folders-enhancements 2024-03-06 01:07:22 +01:00
Wolfsblvt 4ab45330c4 Tag Folders: Refactor tag code into tag.js 2024-03-06 01:05:08 +01:00
Wolfsblvt e578d3dbb6 Tag Folders: hidden/closed folders
- Implement folder types: Open, Closed, None
- Closed folders hide characters from most places
- "character(s)" singular wording on entity list
- small refactoring for that code
2024-03-06 00:28:14 +01:00
Cohee 00a4a12d7d Remove "Exclude Assistant suffix" option 2024-03-05 20:41:53 +02:00
based 3e1d44fc29 remove deprecated option + reverse proxy support in claude vision 2024-03-06 02:47:00 +10:00
based de0e0dad27 he forgor oop 2024-03-05 15:33:07 +10:00
based 8d9175f3f2 update default settings preset 2024-03-05 15:22:16 +10:00
based 64d9c9dc5d anthropic captioning 2024-03-05 07:07:38 +10:00
based 7bb8741cfa fix older model naming for the new api 2024-03-05 05:50:29 +10:00
based 04bb882e90 implement messages api and selector for nuclaude models 2024-03-05 04:40:19 +10:00
Cohee 7acd2916ec Fix image uploading if character name contains a dot 2024-03-03 20:39:20 +02:00
Cohee c4da1e3576 Fix for stats with no chat open 2024-03-03 19:36:40 +02:00
Cohee 2a5c240399 Fix for old iOS 2024-03-03 19:36:23 +02:00
Cohee b9392893dc [FEATURE_REQUEST] Option to toggle disable instruct formatting for example dialogue insertion #1881 2024-03-03 19:12:20 +02:00
Cohee 314c52fa5f
Merge pull request #1885 from parsedone/patch-1
Fixes [BUG] STscript /fuzzy returning wrong answer
2024-03-03 16:07:12 +02:00
Cohee 975206fd06 Clean-up /fuzzy command doc comments 2024-03-03 16:04:48 +02:00
Cohee 39c588f30e Showdown: parse single underscores as italics 2024-03-03 15:26:29 +02:00
RossAscends 77791ae3e9 revamp creator note & spoiler hide/show 2024-03-03 18:55:16 +09:00
parsedone d217a4e32f
Fixes [BUG] STscript SlashCommandParser.parser() incorrectly manages spaces
Fixes bug SillyTavern#1884

Parses a command even when spaces are present in arguments

Examples that now work:

/buttons labels=["OK","I do not accept"] some text /fuzzy list=[ "red pink" , "yellow" ] threshold=" 0.6 " he yelled when the color was reddish and not pink | /echo
2024-03-03 04:09:58 +01:00
parsedone 88f42132c2
Update slash-commands.js [BUG] STscript /fuzzy returning wrong answer
Implements fix of the bug #1883 "[BUG] STscript /fuzzy returning wrong answer".

Fix the params so tha /fuzzy detect when a "candidate" item is found (using fuzzy matching) in the text passed without argument name.
Also added optional "threshold" that allows to change the value used by Fuse in order to have stricter or looselier matching.

Also updated the parser.addCommand('fuzzy', fuzzyCallback
2024-03-03 03:43:44 +01:00
Wolfsblvt c0e112d195 Tag Folders: inline info for groups and avatars
- Add list of character avatars to folders (overflow hidden)
- Add and/or move count of characters for both groups and folders in overview
- Add name list of all chars for groups, above tags
- Replace alt texts of all avatar images with the entity name
- Made title/mouseover tooltip more useful with separation between types and their names
- refactored CSS usage of avatar sizes to global variables
- grid view alignment changes
2024-03-03 02:12:18 +01:00
Wolfsblvt 1faf8b7ee2 Tag Folders: Sync tag filters and bogus drilldown
- When you select or unselect a filter that is also a folder, the folder gets put into the drilldown
- When you click a folder or go back, the tag selection is synced accordingly
- Do not throw away bogus/tag filter on redraw/refresh of the list
2024-03-03 02:12:18 +01:00
Wolfsblvt 3e44dddfda Tag Folders: Drilldown for select and improved filter
- drilldown visible for bogus folder selections
- drilldown can be changed and refreshed
- enhanced filters (remove empty folders/tags from list by default)
2024-03-03 02:12:17 +01:00
Wolfsblvt 25a0ea0cb6 Tag Folders: tag filters indicator and show settings
- Add an indicator if any tag filters are applied, so you can see if there are any filters even if the list is collapsed
- Save collapse state of the tag list
- Fix folders vanishing if tag filters are applied (now really)
2024-03-03 02:12:17 +01:00
Wolfsblvt 25b528ee4f Tag Folders: add tag folder sorting and enabling
- make tags sortable per drag&drop (then sorted everywhere)
- each tag can individually be enabled as folder
- fix redraw of tags/entity list on tag changes
2024-03-03 02:11:35 +01:00
Cohee b490978142 Refactor vector models code 2024-03-02 23:16:18 +02:00
Kristan Schlikow adfb9c5097
Implement TogetherAI as vectorization provider 2024-03-01 23:52:49 +01:00
Cohee 95c49029f7 Add aphrodite model selector 2024-03-01 23:02:43 +02:00
Cohee d1ca855d23 Debounce token counting in popup plugin 2024-03-01 21:42:49 +02:00
Mae Thomson 63cd8b98dd Fix broken avatar thumbnail upon deleting last member of a group 2024-03-01 11:06:23 -05:00
Cohee b716dfbc0d
Merge pull request #1874 from deciare/underline-text-format
Support underlined text formatting
2024-03-01 17:49:14 +02:00
kalomaze 45776de1d5 Smoothing curve support for ooba 2024-03-01 00:06:34 -06:00
Deciare d554edc023 Support underlined text formatting.
- Enable the `underline` option for Showdown.
- Implement option for underlined text colour.
- Update stylesheet.
2024-03-01 00:35:27 -05:00
Cohee eaeafde0e4 Use Readability to extract text from HTML 2024-02-29 16:37:52 +02:00
Cohee 3d84ae026d Fix formatting 2024-02-29 11:50:41 +02:00
Cohee 8981346360
Merge pull request #1861 from berbant/staging
Deleting the current chat when creating a new one
2024-02-29 11:47:05 +02:00
Cohee e8985c259c Merge branch 'EugeoSynthesisThirtyTwo/release' into staging 2024-02-29 11:34:38 +02:00
Cohee 184fd1622f Limit to ooba only. Exclude from presets 2024-02-29 11:33:47 +02:00
gabriel dhimoila 76669ff8bb add max_tokens_second 2024-02-29 00:55:25 +01:00
berbant a85a2bbab1
Merge branch 'SillyTavern:staging' into staging 2024-02-28 22:46:43 +04:00
Cohee d024d7c700 Allow max value for per-entry depth 2024-02-27 23:34:07 +02:00
based 149a65cf62 migrate model name in old presets to new naming scheme 2024-02-27 02:23:07 +10:00
Cohee f962ad5c02 Add OpenRouter as a text completion source 2024-02-25 22:47:07 +02:00
berbant 670f08fad2
Update group-chats.js
After deleting a group chat, the oldest chat became active. I've fixed it so that the most recent chat becomes active instead.
2024-02-25 21:11:56 +04:00
Cohee 9e5505a7d4 Autocomplete for WI automation IDs 2024-02-25 03:54:40 +02:00
Cohee fc289126fa Add event type for text completion generation request settings ready 2024-02-24 21:45:33 +02:00
Cohee d5bf9fc28c Non-streaming logprobs for Aphrodite 2024-02-24 20:53:23 +02:00
Cohee d140b8d5be Parse non-streaming tabby logprobs 2024-02-24 20:10:53 +02:00
Cohee 3cedf64f66 Add autocomplete for WI inclusion groups 2024-02-24 19:04:44 +02:00
Cohee 3441667336 #1853 Add WI/Script link by entry automation id 2024-02-24 17:22:51 +02:00
Cohee 7b8ac8f4c4 Properly use vector insert setting 2024-02-24 15:57:26 +02:00
Cohee 8848818d67 Fix dynatemp neutralization 2024-02-24 15:32:12 +02:00
Cohee 299bd9d563 Merge branch 'staging' into llamacpp-sampler-order 2024-02-24 15:10:58 +02:00
Cohee 13aebc623a
Merge pull request #1854 from deciare/llamacpp-probs
Request and display token probabilities from llama.cpp backend
2024-02-24 15:06:28 +02:00
Cohee eaadfea639 Extend debounce duration of logprobs renderer 2024-02-24 15:03:57 +02:00
Cohee 9287ff18de Fix for non-streaming 2024-02-24 14:50:06 +02:00
Cohee dab9bbb514
Merge pull request #1844 from infermaticAI/InfermaticAI
Add InfermaticAI as a text completion source
2024-02-24 14:28:09 +02:00
Deciare 445cbda02f If token probability is a logarithm it'll be < 0
No need to read settings to find out if llama.cpp backend is in use...
2024-02-24 00:13:33 -05:00
Deciare 9eba076ae4 Sampler order for llama.cpp server backend 2024-02-23 23:01:04 -05:00
Deciare 936fbac6c5 Merge remote-tracking branch 'origin/staging' into llamacpp-probs 2024-02-23 17:45:54 -05:00
Cohee 737a0bd3ae Fix purge extras and mistral vectors 2024-02-23 22:37:00 +02:00
Cohee 9b34ac1bde
Merge pull request #1852 from berbant/staging
Display TranslateProvider link
2024-02-23 21:43:59 +02:00
Cohee cb536a7611 Save a list of safe to export secret keys 2024-02-23 21:41:54 +02:00
Cohee 82c5042bad Prevent extra loop iterations on buffer init 2024-02-23 21:23:44 +02:00
Cohee 4baefeba68 Extend per-entry scan depth limit, add warnings on overflow 2024-02-23 21:18:40 +02:00
Deciare 344b9eedbc Request token probabilities from llama.cpp backend
llama.cpp server token probabilities are given as values ranging from
0 to 1 instead of as logarithms.
2024-02-23 14:01:46 -05:00
berbant eb89337f51
Update index.js 2024-02-22 23:49:47 +04:00
Cohee c9f0d61f19 #1851 Substitute macros in new example chat 2024-02-22 18:45:50 +02:00
NWilson f569424f3e Merge branch 'staging' into InfermaticAI 2024-02-22 08:32:10 -06:00
Cohee ece3b2a7c1 Fix Chat Completions status check on settings loading if another API is selected 2024-02-22 04:36:06 +02:00
Cohee 0ccdfe4bb7 Fix duped line 2024-02-22 02:45:35 +02:00
Cohee 40aa971d11 Merge branch 'staging' into sampler-order-ooba 2024-02-22 02:44:32 +02:00
Cohee 0c1cf9ff2e Send sampler priority as array 2024-02-21 00:53:54 +02:00
Cohee f0141b4dd1
Update slash-commands.js 2024-02-20 16:57:00 +02:00
Sneha C 095cd873de
Update slash-commands.js
added the word "persona" to the /sync description to make it easier for users to find.
2024-02-20 16:48:43 +04:00
Cohee 8ba9b5c38b Merge branch 'staging' into sampler-order-ooba 2024-02-20 02:32:33 +02:00
Cohee 8e66a14e37 Add hints to doc strings about additional command prompts 2024-02-20 02:29:14 +02:00
kalomaze 32ee58e5e6 fix kcpp order reset 2024-02-19 18:12:56 -06:00
Wolfsblvt 550d8483cc Extend impersonate/continue/regenerate with possible custom prompts
- Use custom prompt provided via slash command arguments (similar to /sysgen and others)
- Use written text from textbox, if the popout menu actions are clicked
2024-02-19 22:23:58 +01:00
Cohee 2e00a1baaf [FEATURE_REQUEST] Can the unlocked max context size for OpenAI completion be increased from 102k to 200k for example? #1842 2024-02-19 19:37:18 +02:00
NWilson 030806bf1e Merge remote-tracking branch 'origin/staging' into InfermaticAI 2024-02-19 10:14:06 -06:00
Cohee 3c2113a6e7 Add ability to preserve file names when loading from assets downloader 2024-02-19 00:17:23 +02:00
Cohee 29b971a986 Merge branch 'staging' into slash-fix-bleed 2024-02-16 20:48:32 +02:00
Cohee c06fe6abfc Add character asset type 2024-02-16 20:42:56 +02:00
Cohee a8cd6c9fe7 Allow finding characters in slash commands by exact PNG name 2024-02-16 20:24:47 +02:00
NWilson 8075e4cd1e Changes 2024-02-16 09:07:06 -06:00
NWilson b5887960b6 Merge branch 'release' into InfermaticAI 2024-02-16 08:53:04 -06:00
Cohee 0da0d490c7 #1796 Attempt to fix alltalk on remote servers 2024-02-14 19:44:47 +02:00
Cohee 6ab918605e Allow single quotes in generated SD prompts 2024-02-14 15:39:56 +02:00
Cohee e3102bb26f #1823 Add -1 as min value for top k 2024-02-14 01:45:07 +02:00
Cohee 8d4c4c1945 Only snap resolution if pixel counts change 2024-02-13 11:40:37 +02:00
Cohee b8387df15e #1826 Allow snapping to known resolutions for face/bg generations 2024-02-12 17:28:39 +02:00
Cohee 9d713825c2 #1827 Consolidate {{group}} macro behavior 2024-02-12 16:23:01 +02:00
Cohee 0480488127
Merge pull request #1815 from bdashore3/staging
Fix zen slider values
2024-02-11 19:27:37 +02:00
Cohee 33d93b9761 #1813 Fix squash system messages 2024-02-11 15:56:48 +02:00
kingbri 6e10c43c63 Zen Sliders: Add off values for dynatemp and smoothing factor
Off for dynatemp is 1.0, smoothing factor is 0.0

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-11 01:32:32 -05:00
kalomaze 9fed7ed742 Make the neutralize option turn off quad sampling 2024-02-10 17:57:00 -06:00
kalomaze 70deb11d27 implement jank js + drag n drop sampler priority 2024-02-10 16:32:46 -06:00
kalomaze 818029288e Remove sending it if it's Aphrodite or TabbyAPI 2024-02-10 15:22:24 -06:00
Cohee cbea5bf996 UI Theme import/export 2024-02-10 23:12:16 +02:00
kalomaze 2065f95edc Sampler priority support 2024-02-10 14:57:41 -06:00
Cohee df97f5364b Regex import/export 2024-02-10 21:57:22 +02:00
Cohee 18f84979f2 Use SSE streaming for MakerSuite 2024-02-10 02:43:50 +02:00
LenAnderson cab6f90519 stop named args from nested commands bleeding into parent 2024-02-09 22:49:38 +00:00
Cohee 867c42cb6d Add cyrillic special quotes to tts option 2024-02-09 18:33:01 +02:00
Cohee d8d4732614 Add koboldcpp param aliases 2024-02-09 15:32:40 +02:00
kingbri 530455979f Textgen: Add tabby to logprobs
Tabby now supports logprob returns. Add support to the backend gate.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-08 20:59:54 -05:00
kingbri f372b2ac16 Textgen: Fix dynatemp defaults
The default min and max temp values should be 1

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-08 20:57:40 -05:00
Cohee 44a3bb8ec7 #1777 Add await argument to /trigger command 2024-02-08 00:20:36 +02:00
Cohee 90231680a9 Remove extra space 2024-02-08 00:05:23 +02:00
Cohee dfc1719c3f Use fuzzy name matching 2024-02-08 00:04:48 +02:00
EX3-0 b2eb361028
Update openai.js added /proxy command.
Added "proxy" slash command to openai.js to change between proxy presets in ST script.
2024-02-07 13:52:48 -05:00
Cohee c3129da879 [skip ci] Lint fix 2024-02-07 19:28:34 +02:00
oobabooga 21fb143718 Add API key 2024-02-06 20:00:16 -08:00
Cohee b158a86c25 Firefox copium for expression images 2024-02-05 02:21:20 +02:00
Cohee 41f53f4162
Merge pull request #1790 from Technologicat/talkinghead-fixes-feb2024
Talkinghead fixes feb2024
2024-02-05 01:33:39 +02:00
anon 634c9aad3b add logsprobs support for custom OpenAI APIs 2024-02-04 23:11:45 +00:00
Juha Jeronen ad48d6666a fix bug: when switching talkinghead off, set character expression 2024-02-05 00:47:14 +02:00
Juha Jeronen 2a39db799a auto-pause Talkinghead when ST tab is hidden to save GPU resources 2024-02-05 00:46:44 +02:00
Juha Jeronen 91c4de6605 add `/th` (alias `/talkinghead`) to toggle Talkinghead on/off 2024-02-05 00:46:23 +02:00
Juha Jeronen 5ad2a0d064 refresh talkinghead char on expression zip upload 2024-02-05 00:45:50 +02:00
Juha Jeronen 3b526ce207 remove some useless comments 2024-02-05 00:45:37 +02:00
Juha Jeronen 169b1c2c63 talkinghead check: always check also whether the module is enabled 2024-02-05 00:45:20 +02:00
Juha Jeronen 9e8f3e0def one more debug message 2024-02-05 00:44:46 +02:00
Juha Jeronen eb634d597f add comment on TTS 2024-02-05 00:44:39 +02:00
Juha Jeronen 24b315a149 comments
The tech is "Talkinghead" (capital T), the Extras module is
"talkinghead" (lowercase t).
2024-02-05 00:44:26 +02:00
Juha Jeronen 83e264db9e add some debug messages 2024-02-05 00:40:03 +02:00
Cohee b7921f1edd #1630 Fix regex depth application 2024-02-04 21:34:17 +02:00
Cohee bdf7602fab Add SpeechT5 TTS provider 2024-02-04 20:31:20 +02:00
Cohee f1cadfde2b Fix llamacpp server 2024-02-04 17:41:46 +02:00
RossAscends c03966d19a
Merge pull request #1786 from bdashore3/staging
Fix requests with sampling params
2024-02-04 17:26:54 +09:00
kingbri 3e34123b31 Textgen: Fix sampling param requests
1. TabbyAPI was not being included in temperature_last
2. DynaTemp parameters were still being sent even though the checkbox
was off. Cleanup the parameters if dynatemp is off for backends that
don't take in a dynatemp boolean.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-02-04 01:44:07 -05:00
Cohee 7ac6ed267f #1782 OpenAI multiswipe 2024-02-04 03:36:37 +02:00
Cohee 07677584c4 #1781 Fix /len and unescape for non-string arguments 2024-02-03 02:06:49 +02:00
Cohee 17a783f9c6
Merge pull request #1780 from Spacellary/patch-1
(Small) Add Handling for Dangling Characters in "trimToEndSentence" - utils.js
2024-02-02 21:34:51 +02:00
Cohee 4649c806e0 Use regex to match whitespace 2024-02-02 21:30:32 +02:00
LenAnderson db82b5bb3d Merge branch 'staging' into slash-escapes 2024-02-02 18:13:19 +00:00
Cohee 6d0d92aaff Add grammar and dynatemp for aphrodite 2024-02-02 20:06:46 +02:00
Spacellary e4025cb413
Add Handling for Dangling Characters in "trimToEndSentence" - utils.js
New: Considered the presence of whitespace or newline characters preceding the punctuation for accurate trimming.
2024-02-02 13:42:31 -03:00
Alexander Abushady 30213c8430 Merge remote-tracking branch 'upstream/staging' into quad-sample 2024-02-01 22:27:38 -05:00