Commit Graph

1658 Commits

Author SHA1 Message Date
LenAnderson
7bfed3fca1 /addvar on array to push 2023-12-07 18:12:05 +00:00
Cohee
c84b6a5101 Add WI inclusion groups 2023-12-07 20:06:06 +02:00
valadaptive
26ebb417f4 Rename stats API endpoints 2023-12-07 13:00:34 -05:00
Cohee
e804f27368 Convert value to string for echo. Fix return value 2023-12-07 19:37:55 +02:00
LenAnderson
2ee57afe2a add helpString for index in setvar 2023-12-07 16:51:45 +00:00
LenAnderson
db6f782e0f add index to /setvar and /setglobalvar 2023-12-07 16:48:24 +00:00
Cohee
b1f68d886c Fix WI field access for UID = 0 2023-12-07 18:45:34 +02:00
Cohee
72adb4c8aa Fix window.ai streaming 2023-12-07 17:42:06 +02:00
Cohee
785be22e51 Merge branch 'staging' into st-object-vars 2023-12-07 16:46:02 +02:00
Cohee
e9a49b7997
Merge pull request #1485 from LenAnderson/qr-expand-editor
Add expand button to QR textareas
2023-12-07 15:31:01 +02:00
Cohee
b506a17260 Fix expand after drag 2023-12-07 15:29:40 +02:00
LenAnderson
afd32d1f4d better handling of array / object vars 2023-12-07 12:56:28 +00:00
LenAnderson
0290916035 stop expanding textarea 2023-12-07 12:29:00 +00:00
LenAnderson
a1bfca78b3 add custom titles (tooltips) to QR buttons 2023-12-07 12:20:02 +00:00
LenAnderson
d62ef8badc add expand button for QR textareas 2023-12-07 12:04:39 +00:00
Cohee
75abc6101a /input input => /input default 2023-12-07 13:44:49 +02:00
Cohee
0e6802c9d9 Too much lint 2023-12-07 13:35:48 +02:00
Cohee
25db4b6fde Merge branch 'staging' into feat/slash-commands-missing-args 2023-12-07 13:19:15 +02:00
Cohee
8082144c5a Merge branch 'staging' into worldinfo-endpoint 2023-12-07 12:58:57 +02:00
Cohee
0138008031 Merge branch 'staging' into groups-endpoint 2023-12-07 12:50:24 +02:00
Cohee
c0fb5a4787
Merge pull request #1473 from valadaptive/chats-endpoint
Move chat endpoints into their own module
2023-12-07 12:36:43 +02:00
RossAscends
c51a821b1e fix zen slider rep pen range value transfer 2023-12-07 11:52:10 +09:00
SrJuggernaut
d6d0371459 add missing args to some slash commands 2023-12-06 19:26:29 -06:00
valadaptive
c746e6a426 Rename worldinfo API endpoints 2023-12-06 20:00:51 -05:00
valadaptive
8027372fc2 Rename group API endpoints 2023-12-06 19:59:58 -05:00
valadaptive
6efe95f4f1 Rename chat API endpoints 2023-12-06 19:58:24 -05:00
Cohee
f575e0d61d Add {{currentSwipeId}} / {{lastSwipeId}} macros 2023-12-07 02:35:24 +02:00
Cohee
393a15cd81 Run auto-executed STscripts after message rendered 2023-12-07 02:12:49 +02:00
Cohee
24aff67d50 Fix {{original}} macro left out if original is empty 2023-12-07 01:27:55 +02:00
valadaptive
39d771cc4a Replace path "\" with "/" server-side 2023-12-06 17:22:37 -05:00
Cohee
100dae5fd0
Merge pull request #1444 from valadaptive/characters-endpoint
Move character endpoints into their own module
2023-12-06 23:45:14 +02:00
Cohee
5e282ac7b4 lint: infix spacing 2023-12-06 22:08:06 +02:00
LenAnderson
ea7720a7de add /len slash command 2023-12-06 19:03:20 +00:00
LenAnderson
a5c595d8ae add list accessors to /getvar and /getglobalvar 2023-12-06 19:03:10 +00:00
Cohee
64496425cc Save chat before reloading 2023-12-06 17:23:54 +02:00
Cohee
61f186764d Fix QR bar popout position 2023-12-06 14:53:29 +02:00
Cohee
d36422e558 Fix/optimize bulk favorite 2023-12-06 01:56:07 +02:00
Cohee
356c3a4300 Fix amount gen on zen sliders 2023-12-05 14:12:06 +02:00
Cohee
c9fbe75566 Rename WI logic ONE => ANY 2023-12-05 12:04:27 +02:00
Bronya Rand
537e9428e0 proper revert cuz vsc revert weird... 2023-12-05 03:00:26 -06:00
Bronya Rand
f9ecc77b10 revert changes after cohee fix 2023-12-05 02:56:52 -06:00
valadaptive
b689b8bd30 Rename character API endpoints
Precursor to moving the character API into its own module
2023-12-04 17:35:06 -05:00
Bronya Rand
a90fe54e5b bak should not be here 2023-12-04 16:05:05 -06:00
Bronya Rand
f71b83b14f add comment on new code and add () for logic checks 2023-12-04 16:00:02 -06:00
Bronya Rand
085daaeff7 simplify and proper NOT check fix 2023-12-04 15:57:04 -06:00
Cohee
ddd16c1469
Merge pull request #1452 from valadaptive/assets-router
Use Express router for assets + "files" endpoints
2023-12-04 21:29:52 +02:00
Cohee
1ac494d468 Don't attempt to send files on dry runs. 2023-12-04 21:28:36 +02:00
valadaptive
d24c1dde10 Use Express router for assets + "files" endpoints
I've split out the "file/upload" endpoint into its own module, and
renamed it to "files" to be consistent with the existing naming scheme.
2023-12-04 12:40:53 -05:00
valadaptive
5f1bed1e70 Enable object-curly-spacing lint 2023-12-04 12:32:41 -05:00
Cohee
fcbfdc70af Merge branch 'staging' into sd-next-upscalers 2023-12-04 19:07:34 +02:00
Cohee
8476ec7570 Merge branch 'staging' into tokenizer-renames 2023-12-04 19:01:38 +02:00
Cohee
4bbb36a601 Merge branch 'staging' into viewsecrets-rename 2023-12-04 18:49:01 +02:00
Cohee
8bf18891b3 Add data model field for WI entry group 2023-12-04 18:47:35 +02:00
valadaptive
9d4990d25d Rename sd-next/upscalers to sd/next/upscalers 2023-12-04 10:22:47 -05:00
valadaptive
57bc95133e Rename tokenizer routes
They're all under tokenizers/ now, and there are "count", "encode", and
"decode" endpoints. This forms a clearer hierarchy.
2023-12-04 10:17:43 -05:00
valadaptive
2180610363 Rename /viewsecrets to /api/secrets/view 2023-12-04 10:14:51 -05:00
LenAnderson
76bfad8cdc fix: listeners calling wrong index after reorder 2023-12-04 13:33:28 +00:00
LenAnderson
8283d4dc08 fix: ctx button id after reordering 2023-12-04 13:28:58 +00:00
Cohee
604e62298c Concise welcome 2023-12-04 11:59:49 +02:00
Cohee
786e131c1e Disable scroll adjustment for firefox 2023-12-04 11:00:22 +02:00
Cohee
671df1f62e Fix constant usage 2023-12-04 00:24:23 +02:00
Cohee
7a58a095a4 Merge branch 'staging' into completion-source-refactor 2023-12-04 00:22:02 +02:00
Cohee
0a092629ce Fix undefined variable reference 2023-12-03 23:24:39 +02:00
valadaptive
24ccef3aba Fix "settings" variable being shadowed 2023-12-03 15:44:36 -05:00
valadaptive
e33c8bd955 Replace use_[source] with chat_completion_source
Same as the is_[api] replacement--it's easier to have one enum field
than several mutually-exclusive boolean ones
2023-12-03 15:03:39 -05:00
valadaptive
9c33ddbafc Make textgen settings type checks more concise 2023-12-03 14:56:01 -05:00
valadaptive
047c897ead Remove is[API] functions
Just use an equality comparison. It's a bit longer, but only because
"textgenerationwebui_settings" is a long identifier.
2023-12-03 14:56:01 -05:00
valadaptive
ba54e3dea0 Replaces is_[api] params with api_type param
These were 5 mutually-exclusive booleans, which can be replaced with one
param that takes on 5 values, one for each API type.
2023-12-03 14:56:01 -05:00
Cohee
8a1ead531c
Merge pull request #1439 from valadaptive/prompt-manager-class
Convert PromptManagerModule to a class
2023-12-03 21:52:27 +02:00
Cohee
939e938ba2 Disallow multiswipe for quiet gens 2023-12-03 20:56:25 +02:00
Cohee
1786b0d340 #1403 Add Aphrodite multi-swipe 2023-12-03 20:40:09 +02:00
valadaptive
b8b24540a9 Rename PromptManagerModule to PromptManager
The one place where it was imported renamed it to PromptManager anyway.
2023-12-03 12:14:56 -05:00
valadaptive
5c175bc647 Turn PromptManagerModule into a class 2023-12-03 12:13:53 -05:00
Cohee
676cc7731e #1436 Add unlock to response length 2023-12-03 18:30:21 +02:00
Cohee
40b132176d Add preset restoration 2023-12-03 17:16:33 +02:00
Cohee
14f395fdf9 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-12-03 15:11:49 +02:00
RossAscends
43ad66ff90 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-12-03 21:59:23 +09:00
RossAscends
50f5b7b96f fix zenSliders 2023-12-03 21:59:21 +09:00
Cohee
91811f63b5 lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
Cohee
5fb0807dcc Adjust max context step 2023-12-03 14:02:38 +02:00
Cohee
a3bc51bcea Fix type-in max context for OAI 2023-12-03 13:56:22 +02:00
Cohee
c051fc3ce9 Add wrapper for description popouts, make them wider 2023-12-03 03:21:11 +02:00
Cohee
4cb9cd128f Rename bookmarks to checkpoints 2023-12-03 03:11:14 +02:00
Cohee
3e9927dc67 Add editor textareas maximize 2023-12-03 02:01:06 +02:00
Cohee
ff46a249d8 Add {{maxPrompt}} macro 2023-12-02 22:47:43 +02:00
Cohee
6e09e45651 Fix /trigger and /continue auto-execution 2023-12-02 22:34:46 +02:00
Cohee
64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee
08fedf3a96 lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
Cohee
c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
Cohee
9faa1e34b0 Merge branch 'staging' into singlequote 2023-12-02 20:43:41 +02:00
Cohee
a28c23d295 Wait for generation unlock before running continue or trigger 2023-12-02 20:12:36 +02:00
valadaptive
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
Cohee
a06f1e8ad6
Merge pull request #1431 from valadaptive/eslint-fixes-3
ESLint fixes part 3 - more significant changes
2023-12-02 19:55:54 +02:00
Cohee
a367285ac2
Merge pull request #1430 from valadaptive/eslint-fixes-2
ESLint fixes, part 2 - bulky changes
2023-12-02 19:43:11 +02:00
Cohee
0477f6a553 Use best match API tokenizers for Text Completion sources 2023-12-02 19:42:15 +02:00
valadaptive
518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive
39bbef376f Enable no-undef lint
I'm not sure where run_edit is supposed to go or if any logic is
missing. I just made my best guess.
2023-12-02 12:11:19 -05:00
valadaptive
14afa1575b Enable no-redeclare lint 2023-12-02 12:11:19 -05:00
valadaptive
c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
Cohee
a91694ebbc Change audio format check 2023-12-02 18:41:54 +02:00