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
valadaptive
b023312117
Enable no-useless-escape lint
2023-12-02 10:32:26 -05:00
valadaptive
97c49a405b
Enable no-extra-boolean-cast 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
valadaptive
a665a4897d
Enable no-unused-labels lint
...
I'm not sure why "esversion: 6" was at the top of the file. My best
guess is that whoever initially created it was using jshint, which says
"use 'esversion: 6'" if used to lint a file which contains ES6 code.
Even then, the proper syntax would be a comment.
2023-12-02 10:32:07 -05:00
valadaptive
1c121f1ba5
Enable use-isnan lint
2023-12-02 10:32:07 -05:00
valadaptive
9204a31d32
Enable no-self-assign lint
2023-12-02 10:32:07 -05:00
valadaptive
c05aee8e72
Enable no-unsafe-negation lint
...
This actually fixes a bug--the old code was negating "audioData.type"
2023-12-02 10:32:07 -05:00
valadaptive
60ac1aa1c7
Enable no-empty lint
2023-12-02 10:32:07 -05:00
valadaptive
367f3dba27
Enable no-unsafe-finally lint
2023-12-02 10:32:07 -05:00
valadaptive
e7ae1c4787
Enable no-dupe-keys lint
2023-12-02 10:32:07 -05:00
valadaptive
7c3dd75e6a
Enable no-fallthrough lint
2023-12-02 10:32:07 -05:00
Cohee
249f9f649f
Escape QR button labels
2023-12-02 15:19:44 +02:00
valadaptive
4c4e4caeb7
Pass in Kobold Classic API server url from client
2023-12-02 04:45:20 -05:00
Cohee
04ef9fba54
Disable context stop strings on pull but enable for new installs
2023-12-02 02:19:32 +02:00
Cohee
690c058a46
Fix boolean comparison
2023-12-02 00:04:38 +02:00
Cohee
a2f293b6af
Make context stop strings togglable
2023-12-01 23:06:37 +02:00
Cohee
9ad42025e5
Add depth to entry template
2023-12-01 22:09:13 +02:00
Cohee
07962e0e4e
Add /setentryfield command
2023-12-01 21:51:49 +02:00
Cohee
69659e79e3
Add chat start and example separator as stop sequences
2023-12-01 19:01:06 +02:00
Cohee
19c6370fa5
Revert preset checkbox update logic
2023-12-01 11:55:05 +02:00
Cohee
ca24e550a8
#1420 Revert undefined name variable resolution
2023-12-01 11:51:10 +02:00
Cohee
bb727d5f9c
Insert files before user text, not after
2023-12-01 03:54:28 +02:00
Cohee
ebcefe67fc
Add value increment variable and macros
2023-12-01 03:02:23 +02:00
Cohee
fae90f8227
Add validation messages
2023-12-01 02:25:55 +02:00
Cohee
27d27127e0
Fix docstring typo
2023-12-01 02:11:47 +02:00
Cohee
fe355c5d4f
Add MVP set of WI manipulation commands
2023-12-01 01:50:10 +02:00
Cohee
b6ed67b4b4
Add /regex command
2023-11-30 22:59:04 +02:00
Cohee
b96054f337
Update max token limit for palm2
2023-11-30 19:02:31 +02:00
Cohee
e9ad55aef2
Add seed input field for OpenAI settings #1412
2023-11-30 02:54:52 +02:00
Cohee
c3259d1929
Bump package version
2023-11-30 01:41:20 +02:00
Cohee
252af836f0
#1418 Remove prefix from SD raw_last
2023-11-30 01:22:31 +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
RossAscends
307f0d88c3
'All' for ooba rep pen range zenslider, maxCtx tweak
2023-11-29 11:37:18 +09:00
RossAscends
9145406522
Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging
2023-11-29 03:35:34 +09:00
RossAscends
fcca1b1260
fix zenslider rep pen range for TextCompletions
2023-11-29 03:35:02 +09:00
Cohee
16527710b3
Make less obtrusive
2023-11-28 19:24:26 +02:00
Cohee
a1098a4f31
Merge branch 'staging' into silerott-add-session-handling
2023-11-28 18:25:31 +02:00
Cohee
f809d80ba2
Improve XTTS text processing
2023-11-28 16:56:50 +02:00
Cohee
82b7238b39
Add shorthand increment/decrement of variables
2023-11-28 16:00:04 +02:00
Cohee
5fd4ed6c81
Fix mobile QR context menu
2023-11-28 13:26:36 +02:00
Cohee
91f369c921
Raise slider limits
2023-11-28 11:48:34 +02:00
Cohee
5dd6665505
Don't set negative zIndex for regular image when using group VN mode
2023-11-28 11:40:39 +02:00
Cohee
91e1281208
Merge pull request #1407 from LenAnderson/fix-qr-popout-context
...
fix context menu for QR popout
2023-11-28 02:44:20 +02:00
Cohee
77e5c37c29
Fix extensions menu on long clicks
2023-11-28 02:43:24 +02:00
Cohee
f3a10eadd5
Trigger concatenation on NaN current value
2023-11-28 01:46:44 +02:00
Cohee
b0d21659eb
/inject command to add prompt injections
2023-11-28 01:44:13 +02:00
Cohee
4f9f89c682
Add 3 more math operations
2023-11-28 00:52:50 +02:00
Cohee
87707b565f
Add checkbox for restoring user input on page refresh
2023-11-28 00:29:34 +02:00
LenAnderson
fd8551b73b
fix context menu for Qr popout
2023-11-27 22:02:20 +00:00
Cohee
d263760b25
#1393 Configurable group nudges, scenario and personality templates for prompt manager
2023-11-27 23:57:56 +02:00
Cohee
4c94bd0aa8
Add math operations
2023-11-27 21:10:50 +02:00
Cohee
188897a3df
Add "at" argument to commands sending a message
2023-11-27 19:48:49 +02:00
Cohee
84811ec518
Fix image gen prefix combining
2023-11-27 16:10:42 +02:00
Cohee
ffc4f22012
Add provider-specific TTS processing: XTTS - replace ellipsis, Novel - remove tildes.
2023-11-27 13:25:49 +02:00
Cohee
edafb8dd13
Repurpose trigger command not just for groups
2023-11-27 11:16:40 +02:00
Cohee
c742251c5a
Mobile sprites fixes: hide non-VN sprite, fix group VN position, fix live2d conflicts
2023-11-27 03:22:35 +02:00
RossAscends
fd8697afc0
Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging
2023-11-27 09:48:07 +09:00
RossAscends
34d8588691
QR popout
2023-11-27 09:48:05 +09:00
Cohee
fd0edd67a6
Fix recursive QR auto-execution
2023-11-27 02:18:36 +02:00
Cohee
3eeb137416
Fix persona switch input trigger
2023-11-26 19:56:19 +02:00
Cohee
e587f208be
Add resolution match on load
2023-11-26 18:19:37 +02:00
deffcolony
aaeaa643e3
resolution presets for image generation extension ( #1394 )
...
+ New drawer with resolution presets at image generation extension
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-11-26 17:55:49 +02:00
Cohee
9c01a849cb
Add buttons command
2023-11-26 17:05:55 +02:00
Cohee
fb08552d46
Add instruct mode sequence macros
2023-11-26 16:37:05 +02:00
Cohee
3bc91f10ec
Fix command aliases
2023-11-26 15:47:11 +02:00
Cohee
19f758a0fb
#670 Add square avatars
2023-11-26 15:27:54 +02:00
Cohee
e6c96553d0
Add text trimming commands
2023-11-26 13:55:22 +02:00
Cohee
809a55b2fd
Merge branch 'config-yaml' into staging
2023-11-26 13:08:06 +02:00
Cohee
c328d6f04a
Add QR auto-exec on app startup
2023-11-26 02:12:31 +02:00
Cohee
9587a704c5
Fix docstrings
2023-11-26 01:52:41 +02:00
Cohee
283d49a6ee
Add empty return value to /while
2023-11-26 01:49:37 +02:00
Cohee
c259c0a72a
Skip hidden messages from /message command
2023-11-26 01:15:19 +02:00
Cohee
c6aea00e27
Resolve ephemeral stop strings variables
2023-11-26 00:56:55 +02:00
Cohee
50322ed8b0
Don't show auto-update toast if no extensions installed
2023-11-26 00:52:00 +02:00
Cohee
a7024a1d34
Migrate to config.yaml
2023-11-25 23:45:33 +02:00
RossAscends
3ec692e76c
fix /world unsetting function
2023-11-26 05:26:41 +09:00
Cohee
0bbaeeaedd
Revert to get/set/add order for variable macro
2023-11-25 22:02:40 +02:00
Cohee
0410540066
Process variable macros line by line
2023-11-25 20:52:17 +02:00
Cohee
a5c3e22833
#1055 Add new random syntax to docs
2023-11-25 20:41:46 +02:00
Cohee
0d9068f11e
Don't replace {{addvar}} macros with the execution result
2023-11-25 20:33:07 +02:00
Cohee
67fa9c9595
Allow dice rolls in {{random}}
2023-11-25 20:11:47 +02:00
Cohee
67174c8cf8
Add functions to delete local and global variables
2023-11-25 19:53:00 +02:00