Commit Graph

1454 Commits

Author SHA1 Message Date
Cohee
67c8476cdf Set 0 tokens for prompts with no content 2023-09-04 02:40:16 +03:00
Cohee
80e286fed2 Fix double insertion of persona description to prompt manager if position set to A/N 2023-09-04 02:26:15 +03:00
Cohee
529c461318 Fix ban EOS token 2023-09-04 01:51:14 +03:00
Cohee
49b60e8dfb Ban {{}} sequence for Novel 2023-09-03 23:25:38 +03:00
Cohee
2bef2d602e
Merge pull request #1087 from majick/tau-goes-up-to-11
So it turns out Tau isn't capped at 10.
2023-09-03 21:01:17 +03:00
Cohee
3e1815f599 Fix [BUG] Card sorting is broken #1069 2023-09-03 18:52:04 +03:00
Jasonnor
6d2caf94bf TTS: Avoid default voice selector display itself 2023-09-03 23:38:34 +08:00
Cohee
e8545db9a5 Fix the last of type errors 2023-09-03 18:37:52 +03:00
majick
d4688d22d3 So it turns out Tau isn't capped at 10.
Bumped it for 20 for textgen and kobold, because there's no theoretical
limit as far as the math is concerned.  I have no idea what the Novel
API can take, though.
2023-09-03 08:15:48 -07:00
Cohee
a26e8ef455 #1084 Fix dupe char suffix 2023-09-03 15:18:23 +03:00
Cohee
ce2c2b0dac Add AUTO1111 upscaling controls 2023-09-03 14:56:02 +03:00
Cohee
8b13e29702 Fix Extras SD generation 2023-09-03 14:04:53 +03:00
Cohee
802149380d Evenize template dropdowns 2023-09-03 02:06:05 +03:00
Cohee
1e24d97fd8 Better layout for user settings on small screens 2023-09-03 02:00:51 +03:00
Cohee
aebf173720 Fix instruct mode being too cool for tiny phone screens 2023-09-03 01:52:34 +03:00
Cohee
69b085e911 Remove ♦ 2023-09-03 01:44:12 +03:00
Cohee
e4e02c69f3 Fix post-crop image resize with "Never resize avatars" enabled 2023-09-03 01:39:28 +03:00
Cohee
ef69dcd502 Add auth support for AUTO1111 2023-09-03 01:19:31 +03:00
Cohee
5f0220d90e Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-09-03 00:41:31 +03:00
Cohee
e3e6fa2218 Connect to AUTO111 without Extras. Add NAI Diffusion. 2023-09-03 00:41:26 +03:00
RossAscends
942f343915
Merge pull request #1086 from city-unit/feature/exorcism
Minor Gallery Fixes
2023-09-03 05:42:58 +09:00
city-unit
08e1b5bb5e Fix dropzone issue and resize issue 2023-09-02 15:40:15 -04:00
deffcolony
b7176cb53e
launcher update + icon (#1085)
* seperated languages into structured folders

i18n.js needs to be connected to index.json so it fetches the common json files

* Update index.json

* New Launcher + security file

* cancel locales feature temporary

* added secrets to backup

* replaced download with winget

* fixed restoring backup bug

fixed bug that creates sillytavern\public folder inside sillytavern\public

* fixes date format

* launcher update + icon
2023-09-02 21:52:46 +03:00
Jasonnor
f91e1dfd86 TTS: Set character default voice from disabled to default (#1077)
## Features and improvements
- TTS Extension
  - Set character default voice from `disabled` to `DEFAULT_VOICE_MARKER`
  - Add `DEFAULT_VOICE_MARKER` option for all characters
  - Set default `DEFAULT_VOICE_MARKER` voice as `disabled`

## Related issues
- #1077
2023-09-03 01:27:54 +08:00
Cohee
4e366a8e9e Fix extensions menu 2023-09-02 18:32:33 +03:00
Cohee
2d933f835c Move toasts to top center 2023-09-02 18:32:15 +03:00
Cohee
242600a5a3 Remove group chat no members warning 2023-09-02 17:28:03 +03:00
Cohee
37eb074652 Fix maxlength on instruct stop sequence 2023-09-02 16:39:31 +03:00
city-unit
838cd81f8e Merge branch 'staging' of https://github.com/city-unit/SillyTavern into feature/exorcism 2023-09-01 22:24:41 -04:00
Cohee
4a6705cea8
Prompt manager configuration fixes (#1078)
* Refactor oai preset change event into before and after

* Simplify and reinforce prompt manager render without character

* Check if main prompt exists before adding nsfwAvoidance

* Sanitize prompt manager configuration on preset loading

---------

Co-authored-by: maver <kentucky@posteo.de>
2023-09-01 23:23:03 +03:00
Cohee
428c851c9b Fix WI overflow alerting counter 2023-09-01 23:14:01 +03:00
rbmj
6c097560ca
goodbye axios (#1073)
* goodbye axios

* Rewrite error handling for OpenAI

* Increase instruct sequence length limit

* Buttons markup

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-01 19:00:32 +03:00
Cohee
79dcfa6c51 #1077 Add ability to set default voice 2023-09-01 17:58:33 +03:00
Cohee
7a325f03ea Fix disable thumbnails 2023-09-01 16:20:31 +03:00
Cohee
02f9aded4b Merge branch 'release' into staging 2023-09-01 15:53:22 +03:00
Cohee
52ae038297 Add error handling to AI21 tokenization 2023-09-01 15:44:41 +03:00
Cohee
83ff2e6edc
Merge pull request #1066 from bdashore3/staging
Allow additional headers to be passed to local backends
2023-09-01 14:52:32 +03:00
RossAscends
9bf132034f more visibility for PromptManager toggle/edit icons 2023-09-01 13:33:04 +09:00
Cohee
267d0eb16f Fix API tokenizers usage with kcpp 2023-09-01 02:57:35 +03:00
Cohee
6a98701e61 Fix unban EOS for Kobold
565ab8a38f
2023-09-01 01:58:32 +03:00
Cohee
8f20c87a7d Update package lock 2023-09-01 01:33:37 +03:00
rbmj
5cbd5c8210
get rid of node-rest-client and fix types (#1072)
* get rid of node-rest-client and fix types

* remove from package manager

* postAsync is used above its def, need hoisting

* handle client agent undefined, fixes type error

* handle invalid / missing query.name for sanitize

* more type guards

* Make code formatter happy

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-01 01:30:33 +03:00
Cohee
1f10acdf17 Slight refactor Kobold version flags 2023-09-01 01:07:04 +03:00
Cohee
e9de47615a #1047 Unban EOS token and mirostat for Kobold 2023-09-01 01:04:58 +03:00
Cohee
d6b694cc9d Don't bounce of the top bar to prevent movable freezing 2023-08-31 23:44:36 +03:00
Cohee
bc1d745209 Rewrite getstatus_openai using fetch 2023-08-31 22:46:13 +03:00
Cohee
53f8667782 #1071 Initialize Ross mods only after the first load completed 2023-08-31 20:31:12 +03:00
rbmj
deeedad19e
Make jsdoc/type-checker happy Pt 3 (#1070)
* png-chunks-extract.extract has no create_date

* `new Buffer.from` is not a thing

* handle failed character read

* stop lying about your return value

* what we get for mixing booleans and strings

* localeCompare makes more sense and fixes types

* uhh wtf, there is no callback in readFileSync

* no subtracting Dates, only Numbers (timestamps)

* handle if no file in request

* changing types makes typechecker mad

* handle false or undefined character read

* default param does not exist

* can't have same property assigned twice

* json5.parse expects a string, not buffer

* handle invalid thumbnail type

* handle invalid thumbnail type case

* ignore bad axios typing

* fix ambiguous typing

* types is incorrect? no .destroy(). use type guard

* include intended error handling of refactor

* Make API urls const

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-08-31 19:44:58 +03:00
Cohee
4f1130260c Backend for sorting by create date field 2023-08-31 19:30:56 +03:00
Cohee
c19eb3146f Force set create date string 2023-08-31 19:30:27 +03:00