Wolfsblvt
35ab677ff1
Add char version to group panel member names
...
- Follows the same style as version in char list
- Respects the chosen "auxiliary field" setting
Closes #3359
2025-01-26 18:44:12 +01:00
Cohee
a42337ad0a
Use 'localhost' as a fallback for hostname
2025-01-26 16:50:59 +02:00
Cohee
9aac5a22f1
Defer middleware HTML file reads
2025-01-26 01:46:30 +02:00
Cohee
96143177ce
Fix logit bias for DeepSeek on OpenRouter
2025-01-26 01:42:08 +02:00
Cohee
c9a1a3eb94
Merge pull request #3351 from SillyTavern/csrf-sync
...
Replace CSRF middleware
2025-01-25 23:23:43 +02:00
Cohee
44ade6ad64
Customize CSRF token error message
2025-01-25 23:20:26 +02:00
Cohee
44ad69ceca
Merge pull request #3342 from Spappz/staging
...
Allow customisation of the 403 page
2025-01-25 23:00:23 +02:00
Wolfsblvt
f78bf5e46f
Add "StartDev.bat" placeholder to .gitignore
2025-01-25 21:45:55 +01:00
Spappz
6099ffece1
No exceptions on missing error webpages
...
- Create a `safeReadFileSync()` function in `src/utils.js` to wrap around `fs.readFileSync()`
- Migrate error-webpage loads to use `safeReadFileSync()`, with default values of an empty string
- Move the 404 error middleware to explicitly only be called *after* extensions are registered
2025-01-25 20:29:31 +00:00
Spappz
9e54070c1d
Revert path/posix
to path
in post-install.js
2025-01-25 19:38:01 +00:00
Cohee
2d8da60ffc
Fix types for session
2025-01-25 19:13:25 +02:00
Cohee
5ff402aabf
Replace CSRF middleware
...
Closes #3349
2025-01-25 16:56:11 +02:00
Spappz
e07faea874
rework createDefaultFiles()
...
Reorganised copy-able `default/` files as a sparse copy of the production file-tree. This should save the `defaultItems` (formerly `files`) array from getting unwieldy.
2025-01-25 03:45:16 +00:00
Spappz
a5dc505e61
add 404 error-handling to server
...
This is all that seems necessary according to Express? Admittedly my first time using it.
https://expressjs.com/en/starter/faq.html#how-do-i-handle-404-responses
2025-01-25 03:42:04 +00:00
Spappz
538d66191e
add 401 error page for basicAuth
mode
...
Most modern browsers don't actually show users 401 responses, but it doesn't hurt to have it in there anyway ¯\_(ツ)_/¯
2025-01-25 03:40:47 +00:00
Spappz
928487985d
defer 403 HTML to file
2025-01-25 03:38:52 +00:00
Cohee
0937f44f39
Validate avatar_url field with a middleware ( #3314 )
...
* Validate avatar_url field with a middleware
* Fix validating wrong endpoint
2025-01-24 23:47:32 +02:00
Spappz
075368b5ae
Ensure Handlebars template is only compiled once
2025-01-24 19:56:19 +00:00
Spappz
90459116e3
woohoo
2025-01-24 03:39:05 +00:00
Wolfsblvt
d4672b3517
Merge pull request #3340 from bmen25124/export_getCharacters_uuidv4_humanizedDateTime
...
New exported methods: getCharacters(), uuidv4(), humanizedDateTime()
2025-01-24 02:39:30 +01:00
bmen25124
bbf28c74f7
New exported methods: getCharacters(), uuidv4(), humanizedDateTime()
2025-01-24 04:27:12 +03:00
Cohee
bbd85fc823
Merge pull request #3315 from SillyTavern/extensions-config
...
config.yaml: Group extension settings into one section
2025-01-24 02:54:48 +02:00
Cohee
291a5f42cd
Merge pull request #3338 from Tosd0/staging
...
Update zh-CN translations
2025-01-24 01:58:33 +02:00
Cohee
6aaeb754ef
Exportable temporary assistant chats
2025-01-24 00:12:00 +02:00
Sevenyine
adad1fde19
Modified Translations about Group Chats
2025-01-23 22:56:59 +08:00
Sevenyine
8b2d97b946
Modification
2025-01-23 22:32:41 +08:00
Sevenyine
515f78619f
Update
2025-01-23 22:25:17 +08:00
Sevenyine
71be63dbb1
Update zh-CN translations about lorebook
2025-01-23 22:23:46 +08:00
subzero5544
a503f58d0c
Adding reverse proxy support to DeepSeek chat completion ( #3328 )
...
* added reverse proxy settings to deepseek chat completion
* Update chat-completions.js
* Update chat-completions.js
* Update chat-completions.js
* Update chat-completions.js
* Update chat-completions.js
* Update chat-completions.js
* Unify API key requirement
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-01-23 09:02:44 +02:00
Cohee
6fef696268
Featherless: use scaleable font sizes for models list
2025-01-22 22:58:58 +02:00
Cohee
e4290140bc
TC: Remove -1 seeds from request body
...
Closes #3336
2025-01-22 22:45:30 +02:00
Cohee
7c93acedc3
post-install: Fix getting keys of null values
...
Original commit by @honey-tree
5c40876a4a
2025-01-22 22:41:34 +02:00
Cohee
ae29f06e44
Gemini: Fix image inlining for new models
...
#3332
2025-01-22 22:38:13 +02:00
Cohee
a2f71d387f
Merge pull request #3331 from qvink/emit_event_on_load_messages
...
adding event after loading more messages in chat
2025-01-22 18:21:26 +02:00
Cohee
8f18d35109
[chore] Add missing semi
2025-01-22 16:18:34 +00:00
qvink
f1923c5364
making showMoreMessages async to await event emission
2025-01-22 08:36:47 -07:00
Cohee
636c8cb165
Merge pull request #3332 from sirius422/add-new-gemini-model
...
Add new Gemini thinking model and its alias
2025-01-22 15:10:28 +02:00
Cohee
513ea97769
Merge pull request #3333 from kallewoof/202501-deepseek-fix
...
fix: corrects the preset name and adds deepseek v2.5 hash.
2025-01-22 15:08:00 +02:00
Karl-Johan Alm
93b18e6440
fix: corrects the preset name and adds deepseek v2.5 hash.
2025-01-22 21:36:18 +09:00
sirius422
11882827c7
Add new Gemini thinking model and its alias, specify context size and vision support
2025-01-22 18:37:43 +08:00
Cohee
9f1d431c99
Merge pull request #3327 from qvink/staging
...
exporting openGroupId from group-chats.js
2025-01-22 10:30:49 +02:00
Cohee
d45e9a0c30
Merge pull request #3329 from kallewoof/202501-deepseek-presets
...
add presets for DeepSeek R1 models
2025-01-22 10:28:27 +02:00
Karl-Johan Alm
2b00cdce7b
system same as user
2025-01-22 17:07:23 +09:00
Karl-Johan Alm
636e79c438
fixes
2025-01-22 16:03:32 +09:00
qvink
1641b1f91f
adding event after loading more messages in chat
2025-01-21 22:14:35 -07:00
Karl-Johan Alm
7877e6601d
add presets for DeepSeek R1 models
2025-01-22 13:13:41 +09:00
qvink
08b6ee0297
exporting openGroupId from group-chats.js
2025-01-21 16:50:01 -07:00
Cohee
d7bb92be54
deepseek reasoner
...
Closes #3322
2025-01-20 23:31:40 +02:00
Cohee
d87b925488
Bump package version
2025-01-18 23:34:03 +02:00
Cohee
5e396e2a91
Merge pull request #3317 from NodudeWasTaken/fix-empty-examples
...
Fix mes examples being undefined if empty
2025-01-18 23:31:32 +02:00