city-unit
cd1a8c9224
Quick and dirty stat re-creator button
2023-09-21 17:34:09 -04:00
kalomaze
ad9382a98c
Custom --grammar support [for koboldcpp] ( #1161 )
...
* Basic kobold grammar implementation
This is probably jank as all hell, I don't write js, but I think I got it to work.
* No value by default
* Visual cleanup
+ reworded it a bit
* Conditionally enable Grammar based on version flag. Fix layout
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-09-21 15:21:59 +03:00
Cohee
e3f760a9dd
Add assistant postfix to converted ChatML => text completion prompts.
2023-09-20 21:50:14 +03:00
Cohee
11e7ca76e1
Use simpleGit to get app version
2023-09-17 14:27:41 +03:00
Cohee
bfdd071001
Move tokenizer endpoint and functions to separate file
2023-09-16 18:48:06 +03:00
Cohee
ab9aa28fe4
Move missed endpoints
2023-09-16 18:03:31 +03:00
Cohee
61995bb33f
Move preset management into a separate file
2023-09-16 17:36:54 +03:00
Cohee
38b63b07f5
Extract sprite and custom content endpoints to a separate files. Update constants references
2023-09-16 17:28:28 +03:00
Cohee
4e1630c17d
Extract endpoints for secrets and assets to separate files
2023-09-16 16:39:07 +03:00
Cohee
6e562bd1ff
Extract server endpoints for thumbnails and extensions into separate files
2023-09-16 16:16:48 +03:00
Cohee
6dd09858d4
Don't remove names from the past chat. Fix non-streaming auto-continue.
...
We took fair criticism from the NovelAI dev.
2023-09-15 23:32:01 +03:00
Cohee
eaca6ddaf0
Don't try to resolve unknown tiktoken models
2023-09-15 19:31:17 +03:00
Cohee
599904d589
Move NovelAI endpoints to separate file
2023-09-15 17:54:13 +03:00
Cohee
0f1a0963fd
Merge branch 'release' into staging
2023-09-15 15:06:13 +03:00
Cohee
2b3055a84a
Webp cards format is no longer supported
2023-09-15 14:56:15 +03:00
Cohee
0cc048cb64
Refactor transformers.js usage
2023-09-14 23:12:33 +03:00
Cohee
9fb4b3425e
Costume subfolders
2023-09-14 19:12:54 +03:00
Cohee
52891898d2
Pass max length to Kobold GUI settings
2023-09-14 18:20:12 +03:00
Cohee
ece34dc337
Move default files creation to post-install
2023-09-14 14:21:38 +03:00
Cohee
66ec17620f
Move Horde and SD endpoints into separate files
2023-09-12 20:45:36 +03:00
Cohee
f149fc9aaa
Endpoint for local captioning pipeline
2023-09-11 04:47:14 +03:00
Cohee
74d627f674
Set default DNS resolution order to IPv4 first
2023-09-10 19:03:18 +03:00
Cohee
599261dc31
Set default DNS resolution order to IPv4 first
2023-09-10 19:02:58 +03:00
Cohee
4fdc533bd7
Change net workaround for node 20
2023-09-10 18:23:50 +03:00
Cohee
d17ac770e6
Change net workaround for node 20
2023-09-10 18:22:39 +03:00
Cohee
ec23356c99
Move translation endpoints into a separate file
2023-09-10 16:41:36 +03:00
Cohee
98cc969d18
Merge branch 'staging' into vectors
2023-09-10 16:06:15 +03:00
Cohee
d81c94de0b
Fix sort by date
2023-09-10 14:30:29 +03:00
Cohee
e2e32da4e6
Unrestrict console logs display limit
2023-09-10 04:12:14 +03:00
Cohee
0480acebcd
#1059 Mancer model selector
2023-09-10 04:08:32 +03:00
Cohee
b605b940eb
Replace transformers.js with patched version
2023-09-09 16:29:11 +03:00
Cohee
967a084aad
(WIP) Local emotion classification pipeline
2023-09-09 15:14:16 +03:00
Cohee
42fd317188
Merge branch 'staging' into vectors
2023-09-08 16:41:26 +03:00
Cohee
a5acc7872d
Add OpenAI vector source.
2023-09-08 13:57:27 +03:00
Cohee
3abee9e37a
Merge pull request #1115 from SillyTavern/release
...
Release
2023-09-08 12:48:37 +03:00
ThisIsPIRI
a96aad6073
Make API tokenization work again for ooba
2023-09-08 18:31:30 +09:00
Cohee
b5a6257352
Forgot that groups exist
2023-09-08 10:51:59 +03:00
Cohee
8c00f38a1f
Add local vectors storage
2023-09-07 21:53:47 +03:00
Cohee
e681f1f36f
#1069 Fix sort by date for v2 cards
2023-09-06 20:59:59 +03:00
Cohee
ded1e3a859
Add NAI Diffusion upscaling. Add Anlas guard and view Anlas button
2023-09-04 18:00:15 +03:00
Cohee
f69aa07ec1
Fix background URI encoding
2023-09-04 02:51:39 +03:00
Cohee
3e1815f599
Fix [BUG] Card sorting is broken #1069
2023-09-03 18:52:04 +03:00
Cohee
e8545db9a5
Fix the last of type errors
2023-09-03 18:37:52 +03: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
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
e3e6fa2218
Connect to AUTO111 without Extras. Add NAI Diffusion.
2023-09-03 00:41:26 +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
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
Cohee
6a98701e61
Fix unban EOS for Kobold
...
565ab8a38f
2023-09-01 01:58:32 +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
e9de47615a
#1047 Unban EOS token and mirostat for Kobold
2023-09-01 01:04:58 +03:00
Cohee
bc1d745209
Rewrite getstatus_openai using fetch
2023-08-31 22:46:13 +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
c19eb3146f
Force set create date string
2023-08-31 19:30:27 +03: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
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
7f99ae5705
Revert unnecessary string cast
2023-08-31 00:21:29 +03: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
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
86c0974a6e
More image support
2023-08-30 15:33:39 -04:00
Cohee
220d19d3ec
Remove useless assignments
2023-08-30 22:09:09 +03:00
Cohee
f5e52eab05
Specify read encoding
2023-08-30 22:04:11 +03:00
Cohee
ce46e1a4ca
Replace restClient in getstatus_novelai
2023-08-30 21:58:46 +03:00
Cohee
a757532c3e
Fix local fetch import for Kobold
2023-08-30 21:46:09 +03:00
Cohee
02f7c9ab64
Merge branch 'staging' into cleanup-imports
2023-08-30 21:19:14 +03:00
Cohee
27b6fe1f76
Fix sendFile usage
2023-08-30 21:14:53 +03:00
Cohee
52dbb916c0
Specify file read encoding where possible
2023-08-30 20:57:19 +03:00
Cohee
938e244987
Change file buffer read handling
2023-08-30 20:55:00 +03:00
RealBeepMcJeep
8b38015fab
stop polluting my global namespace
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
271a429a62
default param value does not exist
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
f3f9efb163
check the docs, there is no such option sirs
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
398544407d
type checker no trust functions as type guards
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
b648d9bd87
JSON.parse wants a string
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
79e6d4c297
outdated local ai_horde library, bad
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
94c6b453c0
workaround: pkg does not exist on type Process
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
11cef1b234
type checker wants a string
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
6ca678e137
sanitize only accepts strings
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
e1df933368
plz no pollute global namespace
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
b91bc21d60
fixes readableStream fuckery, needs testing
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
baac38f888
types demands we handle null case
2023-08-30 10:28:58 -07:00
RealBeepMcJeep
3422b3e963
inline function immediately called lolwtf
2023-08-30 10:28:58 -07:00