Commit Graph

1359 Commits

Author SHA1 Message Date
fb48d25041 Fix new character highlight 2024-11-04 00:42:17 +02:00
17b7f17676 Fix auto-continue with stream aborting
Closes #3021
2024-10-28 14:22:19 +00:00
08d177e7ba Don't auto-swipe on aborted stream 2024-10-28 11:31:37 +00:00
e5183d7283 Extended getContext with SlashCommand classes 2024-10-23 23:46:33 +03:00
d7c575994d Replace macros in user filler message
Fixes #3011
2024-10-23 22:57:48 +03:00
78bbf0ed02 Fix format 2024-10-19 13:13:24 +03:00
9f97a144e8 slightly change stream "abort" flow so token probabilities get successfully updated 2024-10-19 00:31:12 -04:00
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
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
80de28d251 Remove debug log 2024-10-01 19:50:56 +03:00
d5b845345e Better opacity handling. Remove debug logs 2024-10-01 19:48:46 +03:00
7747050233 Merge branch 'staging' into swipe-nums-for-all-mes 2024-10-01 19:27:20 +03:00
7f9023d3c2 Work on tl 2024-10-01 21:25:20 +07:00