Commit Graph

1586 Commits

Author SHA1 Message Date
17d2771a75 time_to_first_token moved to extras 2025-03-05 14:42:29 +03:00
73d4922d70 Iinitial value from -1 to null, better calculation 2025-03-04 13:46:57 +03: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
7b65427236 typo 2025-02-17 09:19:08 +01:00
9f21f7771c Auto-load char/group resets if target is not found 2025-02-17 07:28:59 +01:00
1c0ca414b9 Update "active character" field on char rename 2025-02-17 05:34:28 +01:00
4f0921856f On char rename, update auxiliary connections
- Move WI char lore (additional lorebooks) based on rename
- Move character-bound Author's Note based on rename
- Extend core `getCharFilename` to be able to take an avatarKey, instead of just uid
2025-02-17 05:32:13 +01:00
1156b648eb Merge branch 'staging' into reasoning-parsing-streaming 2025-02-16 23:12:41 +02:00
890d10d811 Work on tl 2025-02-16 18:43:57 +07:00
9590127bae Handle auto parsing reasoning during streaming
- Add function to handle auto parsing reasoning from the streamed message during streaming
- Only works when the reasoning prefix is EXACTLY at the beginning of the message
- Tried to keep this lightweight, no regex parsing, remembering the index, so it's simple string splicing
- Add utility function that trims a string only if `trim_spaces` is enabled
2025-02-16 03:09:20 +01:00
eb6a158781 Fix resetting reasoning duration correctly 2025-02-16 02:09:33 +01:00
34db46d84b Merge branch 'staging' into hidden-reasoning-tracking 2025-02-12 20:00:52 +02:00
5085f6cdc9 Refactor AccountStorage to use private fields for state management 2025-02-12 10:58:36 +02:00
798f8d92a3 Update saveSettings function to schedule another save when settings are not ready 2025-02-12 10:43:19 +02:00
d4061cc139 Merge branch 'staging' into bogus-localstorage 2025-02-12 10:38:54 +02:00