Commit Graph

1212 Commits

Author SHA1 Message Date
3282c9426c Upload expressions update 2025-01-27 05:39:51 +01:00
5c34c93a84 Merge branch 'staging' into support-multiple-expressions 2025-01-26 23:11:37 +01:00
999da4945a Fix error log 2025-01-26 20:29:04 +02:00
65e32f720d Use default avatar if imported image is corrupted 2025-01-26 19:58:37 +02:00
a42337ad0a Use 'localhost' as a fallback for hostname 2025-01-26 16:50:59 +02:00
30426d21e7 Merge branch 'staging' into woo-yeah 2025-01-26 01:57:36 +02:00
9aac5a22f1 Defer middleware HTML file reads 2025-01-26 01:46:30 +02:00
96143177ce Fix logit bias for DeepSeek on OpenRouter 2025-01-26 01:42:08 +02:00
c9a1a3eb94 Merge pull request #3351 from SillyTavern/csrf-sync
Replace CSRF middleware
2025-01-25 23:23:43 +02:00
44ad69ceca Merge pull request #3342 from Spappz/staging
Allow customisation of the 403 page
2025-01-25 23:00:23 +02:00
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
5ff402aabf Replace CSRF middleware
Closes #3349
2025-01-25 16:56:11 +02:00
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
928487985d defer 403 HTML to file 2025-01-25 03:38:52 +00:00
9a2968d1eb Merge branch 'staging' into woo-yeah 2025-01-24 23:50:15 +02:00
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
075368b5ae Ensure Handlebars template is only compiled once 2025-01-24 19:56:19 +00:00
90459116e3 woohoo 2025-01-24 03:39:05 +00:00
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
03c98fb55a OpenRouter: Support reasoning blocks 2025-01-24 00:56:44 +02:00
7f9b139ae0 Merge branch 'staging' into woo-yeah 2025-01-24 00:13:06 +02:00
823b9db6f6 Gemini: Fix requesting thought blocks 2025-01-23 22:41:39 +02:00
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
afae8d02be The THONKening 2025-01-23 02:52:52 +02:00
11882827c7 Add new Gemini thinking model and its alias, specify context size and vision support 2025-01-22 18:37:43 +08:00
d7bb92be54 deepseek reasoner
Closes #3322
2025-01-20 23:31:40 +02:00
4d18ddba6d config.yaml: Group extension settings into one section 2025-01-17 20:18:27 +02:00
0441a8725f WebSearch: Add KoboldCpp search endpoint. 2025-01-15 21:58:49 +02:00
ac455ebb45 Add RisuAI chats JSON import 2025-01-15 21:15:25 +02:00
1f9fa74786 Rewritten minLogLevel feature 2025-01-15 10:02:32 -05:00
f372e1a69d more jsdoc stuff 2025-01-09 19:09:55 -08:00
b43ac187ec formatting changes 2025-01-09 18:27:21 -08:00
adc5940d15 formatting changes 2025-01-09 18:17:02 -08:00
126e4fa698 Display additional images in expression list
- Update Expressions List to display additional images per expression
- Make additional images appear visually distinct
- Fix small issues with custom labels not always being shown
- Add tooltip on all expression images
- Modify /api/sprites/get endpoint to correctly parse the label from filenames that might be additional files
2025-01-08 01:20:25 +01:00
49fb2f4d79 Declare compiler in the inner scope #3272 2025-01-07 20:24:57 +02:00
5af7852465 Null Webpack compiler after run
Fixes #3272
2025-01-07 19:54:31 +02:00
b66c4d7206 Merge branch 'staging' into geminifeat2 2025-01-06 19:20:58 +02:00
9062b6bc4d Whitespace clean-up 2025-01-06 19:20:04 +02:00
0f03dcfc0f Merge pull request #3269 from fizzAI/patch-1
Change Gemini system instruction parameter key to `systemInstruction`
2025-01-06 19:19:03 +02:00
2103e6238c Fix: Apply OFF safety settings for gemini-2.0-flash-exp model 2025-01-07 02:17:09 +09:00
b6e7f4f493 Change Gemini system instruction parameter key to systemInstruction
Refer to https://github.com/googleapis/python-genai/blob/main/google/genai/models.py#L772, it seems like both work(?) but this is probably the more correct option if the newer library is using it
2025-01-06 11:44:11 -05:00
9db9c5c9ca Reorganize backup configs 2025-01-05 16:03:52 +02:00
8623d1198d Add thumbnail dimensions to config (#3262)
* Add thumbnail dimensions to config

* Fix default value for thumbnails.enabled

* Update comment for thumbnail recreation instructions in config.yaml

* Lint config values

* Verify config size > 0

* More config lint
2025-01-05 00:38:50 +02:00
0e3ff1699a Merge pull request #3226 from BPplays/ipv6_auto
Automatically detect what IP versions are available and use them
2025-01-04 16:22:53 +02:00
590e52442c Fix /api/secrets/find return on 404 2025-01-03 12:48:24 +00:00
dd273a7727 Docker build: Pre-compile public libraries 2025-01-03 12:30:55 +00:00
97f6dcace0 Fix types for extractFileFromZipBuffer 2025-01-03 00:16:14 +02:00
612fda4cfc Merge branch 'release' into staging 2025-01-02 00:41:05 +02:00
beb4328714 Revert using url-join for SD WebUI paths 2025-01-02 00:40:56 +02:00
5db7a9cf1e Fix fetch buffer deprecation warnings 2025-01-01 22:18:23 +02:00