Commit Graph

1212 Commits

Author SHA1 Message Date
d3e62fe56c Fix lint 2025-03-19 19:31:09 +02:00
a3c57fb05f Correct the chat search comment. 2025-03-19 20:27:35 +03:00
bbdd98a155 Prepend title to chat messages array before concatenating the string. 2025-03-19 19:40:28 +03:00
d48ebdb0d4 Join searched messages by linebreak to avoid searching for implicit whitespace. 2025-03-19 18:38:05 +03:00
35fa634f1d Chat titles are now included in the search. Query terms don't have to occur in the same message anymore. 2025-03-19 06:13:54 +03:00
1122c675e5 Merge pull request #3715 from GhostXia/staging
change 01ai endpoint
2025-03-18 19:02:04 +02:00
eb52872b13 change 01ai endpoint 2025-03-18 17:19:22 +08:00
c92ca8dbfb Merge branch 'staging' into integrity 2025-03-18 01:51:07 +02:00
fa641e9946 Handle empty files in readFirstLine 2025-03-16 22:16:53 +02:00
5145e30be3 Don't bail early if empty token provided from UI 2025-03-16 21:45:07 +02:00
5ab284f1f5 Merge branch 'staging' into integrity 2025-03-16 21:28:37 +02:00
62342b35e2 Reasoning template 2025-03-16 15:01:31 +02:00
fff1dd59c3 minor 4.5 detection tweak 2025-03-15 19:27:42 -05:00
400d29e97e Add chat integrity check to saveChat 2025-03-16 02:24:20 +02:00
0c7d5c76e2 gemini-2.0-flash-exp-image-generation 2025-03-15 14:58:06 +02:00
f607c3bc0d Gemma 3 (#3686)
* Gemma 3

* Adjust safetySettings

* Disable sysprompt

* Add isGemma check to tool processing logic

* Disable a google search tool for gemma
2025-03-14 21:41:28 +02:00
0017358f8b Gemini inline images (#3681)
* Gemini images for non-streaming

* Parse images on stream

* Add toggle for image request

* Add extraction params to extractImageFromData

* Add explicit break and return

* Add more JSdoc to processImageAttachment

* Add file name prefix

* Add object argument for saveReply

* Add defaults to saveReply params

* Use type for saveReply result

* Change type check in saveReply backward compat
2025-03-14 20:15:04 +02:00
a77f4045f8 Added command-a-03-2025 and command-a tokenizer 2025-03-13 21:16:08 +03:00
67d013e40a Use default middleware for parsing request body 2025-03-10 00:48:58 +02:00
b52b11d7bb Force settings content check on user creation
Closes #3641
2025-03-09 00:56:23 +02:00
1cb9287684 Vectors WebLLM (#3631)
* Add WebLLM support for vectorization

* Load models when WebLLM extension installed

* Consistency updated

* Move checkWebLlm to initEngine

* Refactor vector request handling to use getAdditionalArgs

* Add error handling for unsupported WebLLM extension

* Add prefix to error causes
2025-03-09 00:51:44 +02:00
7e3946c152 Add tools parameter to AI21 request 2025-03-08 22:26:32 +02:00
edabd1128b Add tags in toShallow
Closes #3638
2025-03-08 22:04:49 +02:00
ff5835278b Add Jamba 1.6 models
Closes #3633
2025-03-08 15:16:49 +02:00
1a52314812 MistalAI: Add custom stop strings
Closes #3627
2025-03-07 11:29:14 +00:00
381956652b Remove tools assignment 2025-03-07 00:22:45 +02:00
7fd0f3e2bf Merge branch 'staging' into geminiStructured 2025-03-07 00:22:18 +02:00
fa699956e6 Fix functionResponse part merging 2025-03-07 00:09:11 +02:00
c9277cec28 Gemini: Add tool calling 2025-03-06 23:52:35 +02:00
e9cf606c70 Add backend-provided websearch connectors for OpenRouter and Gemini 2025-03-06 22:23:35 +02:00
8161690ce6 Merge branch 'staging' into char-shallow 2025-03-06 20:55:22 +02:00
02a8c8c460 Fix server crash if request was aborted during out of quota retry 2025-03-06 20:54:10 +02:00
8565df13e4 Merge pull request #3618 from annoawesome/electron
Add support for Electron
2025-03-06 19:43:06 +02:00
6b821409e0 Add server events emitter 2025-03-06 14:55:50 +00:00
fc94ed64c1 Same changes but on staging 2025-03-06 01:22:45 +01:00
3b9fcfae60 Console log Ollama model pulls 2025-03-05 21:42:56 +02:00
2d2bf48d3d Make Groq happier 2025-03-05 21:38:38 +02:00
c167890d26 Add multimodal captioning for Cohere 2025-03-05 21:36:43 +02:00
507ce78c27 Fix crash on undefined url in /chats 2025-03-05 00:51:54 +02:00
28bad6479c Use human-readable memory cache capacity in config 2025-03-05 00:45:34 +02:00
c48ecc67b2 Merge branch 'staging' into char-shallow 2025-03-04 23:32:47 +02:00
3d813e4ef6 Move shallow toggle to config.yaml 2025-03-04 23:32:42 +02:00
8d608bcd72 Add gallery folder and sort order controls (#3605)
* Add gallery folder and sort order controls
Closes #3601

* Refactor sort constants to use Object.freeze for immutability

* Add comment

* Remove excessive null propagation

* Update type hint for gallery.folders

* Use defaultSettings.sort as a fallback

* Throw in groups

* Handle rename/deletion events

* Merge init functions

* Fix multiple gallery file uplods

* Add min-height for gallery element

* Fix gallery endpoint not parsing body

* translatable toasts

* Pass folder path in request body

* Change restore pictogram

* Add title to gallery thumbnail images

* Allow optional folder parameter in image list endpoint and handle deprecated usage warning

* Add validation for folder parameter in image list endpoint

* Add border to gallery sort selection

* Remove override if default folder is set to input

* Use server-side path sanitation

* Sanitize gallery folder input before updating

---------

Co-authored-by: Wolfsblvt <wolfsblvt@gmail.com>
2025-03-04 23:16:56 +02:00
383806325a Add shallow character load mode 2025-03-04 10:00:12 +00:00
c9ebea1d0a Merge pull request #3590 from SillyTavern/update-libs
Update third-party dependencies
2025-03-02 23:35:56 +02:00
4c242fefe8 More concise startup logs 2025-03-01 21:07:12 +02:00
947a307b25 Update function comment 2025-03-01 20:25:55 +02:00
61132dd7b9 Set default for whitelistDockerHosts to true 2025-03-01 20:25:00 +02:00
1d995fb92d Rewrite to only consider Docker 2025-03-01 20:22:33 +02:00
8aa7ed8635 Rewrite whitelist resolve logic to skip unresolved hosts from whitelist 2025-03-01 19:57:36 +02:00