Commit Graph

1598 Commits

Author SHA1 Message Date
50a0f41736 Sync mes to swipe on stream finished 2025-03-08 22:29:18 +02:00
0423cb7ad3 Do not apply instruct formatting if on CC 2025-03-07 22:53:30 +02:00
95e0be7e9e MesExamples: Make macros consistent with story string
mesExamples in the story string is formatted while mesExamplesRaw
is unformatted. However mesExamples when used as a normal macro
is unformatted. This causes an inconsistency in usage which is now
corrected.

Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
2025-03-07 13:03:44 -05: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
8161690ce6 Merge branch 'staging' into char-shallow 2025-03-06 20:55:22 +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
3d813e4ef6 Move shallow toggle to config.yaml 2025-03-04 23:32:42 +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
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
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
7522fa2e79 Revert "Account for generated depth on non-continue" 2025-03-02 00:55:52 +02:00
0bedb6e0ff Autoformat 2025-03-01 05:49:18 -08:00
ccd6a1631a Account for generated depth on non-continue 2025-03-01 05:48:11 -08:00
639c0235f9 Handle 'object' case as indexOf 2025-02-28 23:37:35 +02:00
284bac9b49 Add type of this_chid 2025-02-28 22:51:34 +02:00
b3eb6e071f Merge branch 'staging' into chid-unify-type 2025-02-28 22:04:14 +02:00
4f224550f6 Hide "persona connections" in create form 2025-02-28 21:26:16 +02:00
12335f4860 Improve type handling 2025-02-28 13:46:16 +00:00
b2ce76c84c Return to using string type for this_chid 2025-02-28 13:37:36 +00:00
83e75439ab Fix duplication and scenario override for first in the list 2025-02-28 10:21:33 +02:00
f33464527b Fix deletion of the first char in the list 2025-02-28 10:18:57 +02:00
2df140a6a9 Fix world info binding and alt.greetings editor for first char in the list
Possibly fixes #3579
2025-02-28 10:16:42 +02:00
d613e1ee77 Remove group chat starter message 2025-02-27 13:29:21 +00:00
eab4e8aebc Renamed to CHARACTER_RENAMED_IN_PAST_CHAT 2025-02-26 09:38:25 +01:00
22d551be3a bonus: jsdoc and modern popup for rename 2025-02-26 01:44:45 +01:00
4e1cb1eba4 Add RENAMED_PAST_CHAT event 2025-02-26 01:28:28 +01:00
582b710d3c Merge branch 'staging' into persona-improvements 2025-02-25 21:46:46 +01:00
422517ec93 Cancel debounced chat save if regular save is performed 2025-02-25 21:38:24 +02:00
5545a425ea No double check 2025-02-25 21:34:04 +02:00
7def85a174 Add couple of extra type checks 2025-02-25 21:21:59 +02:00
4ab54016ad Utility func to sync all mes data to swipe 2025-02-25 17:00:41 +01:00
5f024823a9 Improve JSdocs 2025-02-25 10:22:03 +00:00
092ef26144 Exported getTextGenServer, extractMessageFromData, getPresetManager methods. Added optional parameters to some methods for generic usage. 2025-02-25 13:20:06 +03:00
b8ebed0f4c Claude 3.7 think mode 2025-02-24 23:43:13 +02:00
2194bdfd56 Rerender the list if migrated persona 2025-02-22 22:20:45 +02:00
bb03c60c39 Refactor: move showCharConnections 2025-02-22 21:17:56 +01:00
8bd4fd76ae Merge branch 'staging' into persona-improvements 2025-02-22 19:23:59 +01:00
aadae85a2a eventSource: Add autofire on emit for APP_READY 2025-02-21 02:52:45 +02:00
434bdab585 Merge branch 'staging' into fix-char-rename-aux-connections 2025-02-17 20:57:23 +02:00
ce67f3a658 Ensure node is an Element in DOMPurify hook 2025-02-17 20:54:11 +02:00
36a3a7d615 Merge pull request #3486 from Yokayo/staging
Update ru-ru translation
2025-02-17 20:45:40 +02:00
231068f729 await character renamed event 2025-02-17 09:47:35 +01:00