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
7def71aef7
Only enable no-constant-condition for non-loops
...
"while (true)" is a useful pattern that eslint doesn't really need to
flag as a problem.
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
8c89f373fa
Enable no-irregular-whitespace lint
...
A couple comments contained non-breaking spaces (I think), which I
replaced with regular spaces.
2023-12-02 10:32:07 -05:00
valadaptive
12cdb76a20
Enable no-regex-spaces lint
...
I noticed the old code was replacing two spaces with one space, over and
over. Instead, I changed it to remove all consecutive strings of spaces
just once, using the "+" quantifier. This should behave the same but is
nicer to read and faster.
2023-12-02 10:32:07 -05:00
valadaptive
7c3dd75e6a
Enable no-fallthrough lint
2023-12-02 10:32:07 -05:00
Cohee
4c475afc91
Merge pull request #1428 from valadaptive/eslint-initial
...
Initial ESLint setup
2023-12-02 17:14:04 +02:00
Cohee
bac43a2131
Add CORS proxy placeholder
2023-12-02 16:04:30 +02:00
valadaptive
ec0e4026d8
Initial ESLint setup
...
This sets up ESLint and its config, and disables a bunch of recommended
lints that currently do not pass. Later PRs/commits will fix those lints
and re-enable them.
2023-12-02 09:02:57 -05:00
Cohee
4f05d872f4
Merge pull request #1423 from bdashore3/staging
...
Fix the CORS proxy again
2023-12-02 16:00:35 +02:00
Cohee
a1754c7192
Update server.js
2023-12-02 15:32:09 +02:00
Cohee
249f9f649f
Escape QR button labels
2023-12-02 15:19:44 +02:00
Cohee
1e4471a9b5
Merge pull request #1425 from valadaptive/kobold-classic-api-url
2023-12-02 13:59:47 +02:00
Cohee
3f924f8b11
Merge pull request #1426 from valadaptive/fix-temp-label
2023-12-02 13:58:29 +02:00
valadaptive
cadf5163ad
Fix temperature slider label
2023-12-02 05:37:27 -05:00
valadaptive
4c4e4caeb7
Pass in Kobold Classic API server url from client
2023-12-02 04:45:20 -05:00
kingbri
641cd614c8
Server: Fix CORS proxy with POST requests and status codes
...
POST requests always sent an undefined body without the bodyParser
middleware which isn't included with express by default. Add this
as a new dependency and inject it into the express app. This middleware
will also be useful for any other middleware that we might create.
Also properly send status codes and messages to the client so they
can be handled properly.
Signed-off-by: kingbri <bdashore3@proton.me>
2023-12-02 01:43:09 -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
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
Cohee
8797508aa3
Fix h-centering of mobile zoomed avatars
2023-12-01 14:59:17 +02:00
Cohee
95df016d57
Adjustments for zoomed_avatar on ultrawide screens
2023-12-01 14:47:11 +02:00
Cohee
726bb2e041
#1405 Add formality config for deepl
2023-12-01 14:12:56 +02:00
Cohee
48a866971a
koboldcpp icon (placeholder)
2023-12-01 12:29:29 +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
778bca01f3
Merge pull request #1417 from kalomaze/universal-preset
...
'Universal-Light', 'Universal-Creative', 'Universal-Super-Creative' presets
2023-12-01 11:40:48 +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
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
4e634f00ec
Add Min-P to noob mode
2023-12-01 01:49:28 +02:00
kalomaze
a1c5071357
Universal v2 for Ooba
2023-11-30 15:42:15 -06:00
kalomaze
360ae088ed
'Universal' presets v2
2023-11-30 14:59:30 -06:00
Cohee
b6ed67b4b4
Add /regex command
2023-11-30 22:59:04 +02:00
kalomaze
84f64049c2
Remove og Universal presets
2023-11-30 14:54:16 -06:00
Cohee
ddd4fac38c
Fix {{mesExamples}} strip behavior with in story string
2023-11-30 19:47:57 +02:00
Cohee
b96054f337
Update max token limit for palm2
2023-11-30 19:02:31 +02:00
Cohee
33f5094036
Increase temperature cap on Text Completion
2023-11-30 14:43:56 +02:00