Commit Graph

1026 Commits

Author SHA1 Message Date
BlipRanger
28d22aa8c1 Merge branch 'dev' of https://github.com/BlipRanger/SillyTavern into feature/stats 2023-07-18 09:42:11 -04:00
Cohee
5209485f20 #715 Instruct continue fix 2023-07-18 13:08:01 +03:00
Cohee
f327f4abbe #715 Fix double insertion of bias instruct mode 2023-07-18 12:27:08 +03:00
BlipRanger
818416b1f2 Make charstats global within stat helper. 2023-07-18 01:56:55 -04:00
BlipRanger
baf0fd7e41 Remove only ArgoAscends function ever, prettier :( 2023-07-18 01:37:46 -04:00
BlipRanger
b7c5ea9152 Fix continue logic, move update logic 2023-07-18 01:24:11 -04:00
BlipRanger
b058f40ee6 Working state stat UI 2023-07-18 00:36:28 -04:00
breathingmanually
f8e2730fd6 Fix parameters not substituted when editing first message 2023-07-18 00:57:17 -03:00
BlipRanger
b1f1fa8a26 Change the way we count non-user msgs 2023-07-17 19:32:21 -04:00
Cohee
3af4598fc9 Renamable backgrounds 2023-07-17 14:54:40 +03:00
kingbri
0280bfa1bb Script: Don't save character on chat creation
There's no need to save a character when a new chat is created.
The main reason for this commit is that after creating a new chat
with metadata, it immediately gets cleared after a few seconds.
This may be a race condition, but there's also no need for this
function call in the first place.

Fixes: Author's note not injecting on first message when new
chat is spawned.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-17 00:21:46 -04:00
BlipRanger
7b2cb3e042 Getter/setters, get/update, WIP frontend 2023-07-16 13:03:37 -04:00
RossAscends
732cea5cf1 /delchat - to delete the current chat 2023-07-17 00:49:33 +09:00
YellowRoseCx
0a99a0bb41 Add timezone replacement tags
Allows setting of various timezones for the {{time}} tag by including the UTC offset with it like {{time_UTC-4}} or {{time_UTC+3}}
2023-07-16 00:09:43 -05:00
Cohee
36b8aa0b4d Message texts are not array 2023-07-15 00:04:07 +03:00
Cohee
5b98f2f329 #703 Don't use prompt bias on impersonation 2023-07-14 23:37:10 +03:00
Cohee
37de77b20d Fix OpenAI itemizer for characters with example dialogues 2023-07-14 22:52:17 +03:00
Cohee
eb4adb5a6c Bouncy drawers fix 2023-07-14 18:10:59 +03:00
Cohee
f5a25cad5b Clear chat metadata on clearing chat 2023-07-14 17:06:01 +03:00
Cohee
07c78391e1 #708 Convert author's note to built-in function instead of extension 2023-07-14 16:10:39 +03:00
Cohee
8987534403 #709 Add extra type safety for token counting 2023-07-14 15:33:55 +03:00
BlipRanger
3210dd29d3 Merge branch 'dev' of https://github.com/BlipRanger/SillyTavern into feature/stats 2023-07-13 23:34:46 -04:00
BlipRanger
8689703068 Fix bad merge 2023-07-13 23:30:59 -04:00
BlipRanger
9951837f1d Merge branch 'dev' of https://github.com/BlipRanger/SillyTavern into feature/stats 2023-07-13 23:29:36 -04:00
Cohee
5db9a7b5ba Migrate grid view to pure CSS 2023-07-13 23:00:30 +03:00
RossAscends
4bf8e2c49f fix charlist state on character deletion 2023-07-14 04:15:31 +09:00
Cohee
22108c5c9f Fix /cut command 2023-07-13 20:00:17 +03:00
Cohee
933729d914 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-07-13 19:26:05 +03:00
Cohee
da43c1c87e #699 Delete character without losing chats 2023-07-13 19:26:01 +03:00
RossAscends
298952e591 character list grid display toggle 2023-07-14 01:16:32 +09:00
Cohee
ae7ad6dbf0 Merge branch 'feature/extensions' of https://github.com/BlipRanger/SillyTavern into dev 2023-07-13 16:49:52 +03:00
RossAscends
ff8c9546ad add /impersonate (aka /imp) 2023-07-13 16:12:49 +09:00
BlipRanger
35336b1646 Delete method almost complete 2023-07-13 00:59:16 -04:00
BlipRanger
07b42e0fb4 Documentation update 2023-07-13 00:03:23 -04:00
BlipRanger
396aaaf6e9 Add update button and check for external extenisons 2023-07-12 22:26:01 -04:00
Cohee
cb294983e7 Merge pull request #701 from 50h100a/api-tokenize
Added tokenizer option for Ooba-like APIs
2023-07-12 11:28:50 +03:00
Cohee
9bbf23e56f Merge pull request #695 from ThisIsPIRI/continue
Fix continue formatting
2023-07-12 11:28:15 +03:00
Cohee
4aeda77648 Merge pull request #697 from bdashore3/dev
Regex: Switch slash command hooks
2023-07-12 11:26:53 +03:00
50h100a
49ae2cbad6 New tokenizer option.
If you're running an ooba-like api, you can use the token-count endpoint.
Exact and fast!
2023-07-12 04:18:55 -04:00
BlipRanger
b41d0a08c7 Replace lines that you definitely already had... 2023-07-11 19:24:13 -04:00
BlipRanger
53d45356a4 External extension import UI + backend 2023-07-11 18:24:04 -04:00
ThisIsPIRI
dedb913b67 Fix continue formatting 2023-07-12 06:57:05 +09:00
Cohee
393fff6207 Fix double insertion of WI with Chat Completions 2023-07-12 00:26:29 +03:00
Cohee
c9cc8fcf18 Calculation fixes to prompt itemizer 2023-07-12 00:05:34 +03:00
Cohee
6b1965fcf4 #693 Format story string after WI insertion for instruct mode 2023-07-11 23:22:12 +03:00
BlipRanger
bb6ff352b3 External extension support start 2023-07-11 16:10:42 -04:00
kingbri
bd7d4beab5 Regex: Add slash command input hook
Slash command output for sys and sendas commands were being formatted,
but add the ability for user placement to also apply to slash command
invocations.

Some slash commands will require an output hook, so add exclusions
inside the code itself.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-11 15:28:30 -04:00
Cohee
9ebb1cfe90 #652 Add custom stop strings 2023-07-11 00:24:09 +03:00
Cohee
5c6c7fd3ca #612 SD manual prompt refine mode 2023-07-10 23:07:53 +03:00
Cohee
f76db66e25 Modify quiet prompt sending to text completion models. 2023-07-10 18:13:11 +03:00