Commit Graph

7324 Commits

Author SHA1 Message Date
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
Cohee 33e6ffd36e Update translations 2024-09-14 16:31:04 +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
Cohee bbb0391459 Update usage instructions in plugins.js 2024-09-14 13:06:34 +03:00
Cohee 6392ac7074 Set working directory to plugin path 2024-09-14 13:05:56 +03:00
Cohee 34a1b5586a
Merge pull request #2847 from ceruleandeep/staging
Update makersuite-vectors.js to use Gemini API text-embedding-004 model
2024-09-14 12:42:38 +03:00
ceruleandeep 4acd729611
Update makersuite-vectors.js to use Gemini API text-embedding-004 model 2024-09-14 19:01:48 +10:00
Cohee 88709e0541
Merge pull request #2728 from zhongerxll/patch-1
Update constants.js
2024-09-14 09:35:18 +03:00
steve green 96fe4c4ab6
join chatlog with `\x01` 2024-09-14 10:05:30 +08:00
Wolfsblvt 86b114b5e5 Merge branch 'release' into staging 2024-09-14 02:45:31 +02:00
Wolfsblvt b89bb6fee7 Update Horde link in readme 2024-09-14 02:44:01 +02:00
Cohee 0a05ef63c6
Merge pull request #2803 from SillyTavern/small-bookmark-updates
Update Checkpoints Feature (Expand tooltip and icons, add slash commands, refactoring)
2024-09-13 21:54:27 +03: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 5dd1d26350
Merge pull request #2842 from SillyTavern/o1
OpenAI O1
2024-09-13 21:05:00 +03:00
Cohee eeee206887 Fix logit_bias comment 2024-09-13 21:03:04 +03:00
Cohee d99a5eba2a Remove empty message looping 2024-09-13 20:52:34 +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 6371b4929f Fix HTML spacing 2024-09-13 19:47:53 +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 0aede54cf1 Fix throw on /gen 2024-09-13 11:10:24 +00:00
Cohee 88fab65a8f Fix /gen log 2024-09-13 11:01:59 +00:00
Cohee 11549ed737
Merge pull request #2840 from SillyTavern/wi-preserve-hash
Calculate entry hash before replacing macros
2024-09-13 13:51:31 +03: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
Wolfsblvt 73c14711e1 Fix checkpoint create auto generate (and more)
- Fix empty checkpoint name on mes click to auto generate
- Change /checkpoint-create to not require name and auto generate
- Fix popup input type returning empty string instead of null on empty input field
2024-09-12 23:34:37 +02:00
Wolfsblvt f5b68893d0 Improve error handling of /genraw and /gen
- /generate TC backend returns more status/error texts
- Fix /genraw and /gen returning null/undefined
- Logging errors on /genraw if backend throws an error
- Fixes #2836
2024-09-12 22:41:53 +02:00
Cohee d082c2f14d Merge branch 'staging' into small-bookmark-updates 2024-09-12 23:10:33 +03:00
Cohee 7c383e3218
Merge pull request #2834 from SillyTavern/replace-ajax
Replace ajax with fetch in character create/edit
2024-09-12 22:06:10 +03:00
Cohee ace3e94299 Merge branch 'staging' into replace-ajax 2024-09-12 20:48:08 +03:00
Cohee fc438d349a
Merge pull request #2828 from SillyTavern/request-proxy
Add support for outgoing request proxying
2024-09-12 20:47:15 +03:00
Cohee 8acacf9e0f Document cmd args in README 2024-09-12 20:35:30 +03:00
Cohee 2efb637863 Better option description 2024-09-12 20:30:52 +03:00