Commit Graph

3225 Commits

Author SHA1 Message Date
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
RossAscends
6a30858579 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-07-07 19:50:12 +09:00
RossAscends
be72b6f15f debug logging for poe connections 2023-07-07 19:50:09 +09:00
Cohee
bd74ea12ea Reformat plugin code 2023-07-07 12:37:07 +03:00
Cohee
2edc34db81 Merge branch 'main' into dev 2023-07-07 12:36:11 +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
Cohee
243e89091a Bump package version 1.8.3 2023-07-07 12:26:49 +03:00
50h100a
b4830f2b67 Include Smart Context in prompt summary when possible. 2023-07-07 03:23:40 -04: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
f985b7eeb9 Merge pull request #649 from vbdev537/main
Temporary Poe Fix
2023-07-07 09:41:24 +03:00
Cohee
c879a93b75 Merge pull request #649 from vbdev537/main
Temporary Poe Fix
2023-07-07 09:38:37 +03:00
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