Commit Graph

1663 Commits

Author SHA1 Message Date
f897a4ab1a Merge with browser fixes from RossMods 2024-10-17 21:25:50 +03:00
34ff8e239f Fix double double quotes when copying chat message text in Firefox 2024-10-17 14:14:24 +02:00
b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
81bdeb6da8 unvendor: Replace moment 2024-10-17 02:02:45 +03:00
7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
8b8f2f1144 unvendor: Replace SVGInject 2024-10-17 01:39:15 +03:00
b195983510 unvendor: Replace diff_match_patch 2024-10-17 01:23:22 +03:00
d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
1c4e87b25b unvendor: Replace localforage 2024-10-16 23:37:54 +03:00
416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
24884b3206 TextGenWebUI: remove legacy API mode 2024-10-15 00:32:56 +03:00
11751d3893 Unify the display of novel streaming checkbox 2024-10-13 22:38:14 +03:00
15efdb6609 Merge pull request #2962 from SillyTavern/cohere-v2
Migrate Cohere to /v2/chat
2024-10-09 10:29:04 +03:00
7162f9d562 Cohere: Swap message and tool plan in extractMessageFromData 2024-10-09 10:27:54 +03:00
bdaf7b9258 Merge pull request #2955 from Yokayo/staging
Add rename buttons for advanced formatting presets
2024-10-09 01:33:52 +03:00
c2935ba4a7 Migrate Cohere to /v2/chat
Closes #2916
2024-10-08 23:50:09 +03:00
9e50ff34c9 Make Run on edit actually work
Fixes #2958
2024-10-07 20:21:07 +03:00
7db85e7ed8 Limit tool calls recursion 2024-10-07 00:22:27 +03:00
89bad21881 Allow tool registration on swipes 2024-10-06 22:25:23 +03:00
4b0d342e8b Update translation-related stuff a little 2024-10-07 00:04:49 +07:00
c8ef4b02bc Add .git to jsconfig ignore 2024-10-06 19:12:28 +03:00
077ba8b03d Add slash commands for tools management 2024-10-06 12:49:08 +03:00
54837680f7 Fix looping on regen tool call 2024-10-05 20:54:25 +03:00
6369882be3 Merge branch 'staging' into tool-calling 2024-10-05 20:31:28 +03:00
1055f2e1b7 Support more pairs of international quotes 2024-10-05 20:09:54 +03:00
a09a60ef31 Merge pull request #2930 from Yokayo/staging
Work on translation
2024-10-05 20:03:53 +03:00
60fef3ee99 Restyle welcome 2024-10-05 19:45:41 +03:00
47e3cf82e0 Don't call tools on stopped streams. Emit events 2024-10-05 19:08:57 +03:00
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
0637223bc2 Add class to tool call messages 2024-10-05 02:05:18 +03:00
01fc5113d7 Fix ghost messages 2024-10-04 23:13:56 +03:00
17fb9815b3 Merge branch 'SillyTavern:staging' into staging 2024-10-04 23:13:12 +07:00
689dbad2d1 Merge branch 'staging' into tool-calling 2024-10-04 14:28:47 +00:00
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
8c095f204a Fix error on streaming if the processor was already destroyed 2024-10-04 12:00:20 +00:00
4a2989718c ESLint and JSDoc fixes 2024-10-04 10:34:17 +00:00
447a7fba68 Only delete message if had successful tool calls 2024-10-04 01:45:37 +03:00
1b3db27389 Abort Send and Continue while editing a message 2024-10-03 18:49:13 -03:00
6558b10675 Show an error when all tools fail 2024-10-04 00:11:36 +03:00
90809852c2 Hide message on streaming tool calls 2024-10-03 13:23:53 +00:00
2dad86e076 Delete empty message before tool invocations 2024-10-02 23:12:49 +03:00
c3e9d25307 Merge branch 'staging' into tool-calling 2024-10-02 22:35:33 +03:00
85b0d135f1 Add utility function for formatting swipe counters 2024-10-02 22:22:33 +03:00
0f8c1fa95d Save tool calls to visible chats. 2024-10-02 22:17:27 +03:00
c94c06ed4d Implement function tool calling for OpenAI 2024-10-02 01:45:57 +03:00
8006795897 New tool calling framework 2024-10-02 01:00:48 +03:00
7d0cc9e372 Remove commented debug code 2024-10-01 20:48:45 +03:00