Commit Graph
4944 Commits
Author SHA1 Message Date
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
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