Commit Graph
4835 Commits
Author SHA1 Message Date
Cohee 2384031d09 Merge pull request #3121 from ceruleandeep/fix/handleIdForQRMenuAdd
Wire up id= parameter for /qr-context*
2024-11-29 14:27:57 +02:00
ceruleandeep 3a1a955164 Make QR context menu display options more consistent with QR bar
Use QR title as tooltip if set on the QR

Add qr--hidden class to "invisible" context items to allow hiding with CSS

Add title and isHidden props to MenuItem

Remove domIcon and domLabel props: not needed for ctx menu rendering; isForceExpanded: unimplemented
2024-11-29 17:44:51 +11:00
ceruleandeep e8004b5b56 Wire up id= parameter for /qr-context*
Parameter is in the named arguments but was not handled in the handler. Added `args.id !== undefined ? Number(args.id) : args.label` etc, as used elsewhere.
2024-11-29 11:52:57 +11:00
Karl-Johan Alm 8d67bdee84 Add Tulu templates 2024-11-27 11:58:12 +09:00
Cohee f730e2179b Merge branch 'staging' into claude-no-filler 2024-11-26 21:25:47 +02:00
Cohee a5b53b0e75 Merge pull request #3113 from AlpinDale/aphrodite-new-samplers
misc: add DRY, skew, and no repeat ngram penalty for aphrodite
2024-11-26 12:29:16 +02:00
AlpinDale e664806990 add DRY, skew, and no repeat ngram penalty 2024-11-25 22:28:58 +00:00
Cohee 0143ce199a Merge pull request #3111 from kallewoof/202411-avoid-missing-ct
Template derivation: explicitly skip empty templates
2024-11-25 12:49:32 +02:00
Karl-Johan Alm eec20dab95 template derivation: explicitly skip derivation attempt if chat_template is empty 2024-11-25 17:03:21 +09:00
Cohee fdd798e2da Merge branch 'staging' into top-nsigma 2024-11-25 00:08:38 +02:00
Cohee 9382845dee Claude: remove user filler from prompt converter 2024-11-24 19:05:41 +02:00
Cohee f3e4d82284 Clean-up zen sliders 2024-11-24 17:40:46 +02:00
Cohee 01fdd4206c Revert regex 2024-11-24 02:30:04 +02:00
Cohee df50fece6c Fix quota error async-ness 2024-11-24 01:48:08 +02:00
Cohee 70c45fb001 Merge branch 'staging' into fix/connRefusedErrMsg 2024-11-24 01:41:15 +02:00
Cohee f6d0f7587c Merge pull request #3102 from ceruleandeep/fix/sdInteractiveYour
Fix "send a photo of yourself" etc in SD interactive mode
2024-11-24 01:36:34 +02:00
Cohee fc84e61d94 Simplify regex 2024-11-24 01:34:06 +02:00
Cohee f648137ae2 Merge pull request #3105 from SillyTavern/regex-substitute-raw
Add 3-state find substitution select
2024-11-24 01:30:54 +02:00
Cohee 2b481dae2d Fix continue prefill newline prefix 2024-11-23 20:41:57 +02:00
Cohee da42d0a47a Add 3-state find substitution select
Fixes #3104
2024-11-23 19:39:02 +02:00
Cohee d281749d63 SD: Change onChatChanged to async 2024-11-23 18:16:04 +02:00
Cohee 5515f28105 Add /lower and /upper commands 2024-11-23 18:10:03 +02:00
Cohee bc6c598796 Await event emission 2024-11-23 17:58:02 +02:00
Cohee 3c2e802547 Validate instruct/context existance 2024-11-23 17:44:23 +02:00
Cohee c8e6ba4d7f Add template hash for gemma-2-2b 2024-11-23 17:38:12 +02:00
Cohee b9cc763d51 Fix typo in file name 2024-11-23 17:30:50 +02:00
Cohee eccd1ab381 Exclude 'derived' from instruct templates 2024-11-23 16:06:10 +02:00
Cohee 876da6899d Merge branch 'staging' into 202411-auto-templates 2024-11-23 15:47:11 +02:00
Cohee 7cd68d827b Merge pull request #3098 from tincansimagine/for18n
feat: Improve Korean data-i18n
2024-11-23 15:45:55 +02:00
Cohee c5bd43405c Alias /note-pos command to match /inject 2024-11-23 15:34:08 +02:00
Finadil 446146674c Add STscript returns, role changing, and aliases
Adds the following STscript changes:
-Returns to all commands and makes arguments optional
-before_scenario option for chat insertion position (to match UI)
-/note-role to change the chat insertion role
-/note- Aliases to all commands so they're centralized
2024-11-23 06:49:30 -05:00
ceruleandeep c39db9f3f0 Linting 2024-11-23 16:05:07 +11:00
ceruleandeep ce3fb2e941 Only remove whole word arts/dets in SD interactive prompts
When matching FACE assume that the determiner has been removed

Test cases:
- send a photo of yourself
- send a pic of your car
- send a photo of your selfie
- draw a picture of antelopes
- render an image of Thebes
- send a drawing of Skeletor's face
2024-11-23 16:01:12 +11:00
Cohee 90ee0398f2 Merge pull request #3100 from tincansimagine/new-model-pr
feat: Add multiple delayed model updates
2024-11-22 19:56:32 +02:00
Cohee ecbf9df79a Update context sizes for new Cohere models 2024-11-22 17:54:03 +00:00
Cohee 85ca08a2ea Settings for new gemini 2024-11-22 17:50:33 +00:00
Cohee 1938e8ac14 Remove to-int conversion from Novel logprobs 2024-11-22 17:46:20 +00:00
ceruleandeep 8de551fc94 Return 502 with error description when connection to remote CC API fails
If chat-completions/generate returns an error, throw the error message

Reformat display of exceptions during SD prompt text generation
2024-11-22 11:55:27 +11:00
ceruleandeep 0383ea52e9 Linting and commenting
Linting and commenting

Linting and commenting

Linting and commenting

Linting and commenting
2024-11-22 11:55:27 +11:00
tincansimagine 9a15f45a2c feat: Improve Korean data-18n 2024-11-22 08:08:05 +09:00
ceruleandeep 669ba2fd36 Unrelated linting 2024-11-21 21:24:16 +11:00
Karl-Johan Alm 3789381c6c added substr derivations with one example 2024-11-21 13:14:33 +09:00
Karl-Johan Alm c30dde8471 rename /chat_template to /props, and switch to non-trimmed hashes 2024-11-21 11:38:57 +09:00
Karl-Johan Alm 50ffaeb06a UI: add UI to enable/disable auto-derived templates 2024-11-20 13:28:17 +09:00
AlpinDale ec4cff72fe feat: add top nsigma sampler support 2024-11-19 23:05:23 +00:00
Cohee 99220d6a88 Groups: add 'manual' reply strategy 2024-11-19 20:48:43 +02:00
Karl-Johan Alm feb1b91619 template derivation: add support for llama.cpp server backend 2024-11-19 23:38:38 +09:00
Karl-Johan Alm f25ea9f6d6 template derivation: move hash part to backend 2024-11-19 20:09:29 +09:00
Karl-Johan Alm 0e2fdf37a8 feature: derived templates
This PR adds a simple hash based method for picking context and instruct templates based on the chat template, when provided by the back end.
2024-11-19 17:27:25 +09:00
Cohee 67869364a5 ImageGen: add BFL API for image generation 2024-11-19 00:30:28 +02:00