752 Commits

Author SHA1 Message Date
valadaptive
66f704bdda Refactor prompt itemization to not redeclare vars 2023-12-02 12:11:19 -05:00
valadaptive
45ad0683d9 Remove characterName silliness
If mes.name is name1, we set it to name1. Otherwise, we set it to
mes.name. It's always mes.name.
2023-12-02 12:10:31 -05:00
valadaptive
b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
valadaptive
0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
valadaptive
27e63a7a77 Enable no-case-declarations lint 2023-12-02 10:32:26 -05:00
Cohee
6b348f6128 Fix trailing stopping strings removal 2023-12-01 18:55:11 +02:00
Cohee
bb9d302c3a Don't skip ephemeral stop strings if there are no custom stop strings 2023-12-01 17:18:30 +02:00
RossAscends
59880ee171 disallow newlines in onboarding username 2023-12-01 17:43:05 +09:00
RossAscends
862fc56b39 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-12-01 11:39:39 +09:00
RossAscends
c050f2c44d better manual input for normal sliders 2023-12-01 11:39:37 +09:00
Cohee
bb727d5f9c Insert files before user text, not after 2023-12-01 03:54:28 +02:00
Cohee
ddd4fac38c Fix {{mesExamples}} strip behavior with in story string 2023-11-30 19:47:57 +02:00
Cohee
19df1f52cd Vector storage file retrieval 2023-11-30 00:01:59 +02:00
Cohee
e0bf2b8e3e [FEATURE_REQUEST] Sending PDF/HTML files? #1414 2023-11-29 17:51:30 +02:00
Cohee
b0d21659eb /inject command to add prompt injections 2023-11-28 01:44:13 +02:00
Cohee
188897a3df Add "at" argument to commands sending a message 2023-11-27 19:48:49 +02:00
Cohee
edafb8dd13 Repurpose trigger command not just for groups 2023-11-27 11:16:40 +02:00
dllt98
50ebd1cf66
Add support for importing character from JanitorAI (#1401)
* Add Janny support

* Add description

* Remove unofficial JanAI mirror
2023-11-27 03:29:19 +02:00
Cohee
f04c277f03 Add optional {{mesExamples}} to story string 2023-11-26 19:47:23 +02:00
Cohee
fb08552d46 Add instruct mode sequence macros 2023-11-26 16:37:05 +02:00
Cohee
c328d6f04a Add QR auto-exec on app startup 2023-11-26 02:12:31 +02:00
RossAscends
df15a00430 resolve roll&random before parsing macro var commands 2023-11-26 06:27:13 +09:00
Cohee
67fa9c9595 Allow dice rolls in {{random}} 2023-11-25 20:11:47 +02:00
RossAscends
9645034b09 reverse compatibility for old random method 2023-11-26 03:08:03 +09:00
RossAscends
2bed9fde70 {{random}} split on :: to allow empty items & commas in items 2023-11-26 01:28:33 +09:00
Cohee
adb3badcc1 Add /messages and /setinput commands 2023-11-24 17:12:59 +02:00
Cohee
dd17c2483f Add lock=on/off to /gen and /genraw commands 2023-11-24 15:18:49 +02:00
Cohee
863554fea6 Add ephemeral stop strings to /genraw 2023-11-24 00:51:27 +02:00
Cohee
c2e3bfa06d /genraw instruct=off 2023-11-24 00:36:35 +02:00
Cohee
3594c4aac7 Add {{newline}} and {{pipe}} macros 2023-11-23 22:56:52 +02:00
Cohee
6d0982e823 Unleash the variables / STscript alpha 2023-11-23 22:36:48 +02:00
RossAscends
e672a7fe99 'New Chat' in Manage Chats & showLoader when delChat-ing 2023-11-23 17:20:31 +09:00
Cohee
57f303223b Don't add extra space on non-instruct continue 2023-11-22 16:34:25 +02:00
Cohee
73eeab9ace Don't display incomplete sentences in quiet-to-loud prompts if trim is enabled 2023-11-22 16:21:43 +02:00
Cohee
61908935f5 Stop string for user-continue. Trim spaces after name2 2023-11-22 16:16:48 +02:00
Cohee
55af72cb17 /addswipe command 2023-11-22 01:26:17 +02:00
Cohee
59e558fba5 Don't execute commands on dry runs 2023-11-22 00:50:41 +02:00
Cohee
73e081dd99 Don't use global state to build Chat Completion prompts 2023-11-21 14:38:15 +02:00
Cohee
f60e74fbd9 Fix message timer showing NaN in some cases 2023-11-20 22:53:51 +02:00
Cohee
ac4b673c5a Fix character name appending on user continue 2023-11-20 22:48:43 +02:00
Cohee
e81c100e13
Merge pull request #1377 from LenAnderson/fix-popups
fix all popups being large/wide after first one
2023-11-20 18:25:01 +02:00
LenAnderson
18e6b8cd7c onelinefy 2023-11-20 12:56:52 +00:00
LenAnderson
1dd1cd69ac fix all popups being large/wide after first one 2023-11-20 12:16:37 +00:00
Cohee
ac07c8324d Configurable chat truncation amount 2023-11-19 21:57:54 +02:00
Cohee
a02446c4cc Cancel deletion mode on switching chats 2023-11-19 21:40:23 +02:00
Cohee
a39ee32f93 Horde fire and forget delete request 2023-11-19 21:30:08 +02:00
Cohee
96caddfd71 Add koboldcpp as Text Completion source 2023-11-19 17:14:53 +02:00
Cohee
b0b19edf31 Add multimodal captioning for SD prompt generation 2023-11-19 15:24:43 +02:00
Cohee
c3e5d0f6f2 Adjust scroll height on image inserting 2023-11-19 14:32:36 +02:00
Cohee
81cb43004b Fix zoomed character avatar validation 2023-11-19 02:16:30 +02:00