Commit Graph
1280 Commits
Author SHA1 Message Date
BlipRanger bdc4d213dd Remove reliance on settings dict 2023-07-09 13:38:09 -04:00
50h100a 497ca714a9 Tweak chroma memory retrieval so one big memory doesn't shut out smaller memories that might fit.
Fixed some log lines.
2023-07-09 04:31:34 -04:00
Cohee 0c7c9cad16 Merge pull request #671 from bdashore3/dev
Regex: Make MD formatting granular
2023-07-08 21:14:14 +03:00
kingbri 3c3eed0996 Regex: Change how MD formatting works
Previously, there was a checkbox to select placement as MD display.
This was counterintuitive since some users believed MD display
enclosed the other placement options.

Now, add a universal switch to finely tune what parts of a chat should
be excluded with MD formatting. For example a regex with the option
enabled with AI output selected will only format replies from the
character.

This is an improvement since users can now choose what parts of a
chat to format rather than sticking with a global display specifier.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-08 14:10:15 -04:00
Cohee 474a9cb99e Add parameter randomizer plugin 2023-07-08 20:24:15 +03:00
Cohee 68551ae15c Merge pull request #663 from vbdev537/dev
Add new Replacement Macro
2023-07-08 12:22:49 +03:00
50h100a 5983e50d21 Query from *in context* messages, not every single message since the dawn of time... 2023-07-07 19:43:27 -04:00
50h100a cd7df3e0e7 Correct oversight from tidying names for PR... 2023-07-07 19:04:59 -04:00
vbd537 1852279723 Add new Replacement Macro
Through the impersonate function it is possible for the AI to create a text as if it were in the place of the user's character, but the text is randomly generated without the user being able to suggest what he wants to be created. By including this new macro, the user will be able to guide the impersonate generation.
2023-07-07 18:10:27 -03:00
Cohee 00e7d3c270 Merge branch 'main' into dev 2023-07-07 23:50:10 +03:00
Blueprint Coding 6a3282cbc4 Update silerotts.js - Fixed Caching issue in some browsers
Added this line to disable caching of file so new files are always played instead of browser cached versions.
2023-07-07 13:44:01 -06:00
Cohee 078947b73e Merge pull request #661 from 50h100a/color-coded-extension-states
Extension Manager visual update
2023-07-07 22:34:33 +03:00
50h100a fe0d315bcb Added unicode icons for colorblind users 2023-07-07 14:50:57 -04:00
50h100a fca365de6c Removed parenthetical from "Author's Note".
Didn't seem to be accurate any more, anyway?
2023-07-07 14:42:13 -04:00
50h100a d6412d7b42 Compressed extension manager popup.
Color-coded extension status.
Indentations!
2023-07-07 14:41:38 -04:00
50h100a f3d8f4a7da Merge branch 'dev' of https://github.com/SillyTavern/SillyTavern into smartcontext-improvements 2023-07-07 13:03:00 -04:00
Cohee 57ee954ad5 Animate VN mode expression changes 2023-07-07 19:09:53 +03:00
RossAscends 0d5cdcd0b1 HR betwn WI Entries; fading for solo sprites 2023-07-07 23:12:31 +09:00
Cohee bd74ea12ea Reformat plugin code 2023-07-07 12:37:07 +03:00
Cohee 3162cf0e29 Merge pull request #653 from BlipRanger/feature/chroma-wi
Chroma Newline Chunking Option
2023-07-07 12:35:48 +03:00
Cohee 1bd9b8c1bf Fix variable usage 2023-07-07 12:34:28 +03:00
50h100a e5e275a827 'Smart Context' updates and fixes.
Added alternative strategy.
Logic fix to reliably load memories.
Option to query using entire current chatlog.
2023-07-07 03:22:27 -04:00
Cohee cc98a0bd01 Merge pull request #639 from phiharri/confirm_delete 2023-07-07 09:08:51 +03:00
BlipRanger f854609512 Option to split on newlines 2023-07-07 00:23:28 -04:00
BlipRanger e595f83590 Merge branch 'dev' of https://github.com/BlipRanger/SillyTavern into feature/chroma-wi 2023-07-06 23:58:30 -04:00
kingbri 82624ff55b Regex: fix multiple script bug
Multiple scripts were not running due to improper variable assingment.
For efficiency's sake, do not do a string comparison before returning
and instead do another variable assignment in the parent function.

