Commit Graph

4283 Commits

Author SHA1 Message Date
Cohee
912bebeb01 Remove deprecated control property 2024-09-17 11:41:23 +00:00
Cohee
2f7d694f54 Migrate sysprompts from instruct 2024-09-17 11:33:24 +00:00
Cohee
b377a2b7d3 Decouple system prompts from instruct mode 2024-09-17 10:37:36 +00:00
Cohee
0b0bd27321
Merge pull request #2857 from SillyTavern/wi-delay-recursion-levels
WI "Delay until recursion" levels to delay delayed entries until other delayed entries are fully matched
2024-09-17 01:00:03 +03:00
Alexander Abushady
eb6097b1e8 Fixed Aphrodite Seed
Aphrodite's seed value needs to be undefined to be random.
2024-09-16 08:21:56 -04:00
Cohee
dcaa8d5e9c Initialize talkinghead on extras connection
Closes #2850
2024-09-16 09:17:23 +00:00
Cohee
9ef3385255
Implement collection scopes for vector models (#2846)
* Implement collection scopes for vector models

* Update makersuite-vectors.js to use Gemini API text-embedding-004 model

* Add model scope for Google vectors

* Fix purge log

* Refactor header setting

* Fix typo

* Only display UI warning if scopes disabled

* Remove i18n attribute

---------

Co-authored-by: ceruleandeep <83318388+ceruleandeep@users.noreply.github.com>
2024-09-16 09:29:39 +03:00
Wolfsblvt
c45e42ce7d Fix WI joiner/mather not being at the start 2024-09-16 05:18:37 +02:00
Cohee
7eb7204dc7 Remove link to Extras from welcome 2024-09-16 00:46:43 +03:00
Cohee
ca4d3c5ffe
Refactor instruct names behavior controls (#2837)
* Refactor instruct names behavior controls
Closes #2819

* Remove current persona from force names

* Don't add current user name in groups

* Revert to old text

* Add titles to names behavior

* Proper default for names_behavior
2024-09-16 00:46:03 +03:00
Cohee
08f2b73ab8
Preserve neutral chat on reloading with commands (#2848)
* Preserve neutral chat on reloading

* Restore neutral on deleting character with bulk
2024-09-16 00:38:41 +03:00
Wolfsblvt
984790f53c Fix eslint + reset level on toggle 2024-09-15 22:31:29 +02:00
Wolfsblvt
eeed072ebb Add UI element for delay recursion level
- Tied and only visible to the "delay until recursion" toggle
- Will set it to a numerical value if used, otherwise keeps true/false state of the toggle
2024-09-15 22:15:24 +02:00
Wolfsblvt
413f6a0379 Expand logging for WI and scan states 2024-09-15 20:28:03 +02:00
Cohee
cc2e82ce8f Fix execute on new chat not saving 2024-09-15 18:52:56 +03:00
Cohee
6393eda81e Auto-add OpenRouter captioning models 2024-09-15 18:38:44 +03:00
Cohee
44cc81fa73 Save models before emitting status change 2024-09-15 18:14:40 +03:00
Wolfsblvt
f0a3886b42 Reset scan state to recursion on more available 2024-09-15 17:02:48 +02:00
Wolfsblvt
609439def1 WI delay until recursion levels 2024-09-15 16:56:21 +02:00
Cohee
2478e17164 Remove legacy API for Aphrodite 2024-09-15 08:05:53 +03:00
Cohee
2b08d61c27
Merge pull request #2843 from steve02081504/patch-1
join chatlog with `\x01`
2024-09-14 21:51:36 +03:00
Cohee
f1f74217cc Move joiner into constant 2024-09-14 21:50:58 +03:00
Cohee
5b8c149947
Merge pull request #2841 from AlpinDale/aphrosamplers
chore: slight refactor of aphrodite samplers
2024-09-14 16:55:40 +03:00
Cohee
50de678980 Hide beam search for vllm. It never worked. 2024-09-14 16:53:21 +03:00
Cohee
f0d361bc7a Remove unused beam search 2024-09-14 16:41:22 +03:00
Cohee
28837ff883 Hard code include_stop_str_in_output 2024-09-14 16:32:50 +03:00
AlpinDale
1cc935796f fix early_stopping 2024-09-14 12:45:29 +00:00
AlpinDale
fde76069e0 remove beam search 2024-09-14 12:42:21 +00:00
AlpinDale
9c94348491 clean up 2024-09-14 12:38:19 +00:00
RossAscends
b376ea884b
Markdown hotkeys for textareas (#2800)
* initial commit

* dont hijack all ctrl keybinds

* change strikethrough bind, convert to subscribable class, target key textareas

* better early return, hotkey reversiblility

* possible undo solution, key checks to switch

* execCommand alternate, perfect Undo

* format full word when caret is in the middle of a word

* double backticks do nothing, dummy.

* ctrl+K for ....'K'ode snippet...

* remove console logs

* Add new hotkeys to help

* Allow hotkeys in message edit textarea

* add markdown hotkey help text

* help text addition to mention hotkeys work in message edits

* add markdown hotkeys to WI entry content box

* disengage if alt/win pressed, universal prevent default

* disengage if shiftKey pressed

* re-allow shift for one special case

* add MD hotkeys toggle in user settings

* add markdown enabled icon on relevant textareas when appropriate

* Add icon to help

* Uniform formatting

* Add opacity to icon

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-09-14 14:16:26 +03:00
steve green
96fe4c4ab6
join chatlog with \x01 2024-09-14 10:05:30 +08:00
Cohee
0ed39d19ec Fix TTS falsy checks 2024-09-13 21:51:05 +03:00
Cohee
01b83f893b Fix translation key removal 2024-09-13 21:48:35 +03:00
Cohee
a13d3f643c Fix shift+click in chat manager 2024-09-13 21:35:42 +03:00
Cohee
917a994ca8 Merge branch 'staging' into small-bookmark-updates 2024-09-13 21:10:12 +03:00
Cohee
eeee206887 Fix logit_bias comment 2024-09-13 21:03:04 +03:00
Cohee
db2b356942 Remove stop for o1 2024-09-13 20:47:41 +03:00
Wolfsblvt
6257f8b7f9 Fix /checkpoints-list with ids 2024-09-13 19:44:06 +02:00
Cohee
fefa6a0f5b Update old code style 2024-09-13 20:31:50 +03:00
Wolfsblvt
dc7bc30f4b Fix /checkpoint-create "mesId" argument 2024-09-13 19:29:54 +02:00
Cohee
084eebf610 Update /caption mesId argument name 2024-09-13 20:28:19 +03:00
Cohee
45cfc532b1 Redirect max_tokens to max_completion_tokens 2024-09-13 19:56:48 +03:00
Cohee
6d79cc015a Add OpenAI o1 2024-09-13 19:44:12 +03:00
Cohee
854541f4ba
Merge pull request #2838 from SillyTavern/genraw-error-logging
Improve error handling of /genraw and /gen
2024-09-13 14:23:16 +03:00
Cohee
8dd7a97eb3 Prevent duplicate toasts 2024-09-13 11:22:12 +00:00
Cohee
620847c4d6 Fixed logs 2024-09-13 11:12:41 +00:00
Cohee
88fab65a8f Fix /gen log 2024-09-13 11:01:59 +00:00
AlpinDale
efd477da04 chore: slight refactor of aphrodite samplers 2024-09-13 10:34:06 +00:00
Cohee
34b2707895 Try to preserve old hashes 2024-09-13 10:52:35 +03:00
Cohee
7a7673432a Calculate entry hash before replacing macros
Fixes #2762
2024-09-13 10:47:25 +03:00