1373 Commits

Author SHA1 Message Date
Cohee
2030c2c711 Fix auto-continue with stream aborting
Closes #3021
2024-10-28 11:14:35 +02:00
Cohee
f5bdb52c25 Merge branch 'staging' into webpack 2024-10-26 19:11:29 +03:00
Cohee
5b1a4fc723 Update char PHI macro lingo 2024-10-26 17:03:01 +03:00
Cohee
e5183d7283 Extended getContext with SlashCommand classes 2024-10-23 23:46:33 +03:00
Cohee
d7c575994d Replace macros in user filler message
Fixes #3011
2024-10-23 22:57:48 +03:00
Cohee
1c50180daa Merge branch 'staging' into webpack 2024-10-19 13:15:54 +03:00
Cohee
78bbf0ed02 Fix format 2024-10-19 13:13:24 +03:00
50h100a
9f97a144e8 slightly change stream "abort" flow so token probabilities get successfully updated 2024-10-19 00:31:12 -04:00
Cohee
e2a09ad5a7 Switch to module init function pattern 2024-10-18 12:17:30 +00:00
Cohee
f918b146e7 Merge branch 'staging' into webpack 2024-10-17 23:08:36 +03:00
Cohee
f897a4ab1a Merge with browser fixes from RossMods 2024-10-17 21:25:50 +03:00
maver
34ff8e239f Fix double double quotes when copying chat message text in Firefox 2024-10-17 14:14:24 +02:00
Cohee
b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
Cohee
ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
Cohee
81bdeb6da8 unvendor: Replace moment 2024-10-17 02:02:45 +03:00
Cohee
7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
Cohee
8b8f2f1144 unvendor: Replace SVGInject 2024-10-17 01:39:15 +03:00
Cohee
b195983510 unvendor: Replace diff_match_patch 2024-10-17 01:23:22 +03:00
Cohee
d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
Cohee
1c4e87b25b unvendor: Replace localforage 2024-10-16 23:37:54 +03:00
Cohee
416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
Cohee
3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
Cohee
e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
Cohee
24884b3206 TextGenWebUI: remove legacy API mode 2024-10-15 00:32:56 +03:00
Cohee
11751d3893 Unify the display of novel streaming checkbox 2024-10-13 22:38:14 +03:00
Cohee
15efdb6609
Merge pull request #2962 from SillyTavern/cohere-v2
Migrate Cohere to /v2/chat
2024-10-09 10:29:04 +03:00
Cohee
7162f9d562 Cohere: Swap message and tool plan in extractMessageFromData 2024-10-09 10:27:54 +03:00
Cohee
bdaf7b9258
Merge pull request #2955 from Yokayo/staging
Add rename buttons for advanced formatting presets
2024-10-09 01:33:52 +03:00
Cohee
c2935ba4a7 Migrate Cohere to /v2/chat
Closes #2916
2024-10-08 23:50:09 +03:00
Cohee
9e50ff34c9 Make Run on edit actually work
Fixes #2958
2024-10-07 20:21:07 +03:00
Cohee
7db85e7ed8 Limit tool calls recursion 2024-10-07 00:22:27 +03:00
Cohee
89bad21881 Allow tool registration on swipes 2024-10-06 22:25:23 +03:00
Yokayo
4b0d342e8b Update translation-related stuff a little 2024-10-07 00:04:49 +07:00
Cohee
c8ef4b02bc Add .git to jsconfig ignore 2024-10-06 19:12:28 +03:00
Cohee
077ba8b03d Add slash commands for tools management 2024-10-06 12:49:08 +03:00
Cohee
54837680f7 Fix looping on regen tool call 2024-10-05 20:54:25 +03:00
Cohee
6369882be3 Merge branch 'staging' into tool-calling 2024-10-05 20:31:28 +03:00
Cohee
1055f2e1b7 Support more pairs of international quotes 2024-10-05 20:09:54 +03:00
Cohee
a09a60ef31
Merge pull request #2930 from Yokayo/staging
Work on translation
2024-10-05 20:03:53 +03:00
Cohee
60fef3ee99 Restyle welcome 2024-10-05 19:45:41 +03:00
Cohee
47e3cf82e0 Don't call tools on stopped streams. Emit events 2024-10-05 19:08:57 +03:00
ceruleandeep
02b0000117 Add clickable buttons in Welcome chat message.
Add bool `uses_system_ui` on system messages to override sanitizer for buttons when set

Modify uponSanitizeAttribute DOMPurify hook to allow unmangled class names on attributes in some cases

Add event listener for .drawer-opener to open a navbar drawer
2024-10-05 17:27:58 +10:00
Cohee
0637223bc2 Add class to tool call messages 2024-10-05 02:05:18 +03:00
Cohee
01fc5113d7 Fix ghost messages 2024-10-04 23:13:56 +03:00
Yokayo
17fb9815b3
Merge branch 'SillyTavern:staging' into staging 2024-10-04 23:13:12 +07:00
Cohee
689dbad2d1 Merge branch 'staging' into tool-calling 2024-10-04 14:28:47 +00:00
Goshe-nite
c016319477
Fix out-of-sync pinned drawer icons (#2944)
* Fix out-of-sync pinned drawer icons

* Ugly but consistent

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-10-04 16:36:48 +03:00
Cohee
8c095f204a Fix error on streaming if the processor was already destroyed 2024-10-04 12:00:20 +00:00
Cohee
4a2989718c ESLint and JSDoc fixes 2024-10-04 10:34:17 +00:00
Cohee
447a7fba68 Only delete message if had successful tool calls 2024-10-04 01:45:37 +03:00