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
deffcolony
dce959f72d
Add Launcher.bat ( #1061 )
2023-08-31 17:35:21 +03:00
Cohee
f4bdf127f7
Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging
2023-08-31 17:10:09 +03:00
Cohee
019c47adc6
#1068 Display token counts on generated messages
2023-08-31 17:10:01 +03:00
RossAscends
8a74715d88
-1px gap for sheld to fix MovingUI lockup
2023-08-31 22:58:28 +09:00
Cohee
5f5407777f
New hotkey: Alt+Enter to Continue
2023-08-31 14:54:35 +03:00
Cohee
05f3a5d8a1
#1041 Auto-fix displayed markdown for unbalanced quotes/asterisks
2023-08-31 14:39:31 +03:00
Cohee
5057aab739
Solid snacke/release ( #1067 )
...
Finished a little translation into Russian. Draft.
---------
Co-authored-by: SolidSnacke <solid.snacke@bk.ru>
2023-08-31 12:45:45 +03:00
kingbri
fce57b41dd
Config: Indent by 4 spaces
...
2 spaces is too small for a config file like this.
Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-31 00:43:45 -04:00
kingbri
4e553cf6ab
Server: Allow appending of additional headers for local backends
...
This is a useful feature for those who want to utilize APIs with
proxy middleware for adding extra features or security. For cloud
API safety and abiding by rate limits, this feature only applies to
local backends such as ooba or kobold.
Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-31 00:15:07 -04:00
RossAscends
eb815b906c
Merge pull request #987 from city-unit/feature/exorcism
...
Internal Gallery Extension
2023-08-31 12:58:31 +09:00
city-unit
ab440a3d7b
Uhh, mobile support
2023-08-30 22:54:34 -04:00
city-unit
7d6ff2ee3c
Toasty timeout
2023-08-30 20:38:48 -04:00
city-unit
056fef6831
Tell users how to drag and drop.
2023-08-30 20:37:03 -04:00
city-unit
4ff3b337e2
Same as above, close button
2023-08-30 20:09:01 -04:00
city-unit
d5409a5fea
Add close buttons and theming
2023-08-30 20:08:48 -04:00
Cohee
218cfb43d8
Fix gallery files caching, filter by mime type. Use fetch instead of Jquery Ajax
2023-08-31 00:55:17 +03:00
Cohee
194278d171
Merge branch 'staging' into feature/exorcism
2023-08-31 00:42:34 +03:00
Cohee
7cb896ddd7
Fix first run initialization
2023-08-31 00:40:03 +03:00
Cohee
fcfd8b8a53
Merge pull request #1062 from RealBeepMcJeep/make_jsdoc_happy2
...
Make jsdoc/type-checker happy Pt 2
2023-08-31 00:33:34 +03:00
Cohee
7f99ae5705
Revert unnecessary string cast
2023-08-31 00:21:29 +03:00
Cohee
c6bbbf1c25
Fix continue token count overflow
2023-08-31 00:16:58 +03:00
city-unit
34c698972c
I think that corrects filenaming for user folders, etc.
2023-08-30 16:36:32 -04:00
RealBeepMcJeep
326c7d8841
input not an arr, it is an arr or string or other
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
9dfe42a7c3
convert to async and fix types
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
2e3ddd16d5
fix ambiguous args for typechecker
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
77c9744878
make more readable & make types happy
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
8db38f3f8d
we require(json) in our code like animals
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
49aff85472
handle bad read of raw data
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
c1b76b5f48
resolve can only return one thing at a time
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
f7576750fc
handle undefined X-Streaming-URL
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
691e9ee754
this default param does not exist
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
ab9594fe62
handle missing user agent case
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
8211e67ed7
generateToken requires req to set cookie
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
aa901883d2
node v18 type-checker hates this, ignore it
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
cd8027aeea
fixes 7 errs. see yargs typescript docs. test plz
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
3feeaaa09f
listen requires a number, `URL` port is string wtf
2023-08-30 13:28:08 -07:00
RealBeepMcJeep
113ea1d0ec
JSON.parse wants a string
2023-08-30 13:28:08 -07:00
city-unit
98a2a2b989
Esc to remove drag elements
2023-08-30 15:58:14 -04:00
RossAscends
a5aadd936c
Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging
2023-08-31 04:46:35 +09:00
RossAscends
7ea426ba79
remove console logs from RAmods, cleanup code.
2023-08-31 04:46:33 +09:00
Cohee
1f6e2ad74c
Merge pull request #1052 from RealBeepMcJeep/cleanup-imports
...
Cleanup imports
2023-08-30 22:33:56 +03:00
city-unit
86c0974a6e
More image support
2023-08-30 15:33:39 -04:00
city-unit
dfd6961c2a
Fix dropzones
2023-08-30 15:33:30 -04:00
RossAscends
b190035224
Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging
2023-08-31 04:27:19 +09:00
RossAscends
100ba3e89b
quickfix: mobile AdvFormat Preset Selector Width
2023-08-31 04:27:18 +09:00