6497 Commits

Author SHA1 Message Date
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
8e94589f83 Revert keepContextLock flag in setGenerationParamsFromPreset 2024-12-01 15:13:17 +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
56c99000c4 Split auto-switch toast 2024-11-30 18:21:15 +02:00
Cohee
4a7a11dfd5 Add JSdoc for function 2024-11-30 18:19:31 +02:00
Cohee
8e20ebb534 Run eslint 2024-11-30 18:14:46 +02:00
Cohee
04b68d2cce Move derive context size to TC settings 2024-11-30 18:08:12 +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
a444a782e2 Fix input outline on discreet login page 2024-11-29 13:32:53 +00: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
Cohee
8bfb695536 Adjust documentation links 2024-11-28 11:38:10 +00: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
Karl-Johan Alm
e02f57b7b0
respect context unlocked flag when auto-setting context size 2024-11-26 10:00:52 +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
4b306c5ef8 Fix title 2024-11-25 00:13:36 +02:00
Cohee
91437ad52f Fix counter link 2024-11-25 00:11:07 +02:00
Cohee
cec4519dcb Fix nsigma control id 2024-11-25 00:09:41 +02: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
626db7f8f2 Claude: remove dead models 2024-11-24 18:55:53 +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
41fdc1366d Unhide logit bias for custom OAI-compatible 2024-11-23 20:55:50 +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