Commit Graph

1035 Commits

Author SHA1 Message Date
Cohee
5807263681 Remove Poe support
It's Poever
2023-07-20 13:26:12 +03:00
Cohee
f6e1c48ac9 Merge branch 'main' into dev 2023-07-19 18:41:48 +03:00
Cohee
c6a6a8352d Fix textarea sanitation. Fix extensions promise never resolving on 404 2023-07-19 18:40:28 +03:00
Cohee
7cf02beaa6 Merge pull request #615 from BlipRanger/feature/stats
Feature/stats
2023-07-19 17:40:03 +03:00
kingbri
92f012fb6a Greetings: Fix swipe on chat creation
Alternate greetings would cause a console error since chat extras
didn't exist. To patch this, add an empty array if either value is
nullish.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-18 22:44:52 -04:00
kingbri
8de791a9ee Regex: Fix greeting message append
Greeting messages weren't being regexed on new chat creation. Fix
this by adding more regex hooks when creating a chat.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-07-18 22:40:07 -04:00
BlipRanger
c1b2a084d5 Rename, change count method, and forgot to count user messages lol 2023-07-18 16:27:31 -04:00
Cohee
96c668296a Don't purge metadata in clearChat 2023-07-18 22:31:39 +03:00
Cohee
9e21534fae #629 {{roll}} replacement macros 2023-07-18 19:51:20 +03:00
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