Cohee
71f41d5233
Fix server crash in auto login
2024-04-23 21:11:47 +03:00
Cohee
75372ad0cc
Use Map for caches instead of objects
2024-04-23 16:15:54 +03:00
joenunezb
890cf81627
Fix: InformaticAI response without message in choices
2024-04-23 03:56:50 -07:00
Cohee
4370db6bdc
Implement World Info activation using Vector Storage
2024-04-23 03:09:52 +03:00
Cohee
2f45f50d37
Add config value for forwarded IPs whitelisting
2024-04-22 15:52:59 +03:00
Cohee
41ad7c5d26
Verify data bank attachments
2024-04-22 02:34:50 +03:00
Cohee
bc9c70556e
Clean-up mentions of /public/
2024-04-21 23:53:46 +03:00
Cohee
15f0e491bf
Fix Perplexity generation on neo-server
2024-04-21 00:52:03 +03:00
Cohee
db78346bef
Add YT script loader for data bank
2024-04-20 19:58:29 +03:00
Cohee
b3bbec83b6
Merge branch 'staging' into neo-server
2024-04-20 02:56:05 +03:00
Cohee
2a2a63c52c
Add Perplexity as Chat Completion source
2024-04-20 00:09:38 +03:00
Cohee
d6fd351330
Merge pull request #2105 from isaac-mcfadyen/fs-renamefile-fix
...
Changed fs.renameSync() to fs.copyFileSync()
2024-04-19 01:13:50 +03:00
Cohee
25cb598694
Add Cohere as embedding source
2024-04-19 00:07:12 +03:00
Isaac McFadyen
15a8adb0b9
Changed fs.cpSync to use recursive copying
2024-04-18 16:04:04 -04:00
Isaac McFadyen
3822ae9356
Switched fs.renameSync to fs.copyFileSync
2024-04-18 15:50:27 -04:00
Cohee
9a1ea7f226
Implement Data Bank vectors querying
2024-04-17 02:09:22 +03:00
Cohee
8546490bcc
Improve Scale JWT error handling
2024-04-16 18:59:01 +03:00
Cohee
3dcea41c4e
Preserve a query string when redirecting to and from login
2024-04-16 18:44:11 +03:00
Cohee
f947c1304a
Disable TTL on user accounts.
...
The biggest skill issue so far.
2024-04-16 02:49:30 +03:00
Cohee
242d57c14b
Add Data Bank manager
2024-04-16 02:14:34 +03:00
Cohee
0263be8c1f
Merge branch 'staging' into neo-server
2024-04-15 00:26:52 +03:00
Cohee
4a553e1fc8
Merge branch 'release' into staging
2024-04-15 00:26:43 +03:00
Cohee
a2e6d1da4f
Fix loading plugins from default exports
2024-04-14 23:24:03 +03:00
Cohee
607e85639c
Code clean-up
2024-04-14 19:31:38 +03:00
Cohee
9cb777a4e9
Increase default avatar size 400x600 => 512x768
2024-04-14 17:36:48 +03:00
Ondřej Sakala
5ce625fb6b
added a web-search toggle for Cohere API
2024-04-14 02:25:11 +02:00
Cohee
e8e3834fc0
Merge branch 'staging' into neo-server
2024-04-13 20:06:47 +03:00
Cohee
8ae9212cc5
#2075 Fix Draw Things auth
2024-04-13 20:02:54 +03:00
Cohee
3a4405016c
#2075 Fix Draw Things auth
2024-04-13 20:01:17 +03:00
Cohee
b340863d52
Auto-extend session if loading the home page
2024-04-13 19:12:50 +03:00
Cohee
1a372abaff
Customizable avatars for users
2024-04-13 17:52:37 +03:00
Cohee
10aa268ea2
Filter out invalid character files
2024-04-13 16:21:41 +03:00
Cohee
59657766b5
Switch password hashing function to scrypt
2024-04-13 15:40:47 +03:00
Cohee
716d1fc988
Merge branch 'staging' into neo-server
2024-04-13 15:26:48 +03:00
Cohee
2661f00dd4
Fix loading plugins from default exports
2024-04-13 13:29:41 +03:00
Zhongyi Lu
792be63c5c
fix: whitelist in real-ip
2024-04-12 22:03:36 -07:00
Cohee
dcd89f2295
Fix public facing messages
2024-04-13 00:13:36 +03:00
Cohee
53386b35c9
Make Reset account functional
2024-04-13 00:11:20 +03:00
Cohee
7183416d1f
Check account protection status on startup
2024-04-12 22:04:20 +03:00
Cohee
dcbeab0aef
Fix absolute paths for data root. Allow setting data root via console args.
2024-04-12 19:53:46 +03:00
Cohee
3e1ff9bc25
Merge branch 'staging' into neo-server
2024-04-12 19:23:10 +03:00
Cohee
9c218455c4
[chore] Run ESLint
2024-04-12 14:22:12 +03:00
Cohee
58359c9682
Control whitelist mode with console flag
2024-04-12 01:33:39 +03:00
Cohee
396eeca73a
Change default user handle. Use async template renderer
2024-04-12 00:35:51 +03:00
Cohee
d8092ec3eb
Merge branch 'staging' into neo-server
2024-04-12 00:01:52 +03:00
sasha0552
7348199f73
Add llama.cpp slots info endpoint ( #2070 )
2024-04-11 23:53:32 +03:00
Cohee
31ba3cf039
Merge branch 'staging' into neo-server
2024-04-11 21:47:10 +03:00
Cohee
05ae571971
Pass names to Cohere prompt converter
2024-04-11 19:53:45 +03:00
Cohee
58152a60c6
Append example names to converted Google sysprompt
2024-04-11 19:45:50 +03:00
based
c4ec97aa50
cleanup
2024-04-11 16:51:05 +10:00
based
34bca69950
system prompt support for gemini 1.5
2024-04-11 16:38:20 +10:00
Cohee
1990a2d9bd
Add user snapshot settings management
2024-04-11 01:44:48 +03:00
Cohee
c92df1168d
Implement change display name
2024-04-11 00:40:01 +03:00
Cohee
01a4aa51f7
Ask for password before resetting settings
2024-04-10 22:34:51 +03:00
Cohee
2306a4e34d
Add discreet login mode
2024-04-10 22:00:08 +03:00
Cohee
bd4d8847ce
Merge branch 'staging' into neo-server
2024-04-10 21:41:03 +03:00
Cohee
5f6d895acf
Add attribution links
2024-04-10 21:21:31 +03:00
Cohee
c90105e9f6
Merge branch 'staging' into pollinations
2024-04-10 21:14:36 +03:00
Cohee
53baa7aae7
#2051 #2031 Selectable prompt converter for custom OAI type
2024-04-10 21:12:57 +03:00
sasha0552
becd17d7d2
Add some llama.cpp-specific endpoints
2024-04-10 08:11:59 +00:00
Cohee
2b29e14e9f
Reset settings option
2024-04-10 03:29:38 +03:00
Cohee
09b44075ed
User profile view
2024-04-10 02:09:38 +03:00
Cohee
accebd00f5
Stricter handle cleanup
2024-04-10 01:29:35 +03:00
Cohee
189d096834
Admin change password flow
2024-04-10 00:01:03 +03:00
Cohee
31cc6e51b5
Add user backups download
2024-04-09 22:43:47 +03:00
Cohee
411a8ef8a7
Enable CSRF for public endpoints. Split users module. Add rate limiter.
2024-04-09 21:58:16 +03:00
Cohee
497f38111f
Merge branch 'staging' into neo-server
2024-04-09 20:26:03 +03:00
Cohee
0594859fb9
#2046 Fix for undefined fields
2024-04-09 10:11:05 +03:00
Cohee
72792ae9f9
Basic account management
2024-04-08 02:38:20 +03:00
Cohee
3f3e23420d
Working login flow
2024-04-07 23:08:19 +03:00
Cohee
0230177d27
Optimize server user storage use
2024-04-07 20:36:07 +03:00
Cohee
6be86be0a7
Save user session to cookies
2024-04-07 19:12:22 +03:00
Cohee
0f105e0300
Fix circular deps, add Helmet https://helmetjs.github.io/
2024-04-07 18:11:23 +03:00
Cohee
c6ffe4502a
Add user management endpoints
2024-04-07 17:44:40 +03:00
Cohee
b07aef02c7
Persist CSRF and cookie secrets across server launches
2024-04-07 16:41:23 +03:00
Cohee
11193896b2
Add data migration procedure
2024-04-07 03:01:55 +03:00
Cohee
b07a6a9a78
Update all endpoints to use user directories
2024-04-07 01:47:07 +03:00
Cohee
cd5aec7368
Split user directories from public, part 1
2024-04-06 20:09:39 +03:00
Cohee
b3b7017bf2
Move default QR and MovingUI to content manager
2024-04-06 17:55:53 +03:00
Cohee
0debe2ca4d
they did only move the imagegen towards that api endpoint not upscaling
2024-04-05 22:17:29 +03:00
Cohee
f002b2d5cc
#2016 Fix NovelAI endpoint
2024-04-05 22:15:50 +03:00
Cohee
ee3718ad7a
Forward error messages from Cohere streams
2024-04-04 21:20:30 +03:00
Cohee
75ebdf394a
Add pollinations as image generation source
2024-04-04 20:40:47 +03:00
Wolfsblvt
3ccb63dd21
Server logging utilize tracking branch
...
- Use tracking branch instead of hardcoded "origin"
- Remove dev logging message if not on "staging" or "release"
2024-04-02 22:51:43 +02:00
Wolfsblvt
514c40228c
Improve server version logging info
...
- Capture commit date and print that next to the branch
- Info for being on a dev branch
- Info for not being on the latest commit (fetch should've gotten it, if update script was run)
2024-04-02 22:17:21 +02:00
Cohee
9838ba8044
#1994 Add Cohere as a Chat Completion source
2024-04-02 00:20:17 +03:00
Cohee
a96bb40505
#1991 Add API key for llama.cpp
2024-03-31 00:27:12 +02:00
Cohee
153f75cf1a
Add role selection to Character's Note depth prompt
2024-03-30 23:12:01 +02:00
Cohee
c94460714d
Whitelist to check listen mode via console
2024-03-30 22:42:51 +02:00
Cohee
a17206dd38
Merge branch 'staging' into instruct-rework
2024-03-30 14:56:37 +02:00
Cohee
9c7e29115f
Merge pull request #1989 from kir-gadjello/sd-drawthings-api
...
Implement drawthings local app api support for sd extension
2024-03-30 14:50:07 +02:00
kir-gadjello
dddcac9af8
implement drawthings local app api support for sd extension
2024-03-30 01:12:29 -03:00
Cohee
06d1369f58
Make default instruct/context restorable
2024-03-29 19:39:59 +02:00
Cohee
0551c8023e
Move context/instruct templates to default context index
2024-03-28 22:54:37 +02:00
Cohee
d02c93e84f
Merge branch 'staging' into instruct-rework
2024-03-28 01:34:04 +02:00
Cohee
6ed604593c
Copy tags on duplicating
2024-03-28 01:13:54 +02:00
Cohee
06510f25bf
Fix double append of example dialogue names in group chats for Claude
2024-03-27 23:37:28 +02:00
based
f3b9920f22
actually convert the prompts properly
2024-03-27 15:48:26 +10:00
based
6a51855f19
Update Makersuite models
2024-03-27 13:52:51 +10:00
Cohee
607df2f555
Add ability to insert role-typed prompt injections
2024-03-23 17:36:43 +02:00
Cohee
c606cd1295
Add SMEA/DYN controls for NAI Diffusion
2024-03-20 21:23:56 +02:00
Cohee
30c52b5b27
Move prompt-converters.js 1 level up
2024-03-20 01:18:51 +02:00
Cohee
abb8bdbc1e
Extract API endpoint for moving UI
2024-03-20 01:07:28 +02:00
Cohee
b261c8c4a9
Extract API endpoints for images
2024-03-20 00:59:06 +02:00
Cohee
7dcd39c806
Extract API endpoints for quick replies
2024-03-20 00:46:46 +02:00
Cohee
d448d4f65b
Extract API endpoints for user avatars
2024-03-20 00:39:48 +02:00
Cohee
41528d0423
Add ability to delete UI themes
2024-03-20 00:14:32 +02:00
Cohee
532418c534
Lint fixes
2024-03-17 14:07:33 +02:00
Cohee
3032f47b29
Add import of Agnai chats
2024-03-16 01:11:00 +02:00
Cohee
ce756bc4f7
Allow setting altering group greetings with extensions. Add ability to add extensions when creating characters.
2024-03-14 23:10:35 +02:00
Cohee
94230c0891
Set prefill before squashing messages
2024-03-14 14:51:56 +02:00
Cohee
6ac8ef1b48
Add koboldcpp as a multimodal captioning source
2024-03-14 01:03:51 +02:00
Cohee
bd223486de
Include additional headers for all supported Text Completion types.
2024-03-14 00:48:08 +02:00
Cohee
acf36b6107
Add koboldcpp API key/password support
2024-03-14 00:34:09 +02:00
Cohee
5efdecc825
Add new OpenAI embedding models for selection
2024-03-12 21:41:30 +02:00
Kristian Schlikow
44a7dd3d74
Add NomicAI for vectorization ( #1922 )
...
* Crudely add NomicAi for vectorization
* Move NomicAI to its own endpoint, properly handle API key
* Adjust clear button html
* Remove leftover nomicai http header code
* Revert changes to openai-vectors.js
* Fix UI issues
* Revert change to settings, fix UI
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-03-12 21:10:25 +02:00
Cohee
6b2374c405
Add function to write extension fields to character cards.
2024-03-12 01:49:05 +02:00
Cohee
c9c6d798d9
Fix Claude error in empty chats with no history
2024-03-12 01:17:35 +02:00
Cohee
5d561b64e2
Fix names in completions not getting added when squashing assistant messages
2024-03-12 01:10:53 +02:00
Cohee
2f6ae8d49a
Add names for non-sysprompt example messages
2024-03-09 21:10:20 +02:00
Cohee
91d6a139e5
Merge pull request #1906 from DreamGenX/dreamgen_api
...
Add support for DreamGen API.
2024-03-08 21:16:37 +02:00
Cohee
35ee126c03
Trim whitespace at the end of Claude's prefill.
...
Otherwise it won't pass validation. I didn't make the rules.
2024-03-08 19:35:49 +02:00
DreamGenX
c9c0f238a9
add 'stream' to dreamgen fields
2024-03-08 09:07:26 +01:00
DreamGenX
bf787a9445
support dreamgen non-streaming
2024-03-08 08:32:47 +01:00
Cohee
15eb18740e
Pass char/user names for Claude example messages converter
2024-03-08 08:31:36 +02:00
DreamGenX
5c410986a4
Add support for DreamGen API.
...
API docs: https://dreamgen.com/docs/models/opus/v1
API keys: https://dreamgen.com/account/api-keys
I decided to base this on the text-completion API since it's more
flexible with SillyTavern's prompt formating capabilities.
This also means that custom context and instruct settings are required.
Will add documentation in a followup PR.
2024-03-07 12:25:48 +01:00
Cohee
41e053c40d
Fix case if message content is a string
2024-03-06 21:40:51 +02:00
khanonnie
0ba6a562cb
removes leftover debug log
2024-03-05 19:17:14 -06:00
khanonnie
8c273906bc
fixes inline images for Claude 3 when Add Character Names is enabled
2024-03-05 18:35:40 -06:00
Cohee
0a5f12ee31
Merge pull request #1897 from valadaptive/ai-horde-dependency
...
Un-vendor ai_horde
2024-03-05 21:22:16 +02:00
Cohee
4de9176f1a
Fix captioning URL: base + '/messages'
2024-03-05 20:08:40 +02:00
based
3e1d44fc29
remove deprecated option + reverse proxy support in claude vision
2024-03-06 02:47:00 +10:00
valadaptive
4470e87ef9
Un-vendor ai_horde
2024-03-05 08:49:24 -05:00
based
94beaaa581
have to put something in here, claude doesn't like empty messages
2024-03-05 09:57:37 +10:00
based
b6897af364
vision inlining
2024-03-05 08:41:57 +10:00
based
5f0bbcacf0
oops
2024-03-05 07:10:59 +10:00
based
64d9c9dc5d
anthropic captioning
2024-03-05 07:07:38 +10:00
based
ce7fbd5ef8
fix 'add character names'
2024-03-05 05:28:19 +10:00
based
b8e8b0ac9e
merge messages after system prompt handling (oopsie)
2024-03-05 05:01:36 +10:00
based
04bb882e90
implement messages api and selector for nuclaude models
2024-03-05 04:40:19 +10:00
based
adba450752
Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into nuclaude
2024-03-05 03:15:28 +10:00
Cohee
112e8f224c
Use alternate method of determining URLs, consolidate logs format
2024-03-03 16:45:26 +02:00
Bronya-Rand
668d1f0fb9
feat: add `importUUID` API to get Pyg/Janny/Chub bots without link
2024-03-03 03:31:39 +00:00
Cohee
59db5abaef
Fix comment
2024-03-02 23:18:34 +02:00
Cohee
b490978142
Refactor vector models code
2024-03-02 23:16:18 +02:00
Kristan Schlikow
adfb9c5097
Implement TogetherAI as vectorization provider
2024-03-01 23:52:49 +01:00
Cohee
29c4334c46
#1859 Set keep_alive for ollama
2024-02-26 21:09:21 +02:00
based
617ae7d02c
???
2024-02-27 01:42:22 +10:00
Cohee
f962ad5c02
Add OpenRouter as a text completion source
2024-02-25 22:47:07 +02:00
Cohee
3441667336
#1853 Add WI/Script link by entry automation id
2024-02-24 17:22:51 +02:00