Commit Graph

3361 Commits

Author SHA1 Message Date
Cohee
cc98a0bd01 Merge pull request #639 from phiharri/confirm_delete 2023-07-07 09:08:51 +03:00
Cohee
8fcc074ced Merge pull request #651 from BlipRanger/feature/count 2023-07-07 09:07:50 +03:00
Cohee
c44310f38f Merge pull request #650 from bdashore3/dev 2023-07-07 09:07:06 +03:00
BlipRanger
49745b2b35 Cleanup 2023-07-07 00:26:58 -04: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
BlipRanger
02fb1bc26f Revert to the not evals. 2023-07-06 23:06:44 -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
vbd537
08fd83ca5d Temporary Poe Fix
By adding "/Sage" or any other page name that exists to the end of the "home_url" variable, Poe's problem is solved and it can be used normally again
2023-07-06 21:00:55 -03: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
48e9332db9 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-07-06 20:42:01 +03:00
Cohee
afea5d48f1 Add {{idle_duration}} macro 2023-07-06 20:41:58 +03:00
Cohee
d6c3c6f26e Chub cope 2023-07-06 20:36:02 +03:00
Cohee
afcd2b497d Merge branch 'dev' into confirm_delete 2023-07-06 18:25:27 +03:00
Cohee
7d9c346d25 Better visibility filter on counter 2023-07-06 18:21:14 +03:00
Cohee
1acaea2a4c Merge pull request #642 from BlipRanger/feature/count
Feature/count
2023-07-06 18:13:54 +03:00
BlipRanger
bc52df493e Cleaned up code, relative font size 2023-07-06 11:07:38 -04: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
Cohee
4740e872cd Merge pull request #638 from bdashore3/dev 2023-07-06 08:25:20 +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
892824df1a Add Scale to UI texts 2023-07-05 23:50:33 +03: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
Cohee
4e8a2b8386 Add retry logic to OpenAI request handling 2023-07-05 21:43:33 +03:00
RossAscends
59f857262b seedrandom for {{random}} 2023-07-06 02:51:01 +09: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
RossAscends
cb741fd954 AND/NOT logic for selective WI 2023-07-06 01:30:37 +09:00
Cohee
f3ebea6ad8 #629 Random list select substitution 2023-07-05 17:59:53 +03:00
Cohee
af6d9d48e0 Merge pull request #630 from bdashore3/dev
Add regex engine and other fixes
2023-07-05 17:30:17 +03:00
Cohee
04b5d73a85 Merge pull request #634 from BlipRanger/feature/spoilers
Add the ability to avoid spoilers
2023-07-05 17:24:43 +03:00
Cohee
9ed05725c6 Hide "branch" button under advanced 2023-07-05 17:23:03 +03:00
Cohee
15a2a61615 Merge pull request #633 from mweldon/dev
Add retroactive bookmarking
2023-07-05 17:21:09 +03:00
Cohee
aed6e3413a Merge pull request #636 from SillyTavern/dev
1.8.2
1.8.2
2023-07-05 16:11:55 +03:00
Cohee
df6b87fa23 Bump package version 2023-07-05 15:18:52 +03:00