Commit Graph

4505 Commits

Author SHA1 Message Date
Cohee
c3d5fba598 Support multiple in /setpromptentry 2024-09-29 12:48:40 +03:00
Wolfsblvt
cc527a3a33 Correct async calls to init scrapers 2024-09-29 11:27:07 +02:00
Wolfsblvt
ab83138b1e missing closing tag 2024-09-29 11:02:54 +02:00
Wolfsblvt
44c8d45957 missing import 2024-09-29 04:02:00 +02:00
Wolfsblvt
d7bad6335c Refactor findChar to utils
- Refactor and move finChar to utils, instead of slashcommands function
- Refactor scrapers to use actual init functionality
2024-09-29 03:20:01 +02:00
Wolfsblvt
edcf52e3a8 Update more commands for new char find
- Update /member-add to utilize new char find functionality
- Update /tag-add, /tag-remove, /tag-exists and /tag-list to utilize new char find functionality
. Update /lastsprite to utilize new char find functionality
2024-09-29 02:54:12 +02:00
Wolfsblvt
145023ba8d Update existing slash commands to findChar
- Update /gen to utilize new char find functionality
- Update /go to utilize new char find functionality
- Update /delname to utilize new char find functionality
- Change /send persona search to equalsIgnoreCaseAndAccents
2024-09-29 02:36:33 +02:00
Wolfsblvt
d6e52dbb97 Update /ask with new char find functionality 2024-09-29 02:14:06 +02:00
Wolfsblvt
ca009dee59 Respect tags for current char(s) selection
- Respect tags for prefer current char(s)
- Fix preferCurrentChar not being true by default
2024-09-29 01:17:13 +02:00
Wolfsblvt
5a0e70e8fa Add "quiet" to /char-find 2024-09-29 00:55:41 +02:00
Wolfsblvt
231ea98b25 Update /sendas to work with findChar 2024-09-29 00:53:43 +02:00
Wolfsblvt
5295c4c023 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-29 00:41:34 +02:00
Wolfsblvt
0be48c567a /char-find command to get a specific unique char
- findChar utility function that does the heavy lifting of finding a specific char based on conditions
- Log/warn if multiple characters match
- Validation function for named args that should be arrays
2024-09-29 00:36:13 +02:00
Cohee
42cfeae8ab Adjust WI headers 2024-09-29 01:17:22 +03:00
Wolfsblvt
20a82fb242 Merge branch 'st-parser-accept-multiple-named' into char-find-and-sendas-extended 2024-09-28 22:40:22 +02:00
Wolfsblvt
22d8a654d9 Allow searching on /sendas via tag= 2024-09-28 22:22:44 +02:00
Wolfsblvt
4594353c72 Add avatar= to /sendas to allow avatar override 2024-09-28 22:22:44 +02:00
Wolfsblvt
d8e57c507f Allow case-insensitive name search 2024-09-28 22:22:44 +02:00
Wolfsblvt
6714bb8c15 Prefer current char if multiple have the same name
- Match against current chat character first
- Also removed avatar-key matching, it was broken
2024-09-28 22:22:44 +02:00
Wolfsblvt
d231b7f5f4 "acceptsMultiple" should always return array 2024-09-28 22:14:33 +02:00
Wolfsblvt
2444e9be43 STscript allow named arguments to be an array
- Use named args definition and "acceptsMultiple" to build arrays of values, if provided
- Add a debug warning if non-multiple named args are provided multiple times
2024-09-28 21:59:29 +02:00
Yokayo
9041eb8081
Remove debug stuff 2024-09-28 21:54:44 +07:00
Yokayo
78a287e7f5 Resolve conflict 2024-09-28 21:31:13 +07:00
Yokayo
bb76649478 Update tl 2024-09-28 20:47:37 +07:00
Cohee
ac1bc95551 Xtra Type Cafety 2024-09-28 13:59:03 +03:00
Cohee
b1bb41313f Insert missing ooba samplers 2024-09-28 13:56:57 +03:00
Cohee
8bd1c88d15 Enable XTC 2024-09-28 13:52:55 +03:00
Cohee
e59dacc27f Merge branch 'staging' into xtc-ooba 2024-09-28 13:49:49 +03:00
Cohee
eaefcaa6bc Fix QR editor sizing 2024-09-28 01:00:07 +03:00
Cohee
00e48097e5 Mark provider unofficial in the list 2024-09-27 20:34:21 +03:00
Cohee
43c3943287 Merge branch 'staging' into GPT-SoVITS-V2 2024-09-27 20:29:22 +03:00
Cohee
84c04f0354 Mark provider unofficial in the list 2024-09-27 20:27:51 +03:00
Cohee
d7d204f2ab Merge branch 'staging' into CosyVoice 2024-09-27 20:26:32 +03:00
Cohee
53dc8702c3 Add early return for movingDivs click handler 2024-09-27 20:25:09 +03:00
Cohee
061ed1db65 Improve gallery layout
Closes #2907
2024-09-27 08:02:08 +00:00
Cohee
ff56cb9c2e
Merge pull request #2903 from SillyTavern/extensions-slash-commands
Slash commands to manage Extensions
2024-09-27 01:23:07 +03:00
Cohee
0fd57a4c1c Returns doesn't support HTML, ditto 2024-09-27 01:19:45 +03:00
Cohee
cf2c9a8296 Returns doesn't support HTML 2024-09-27 01:13:44 +03:00
Cohee
eccf253afd Show Included settings in view order 2024-09-27 01:01:49 +03:00
Cohee
50fd3a2028 Remove new class 2024-09-27 00:46:03 +03:00
Cohee
4167fe3d2b Add Save and Update 2024-09-27 00:44:58 +03:00
Cohee
3b1435ba77 Merge branch 'staging' into connection-profile-omit 2024-09-27 00:20:47 +03:00
Cohee
b025765a1e
Merge pull request #2891 from SillyTavern/if-command-default-arguments
`/if` and `/while` now allow "right" and "rule" to be optional
2024-09-27 00:04:41 +03:00
Cohee
38660df93f /model: fix not working on Novel/Horde 2024-09-26 23:46:03 +03:00
Cohee
dbca950aad Add margin from all sides 2024-09-26 23:40:44 +03:00
Cohee
7c4d8b8d7a Fix a bug with splice 2024-09-26 23:36:38 +03:00
Cohee
bb82198496 Place omitted on a separate line 2024-09-26 23:34:42 +03:00
Cohee
d8806060a7 Use compact template syntax 2024-09-26 23:34:03 +03:00
Cohee
8083431202 Merge branch 'staging' into connection-profile-omit 2024-09-26 23:27:54 +03:00
Cohee
3a03e1a6b2 NovelAI: More newline stop string permutations 2024-09-26 23:26:42 +03:00
Cohee
e6d5b5a8a1 Limit NAI stop sequences count 2024-09-26 07:58:26 +00:00
Cohee
c4462cc8bb Add Erato preamble token 2024-09-26 07:56:32 +00:00
刘悦
9c6352fcae
Update gpt-sovits-v2.js
add (Unofficial) label
2024-09-26 15:20:29 +08:00
刘悦
d8935be5e5
Update cosyvoice.js
add Unofficial label
2024-09-26 15:17:28 +08:00
Wolfsblvt
15bc0e4dba Squish the last bugs 2024-09-25 23:53:26 +02:00
Wolfsblvt
9fbcb12210 Fix third party extension findings + enum provider
- Allow extension names without the "third-party/" prefix
- Expand enum provider to show what third-party extensions are
2024-09-25 23:33:00 +02:00
Wolfsblvt
169504aa68 Refactor extension slash commands into own file
- Weird circle imports again with the slash command classes
2024-09-25 23:18:37 +02:00
Wolfsblvt
1a6f0c0922 Add /extension-exists and /extension-state 2024-09-25 23:10:00 +02:00
Wolfsblvt
a6445aee1b Add /extension-toggle 2024-09-25 23:05:34 +02:00
Wolfsblvt
eda7493a33 Add extension enable/disable commands
- /extension-enable
- /extension-disable
- Optional "reload" parameter
- /reload-page
2024-09-25 22:46:19 +02:00
Cohee
8344232fe5 Add common punctuation to Erato stop strings that start with a newline #2894 2024-09-25 23:14:28 +03:00
Wolfsblvt
ff989b3352 Move extensions init to function 2024-09-25 21:58:46 +02:00
Wolfsblvt
8c87a24e5d Throw when left operand not provided 2024-09-25 20:51:56 +02:00
Wolfsblvt
7abb1751b1 Merge branch 'staging' into if-command-default-arguments 2024-09-25 20:46:40 +02:00
Wolfsblvt
23286d186b Fix lint issues 2024-09-25 20:44:28 +02:00
Wolfsblvt
dadfc4db98 Let in/nin fall through to string + docs update 2024-09-25 20:10:14 +02:00
Wolfsblvt
a11a8fe956 Update eval logic to be more streamlined 2024-09-25 19:40:13 +02:00
Cohee
17e279addf Fix sysprompts set with commands 2024-09-25 14:58:07 +00:00
Cohee
cd6e0747a5 Fix margin on Hint 2024-09-25 14:35:28 +00:00
Cohee
0646a47b81 Add ability to omit settings from Connection Profiles 2024-09-25 14:23:43 +00:00
Cohee
b61344185c Add format and scope arguments to /listvar 2024-09-25 10:45:44 +00:00
Cohee
9047f311b7 Fix Novel bias not displaying 2024-09-25 10:01:34 +00:00
Wolfsblvt
578fc8e6f1 Fix classify not using extension-defined prompt 2024-09-25 04:55:48 +02:00
Cohee
6608f5dd95 Fix the use of stop strings for Gemini 2024-09-24 22:18:28 +03:00
Cohee
50e48ffdc2 Add Google models to captioning 2024-09-24 22:01:57 +03:00
Cohee
df3d7a048e Deprecate unscoped vectors 2024-09-24 21:51:10 +03:00
Cohee
8c39e20ed9 Merge branch 'staging' into deprecate-cc-or-instruct 2024-09-24 21:19:03 +03:00
M0cho
2ee3eb7004 Support gemini-1.5-series-002 and new 8B exp model 2024-09-25 02:58:56 +09:00
Cohee
e730acbbe1 Port Erato presets 2024-09-24 12:55:25 +03:00
Cohee
d8f268a807 Add Novel preset converter 2024-09-24 12:50:47 +03:00
Cohee
26f4d1a4ad Remove CFG for Novel, fix logitbias and text adventure bans for Erato 2024-09-24 08:12:50 +00:00
Cohee
182756fcb2
Erato (#2896)
* Erato
erato
2024-09-24 03:10:31 +03:00
Cohee
780f2f712e Adjust PM editor styles 2024-09-23 23:11:28 +03:00
Cohee
a408328fc6 Confirm custom PM prompt deletion 2024-09-23 22:44:49 +03:00
Cohee
beeec51f93 Adjust style of in-chat marker prompts 2024-09-23 21:04:00 +03:00
Cohee
583cc4b097 Add renaming of profiles + use alphabetical sorting 2024-09-23 20:19:18 +03:00
Cohee
d1d1586008 Clear master import file input 2024-09-22 22:47:28 +03:00
Cohee
9d38878007 Display existing prompts in instruct migration dialog 2024-09-22 22:46:31 +03:00
Cohee
ece2684001 Add migrated prefix to imported legacy instructs 2024-09-22 22:33:36 +03:00
Cohee
c340766bb6 Use prefix in the migrated sysprompts 2024-09-22 21:06:03 +03:00
Cohee
8bf253d293 Display names in master import 2024-09-22 20:50:36 +03:00
Cohee
63bd7611b3 Uncheck textgen preset from master export by default 2024-09-22 20:47:05 +03:00
Cohee
9101fb6573 Fix default sysprompt restoration 2024-09-22 20:06:26 +03:00
Cohee
5b65448a70 Fix local variable name 2024-09-22 20:00:09 +03:00
Cohee
3812e3bdcb Merge branch 'staging' into sysprompt-divorce 2024-09-22 19:56:29 +03:00
Cohee
a18dae8f69 Remove "include newlines" checkbox from context formatting settings 2024-09-22 19:55:43 +03:00
Cohee
bcc4914467 Auto-hide instruct sequences in <details> 2024-09-22 19:15:24 +03:00
Cohee
9d0ffc2d0d Merge branch 'staging' into sysprompt-divorce 2024-09-22 18:42:19 +03:00
Cohee
93bf87b035 Shut tokenization errors if not using ooba
Closes #2849
2024-09-22 17:44:19 +03:00
Cohee
8c5b02d2ea Silently redirect tokenization to the next matching tokenizer 2024-09-22 17:25:56 +03:00