Commit Graph

9726 Commits

Author SHA1 Message Date
7de516e5e7 Merge pull request #3621 from Sorro123/staging
Add gemini tools support.
2025-03-07 00:23:17 +02: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
bcb2096020 Merge pull request #3625 from SillyTavern/gemini-search
Add backend-provided websearch connectors for OpenRouter and Gemini
2025-03-07 00:18:15 +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
50f1e3f0f2 Added translation to reasoning block (#3617)
* Added translate to reasoning block

* Added mising reset value

* Shortcut nullable type

* Added reasoning edited/deleted events, better naming

* Fixed async call

* Added await to saveChat calls

* Exported updateReasoningUI

* Removed translated reasoning on edit if auto mode is none

* Added new value check before updating reasoning block, fixed an issue that display value stays same when we edit the message.

* Translate reasoning before the main message

* Fixed auto mode translate for reasoning message

* Translate reasoning first. Prevent out of bounds access

* Fix translating reasoning on swipe generation

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-06 21:30:17 +02:00
4d81dfb085 Merge pull request #3614 from SillyTavern/char-shallow
Lazy load characters
2025-03-06 20:57:24 +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
35b72cc6e6 Merge pull request #3624 from SillyTavern/server-events
Add server events emitter
2025-03-06 19:21:36 +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
c36607be6f Merge pull request #3610 from bmen25124/time_to_first_token
Added time to first token
2025-03-05 21:55:36 +02: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
a09b9fa746 Added Aya Vision support (#3615) 2025-03-05 21:17:33 +02:00
fb5f3e0f97 Changed param order, saved a tree 2025-03-05 18:39:19 +03:00
3cb24507a7 Shortcut nullable type 2025-03-05 17:53:44 +03:00
5398684ea2 Token rate round from 1 to 3 2025-03-05 17:28:15 +03:00
d3263b0e0f Removed rounding from time to first token display 2025-03-05 17:16:53 +03:00
06beaccdae Formatting 2025-03-05 14:44:07 +03:00
17d2771a75 time_to_first_token moved to extras 2025-03-05 14:42:29 +03:00
858b750346 Document the magic number for future generations 2025-03-05 09:26:16 +00:00
f1b50caf1a Move types/bytes to devDependencies 2025-03-05 09:09:33 +00:00
782d866fcf Added Aya Vision support 2025-03-05 13:39:16 +09:00
49db89fef0 package.json: Fix debug script 2025-03-05 00:57:57 +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
13cfe1650f Add bytes parser lib 2025-03-05 00:40:20 +02:00
5d69189f8f Hard limit hotswaps to 25 entries 2025-03-04 23:49:32 +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
73d4922d70 Iinitial value from -1 to null, better calculation 2025-03-04 13:46:57 +03:00
383806325a Add shallow character load mode 2025-03-04 10:00:12 +00:00
70f762c006 Merge pull request #3609 from bmen25124/error_field_check_custom_request
Added error field check
2025-03-04 08:51:55 +02:00
bdbddd4ed3 Added time to first token for swipe 2025-03-04 05:50:02 +03:00
d14b5e51a9 Added time to first token 2025-03-04 05:19:38 +03:00
28fc498ee6 Added error field check 2025-03-04 03:39:00 +03:00
5d255d758e Merge pull request #3606 from SillyTavern/reasoning-continue-fix
Fix continue duplicating reasoning block
2025-03-04 00:56:07 +02:00
7be6e0d5af Fix continue duplicating reasoning block 2025-03-04 00:42:50 +02:00
7d568dd4e0 Generic generate methods (#3566)
* sendOpenAIRequest/getTextGenGenerationData methods are improved, now it can use custom API, instead of active ones

* Added missing model param

* Removed unnecessary variable

* active_oai_settings -> settings

* settings -> textgenerationwebui_settings

* Better presetToSettings names, simpler settings name in getTextGenGenerationData,

* Removed unused jailbreak_system

* Reverted most core changes, new custom-request.js file

* Forced stream to false, removed duplicate method, exported settingsToUpdate

* Rewrite typedefs to define props one by one

* Added extractData param for simplicity

* Fixed typehints

* Fixed typehints (again)

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-03-03 10:30:20 +02:00
0088333ebf WI: Fix adding empty text to recursion buffer 2025-03-03 00:05:35 +02:00
c9ebea1d0a Merge pull request #3590 from SillyTavern/update-libs
Update third-party dependencies
2025-03-02 23:35:56 +02:00
59ee2e1302 Merge pull request #3596 from Tosd0/staging
zh-CN translation
2025-03-02 23:30:15 +02:00
074f54d995 Unhide nsigma for kobocpp 2025-03-02 23:04:18 +02:00