Doing this reduces the length of regex hooks in the parent calls,
but also removes the need for unnecessary O(n) complexity of comparing
two string variables.

If there are errors, it would be advisable to add string comparison
and revert back to the old logic in parent function calls.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-06 22:32:40 -04:00
phiharri 3665947f54 Merge branch 'confirm_delete' of github.com:phiharri/SillyTavern into confirm_delete 2023-07-06 21:01:50 +01:00
phiharri a2fc3ec115 set default value for confirm_message_delete 2023-07-06 20:56:08 +01:00
Cohee f93fb78bc7 Don't append System narrator name to Chat completion messages. 2023-07-06 21:04:51 +03:00
Cohee afcd2b497d Merge branch 'dev' into confirm_delete 2023-07-06 18:25:27 +03:00
Cohee 1acaea2a4c Merge pull request #642 from BlipRanger/feature/count
Feature/count
2023-07-06 18:13:54 +03:00
Cohee 11bbb6e8e3 Add purge to unsuccessful Poe auto-JB procedure 2023-07-06 13:23:18 +03:00
Cohee 85e82f854b (beta) Add davinci models to OpenAI 2023-07-06 13:18:33 +03:00
Cohee b6ac73631f #640 Fix group candidates filtering 2023-07-06 12:36:16 +03:00
Cohee 35390c07ef #640 Fix group candidates filtering 2023-07-06 12:35:03 +03:00
Cohee 87f436fe44 Merge pull request #641 from BlipRanger/dev 2023-07-06 08:26:08 +03:00
kingbri fb69397ac1 Regex: Add overlay replacement strategy
As opposed to making the match variable include the entire regex
match, overlay the replacement string over the regex match and splice
out whatever's already in the replacement string from the regex match.

This new strategy helps save time when editing messages since match
prefix and suffix phrases have a lower chance of being repeated on
every edit. The overlay strategy also preserves uniqueness if the user
decides to change something in the edited text.

However, overlay can cause issues especially with punctiation,
so the strategy isn't chosen by default when creating a new regex.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-06 00:49:26 -04:00
kingbri 3168ee536e Regex: Add an about section in editor
Adds a small helpful message in the editor and a link to regexr
for learning regex interactively.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-06 00:43:32 -04:00
kingbri 8212206d50 Regex: Fix markdown format bugs
If a regex cannot be parsed, silently return out and don't run the
script. May be a good idea to display a toast message saying the
script didn't run.

Also only reload the chat if a chat is actually loaded.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-06 00:43:32 -04:00
BlipRanger bbe08ece84 Display total and dynamic character count 2023-07-06 00:42:04 -04:00
BlipRanger c9db2f7c9c More descriptive error handling. 2023-07-05 23:33:32 -04:00
phiharri 1d640a2cbf Optional delete message confirmation 2023-07-06 01:43:57 +01:00
RossAscends 13ba5cec49 add help page for macros 2023-07-06 06:11:13 +09:00
Cohee 2a8f3e7334 Unlocked context for Scale 2023-07-05 23:42:29 +03:00
Cohee d7db7885e5 #24 Add Scale support 2023-07-05 23:34:40 +03:00
RossAscends a2a496a4c9 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-07-06 02:47:44 +09:00
RossAscends 88429baa48 add seedrandom library 2023-07-06 02:47:41 +09:00
Cohee 935a3d6c35 Clone WI entries before returning them to evaluator 2023-07-05 20:46:30 +03:00
RossAscends 3c64c46daf make constant WI entries substitute before insert 2023-07-06 02:00:59 +09:00
RossAscends a53cee20d2 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-07-06 01:30:41 +09:00