Commit Graph
1479 Commits
Author SHA1 Message Date
Cohee fb06e7afa1 Merge pull request #3403 from SillyTavern/support-multiple-expressions
Support multiple expressions
2025-02-22 20:13:43 +02:00
Cohee 3e26b93971 Do not register whitelist middleware if whitelist disabled 2025-02-22 14:14:40 +02:00
Cohee a2ecb81378 Move minLogLevel to logging section 2025-02-22 13:58:08 +02:00
KevinSun 42f850239f fix(middleware): skip logging for blocked connections to specific paths 2025-02-22 19:42:38 +08:00
Cohee 1adde74f38 Merge branch 'staging' into support-multiple-expressions 2025-02-21 21:06:20 +02:00
KevinSun f755c3d4cb refactor(middleware): rename accessLogger to accessLogWriter 2025-02-21 23:56:31 +08:00
KevinSun 9c3e8c935b refactor(Middleware): only mount accessLogger when listen is enabled 2025-02-21 23:49:15 +08:00
KevinSun bfc609c2a8 fix(middleware): skip New connection message and access.log writes for localhost 2025-02-21 22:17:12 +08:00
KevinSun db500188d8 feat(middleware): add separate access log middleware with config option 2025-02-21 20:32:23 +08:00
Cohee ab4d296b22 fix: return empty strings for branch name and commit hash in error response 2025-02-20 23:18:03 +02:00
Cohee 8ad7b5dcc5 Check if git repo root in plugin update 2025-02-20 23:13:23 +02:00
Cohee 00bb36f764 Fix setting basic auth creds with env 2025-02-20 22:38:47 +02:00
Cohee 73784642d2 Save setConfigValue export 2025-02-20 22:31:23 +02:00
Cohee 2b28065c9f Fix setting protocols with env 2025-02-20 22:28:30 +02:00
Cohee eb31d7baa2 Merge branch 'staging' into immutable-config 2025-02-20 21:54:41 +02:00
Cohee 3f03936125 Add config value type converters for numbers and booleans 2025-02-20 21:53:48 +02:00
KevinSun 3f5b63bba0 Feature: Add configurable X-Real-IP header support for rate limiting (#3504)
* fix: correct client IP detection behind reverse proxy

* Revert "fix: correct client IP detection behind reverse proxy"

This reverts commit 7207506240.

* feat: support X-Real-IP header for reverse proxy setups

* feat: add option to use x-real-ip for rate limiting behind reverse proxy

* docs: update rate limiting configuration comments for X-Real-IP usage

* refactor: extract getIpAddress function to reduce code duplication

* revert(whitelist): rate limit settings shouldn't affect whitelist
2025-02-20 21:11:44 +02:00
Cohee 7571552fef STORAGE_KEYS.cookieSecret deprecated 2025-02-20 20:45:20 +02:00
Cohee f6fe5fea77 Allow overriding config.yaml values with env vars
Closes #3520
2025-02-20 20:29:42 +02:00
Cohee 7ea2c5f8cf Move cookie secret to data root. Make config.yaml immutable 2025-02-20 20:16:44 +02:00
Wolfsblvt bd6da695c8 cleanup examples for multi sprites 2025-02-19 22:30:51 +01:00
Cohee 380bd4ef4b refactor: update runWebpackCompiler to accept options object 2025-02-19 22:03:43 +02:00
Cohee 1ef5154770 Merge branch 'staging' into webpack-cache-dataroot 2025-02-19 21:34:02 +02:00
Wolfsblvt c12f26441e Merge branch 'staging' into support-multiple-expressions 2025-02-19 20:22:02 +01:00
Cohee 441e5c6f7e Move webpack cache to data root 2025-02-17 23:41:59 +02:00
Cohee da3b620f74 Move access.log to data root 2025-02-17 22:58:06 +02:00
Cohee 058c86f3c1 Vectors: Don't use headers for source-specific fields in requests 2025-02-16 23:59:00 +02:00
Cohee 362470da18 Plugins: Add auto-update functionality (#3487)
* Plugins: Add auto-update functionality

* Check if directory is a git repo

* Display message if any plugins were loaded
2025-02-16 20:55:53 +02:00
Kristan Schlikow 050e65861c Set safety_tolerance for Flux on FAL 2025-02-16 16:40:10 +01:00
Cohee fd38ca503a Evict cache per user agent 2025-02-15 23:05:08 +02:00
Cohee bae02a44ed Add cache buster middleware to clear browser cache on server restart 2025-02-15 12:56:43 +02:00
Cohee d276d23310 Firefox: Clear cache on avatar upload 2025-02-14 23:20:33 +02:00
Cohee c47d997a2d Merge pull request #3475 from SillyTavern/ollama-batch
Ollama: Add num_batch config value
2025-02-14 12:34:13 +02:00
Kristan Schlikow 76becb43ae Pass through errors coming from FAL to the user 2025-02-13 21:43:08 +01:00
Kristan Schlikow 6e0ed8552f Add support for FAL.AI as image gen provider 2025-02-13 19:34:34 +01:00
Cohee dd7391caaf Ollama: Add num_batch config value 2025-02-13 20:17:33 +02:00
Cohee d1018a824c Merge branch 'staging' into hidden-reasoning-tracking 2025-02-11 23:45:13 +02:00
Cohee c3dd3e246e DeepSeek: Add tool calling for -chat model 2025-02-11 00:04:40 +02:00
Cohee d4e77280fc Gemini: don't send "thinkingConfig" to backend
As it does absolutely nothing
2025-02-09 19:03:31 +02:00
Cohee 0bf18e7413 Add debug result console logs for websearch APIs 2025-02-08 22:29:24 +02:00
Cohee 5e540f4f97 Websearch: add Serper API endpoint 2025-02-08 22:28:12 +02:00
sirius422 f32938981c fix: adjust safetySettings handling for legacy and experimental Gemini models
- gemini-1.5-flash-8b-exp-0827
- gemini-1.5-flash-8b-exp-0924
- gemini-pro
- gemini-1.0-pro
2025-02-07 16:35:44 +08:00
Cohee 1acee3d4c9 Gemini: Add sysprompt for gemini 2.0 pro/flash 2025-02-06 21:46:17 +02:00
sirius422 d35bd3b073 feat: update Gemini safety settings
- Set threshold to OFF for most models, except for HARM_CATEGORY_CIVIC_INTEGRITY.
- Handle specific cases for a few models.
2025-02-06 04:59:30 +08:00
sirius422 b074f9fa89 feat: update Gemini models
- Add new Gemini models (2025/02/05)
2025-02-06 04:50:54 +08:00
Cohee 363d8a4121 Merge branch 'staging' into ipv6_auto 2025-02-04 22:45:46 +02:00
Cohee dd2154c19b Refactor reasoning effort handling for OpenAI models in chat completions 2025-02-04 10:50:58 +02:00
Cohee dade4eafa5 Add reasoning_effort to Custom.
Update inline image quality style
2025-02-04 10:45:51 +02:00
Wolfsblvt d0ebac37c1 Make the backend actually send reasoning_effort 2025-02-03 23:58:01 +01:00
Cohee bfd57b66ef [wip] OpenRouter: Add model providers endpoint 2025-02-02 23:30:44 +02:00