652 Commits

Author SHA1 Message Date
valadaptive
ebde9c2c1f Copy chat_completion_sources enum to server code 2023-12-03 15:04:01 -05:00
valadaptive
a68505e857 Copy textgen-types enum to server code 2023-12-03 15:00:25 -05:00
Cohee
40b132176d Add preset restoration 2023-12-03 17:16:33 +02:00
Cohee
45df576f1c Re-add default presets for content manager 2023-12-03 15:07:21 +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
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
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
c893e2165e Enable no-prototype-builtins lint 2023-12-02 12:10:31 -05:00
Cohee
c98b23ee72 #1405 Don't add formality for unsupported languages 2023-12-02 19:08:21 +02: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
valadaptive
367f3dba27 Enable no-unsafe-finally lint 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
Cohee
726bb2e041 #1405 Add formality config for deepl 2023-12-01 14:12:56 +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
e541c2b186 #1412 Add randomized user ids to OpenAI 2023-11-29 00:11:10 +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
e6c96553d0 Add text trimming commands 2023-11-26 13:55:22 +02:00
Cohee
a7024a1d34 Migrate to config.yaml 2023-11-25 23:45:33 +02:00
Aisu Wata
a6898365d1 Claude system message order fix 2023-11-24 17:58:20 -03:00
Cohee
45b714fb9e Don't crash server if google translate fails 2023-11-23 00:59:34 +02:00
Cohee
56b63c0e02 #1386 Fix PaLM API 2023-11-22 17:36:34 +02:00
Cohee
df4ed389bf System prompt for Claude 2 2023-11-21 22:11:26 +02:00
Cohee
52d9855916 Code lint 2023-11-21 02:00:50 +02:00
Cohee
91429ce516
Merge pull request #1378 from LenAnderson/more-comfy-merge
Add more ComfyUI options
2023-11-21 01:55:00 +02:00
Cohee
9b75e49b54 Add support for Yi tokenizer 2023-11-21 00:21:58 +02:00
LenAnderson
3d4442ab25 make api routes kebab 2023-11-20 18:27:50 +00:00
LenAnderson
8b5a56a99c use DIRECTORIES const for comfy workflow path 2023-11-20 18:26:13 +00:00
kingbri
6a511fdfcf Secrets: Add find endpoint
Requires the user to set allowKeysExposure to true before any calls
can work.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-11-20 12:05:54 -05:00
LenAnderson
46cc04c798 add default comfy workflow 2023-11-20 15:59:38 +00:00
LenAnderson
9c41a9d2ac fix merge duplicates 2023-11-20 15:58:48 +00:00
LenAnderson
777d105602 fix formatting 2023-11-20 12:40:27 +00:00
LenAnderson
06ececc1a5 add managing multiple comfy workflows 2023-11-20 12:39:06 +00:00
LenAnderson
5e5c111d25 add VAE selection 2023-11-20 12:34:37 +00:00
Cohee
9dcc23825a [chore] Reformat 2023-11-19 21:17:02 +02:00
Cohee
5e6fcd28b2
Merge pull request #1371 from LenAnderson/staging
Add ComfyUI to the Stable Diffusion extension
2023-11-19 21:14:42 +02:00
Cohee
96b87641ca Add OpenAI Whisper API 2023-11-19 20:30:34 +02:00
LenAnderson
9dd1e59421 move requests to comfy into ST server 2023-11-19 18:29:41 +00:00
Cohee
57165cbe48 Fix invalid SerpApi secret id 2023-11-19 01:41:39 +02:00
Cohee
6f9be2eee9 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-17 23:19:25 +02:00
Cohee
0608c0afac Add OpenRouter and Llava to captioning plugin. 2023-11-17 23:19:21 +02:00
kingbri
f31b996cb5 Text Generation: Add TabbyAPI support
TabbyAPI is an exllamav2 only API server that aims to provide a simple
experience for loading and chatting with exl2 models.

SillyTavern currently doesn't have the ability to load and unload models,
so only add the OAI compatible completion endpoints.

The repository can be found here:
https://github.com/theroyallab/tabbyAPI

Signed-off-by: kingbri <bdashore3@proton.me>
2023-11-17 00:37:39 -05:00
Cohee
323b338cdd Add images to quiet prompts if inlining enabled 2023-11-17 01:30:32 +02:00
Cohee
e753246373 Add NAI Diffusion 3 model 2023-11-16 02:15:28 +02:00