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
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