4857 Commits

Author SHA1 Message Date
Cohee
79700fd983 Add Kobold Lite chats import 2024-12-04 00:44:50 +02:00
Cohee
8de1d26eaa NanoGPT: Unhide sampling parameters 2024-12-04 00:00:08 +02:00
Cohee
69da293fb9 Show used preset in itemization dialog 2024-12-03 23:27:39 +02:00
Cohee
7ce2841588 Add trim_stop to koboldcpp requests
Fixes #3143
2024-12-03 14:49:20 +00:00
Cohee
b08cdffc64 Add {{lastGenerationType}} macro 2024-12-02 01:39:57 +02:00
Cohee
39c3924b3f
Merge pull request #3112 from kallewoof/202411-backend-maxctx
feature: allow auto-use of max context size given by backend
2024-12-01 15:15:15 +02:00
Cohee
66a862f797 Lint the use of data-i18n attributes 2024-12-01 15:10:22 +02:00
Cohee
c930a66d81 Merge branch 'staging' into 202411-backend-maxctx 2024-12-01 14:39:01 +02:00
Cohee
c3c16ea0d6
Merge pull request #3106 from joenunezb/optimize/improve-search
perf(search): improve fuzzy character search performance by ~13x (4.5s → 350ms)
2024-11-30 17:50:40 +02:00
ceruleandeep
2f7bc7ca8d Filter out hidden items in context menus
Add CSS to apply label show/hide settings to QRs in context menus

Add provision for QR set applied to one of its own buttons as "burger" menu
2024-11-30 00:46:04 +11:00
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
Joe
f4ef9697e9 Account for optional cache and remove timing code 2024-11-26 20:07:30 -08:00
Joe
309157dd89 Remove unnecesary key only clearing for cache clearing 2024-11-26 19:52:21 -08:00
Joe
1395c0b8c6 Encapsulate logic into filters instead of spreading around 2024-11-26 19:47:09 -08:00
Karl-Johan Alm
8d67bdee84
Add Tulu templates 2024-11-27 11:58:12 +09:00
Joe
78c55558af Merge branch 'staging' of https://github.com/joenunezb/SillyTavern into optimize/improve-search 2024-11-26 18:00:28 -08: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
Karl-Johan Alm
faf80d1b62
UI: move the derived context size flag into connection pane 2024-11-26 10:36:40 +09:00
AlpinDale
e664806990 add DRY, skew, and no repeat ngram penalty 2024-11-25 22:28:58 +00:00
Karl-Johan Alm
4988f22e94
feature: allow auto-use of max context size given by backend 2024-11-25 23:08:11 +09: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
Joe
e56faaaed5 Remove hash function 2024-11-24 14:55:22 -08:00
Joe
e1d6a47048 Remove key hashing and explicitly clear the cache after printing characters 2024-11-24 14:54:12 -08: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
Joe
d1cac298c6 Coment out log statements 2024-11-23 22:51:48 -08:00
Joe
e2c083ba31 Remove duplicated code 2024-11-23 22:34:56 -08:00
Joe
2661881bc4 Handle stale cache 2024-11-23 22:13:20 -08:00
Joe
eb29f03ab0 Sped up character search by 93% 2024-11-23 20:48:36 -08: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