7650 Commits

Author SHA1 Message Date
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
26716686ba Add parentheses for clarity 2024-10-09 01:31:45 +03:00
Cohee
7061753d84 Fix old name prepopulate, run formatter 2024-10-09 01:29:23 +03:00
Cohee
9e50ff34c9 Make Run on edit actually work
Fixes #2958
2024-10-07 20:21:07 +03:00
Cohee
591f61d354 Don't split tool calls and tool results 2024-10-07 01:32:46 +03:00
Cohee
7db85e7ed8 Limit tool calls recursion 2024-10-07 00:22:27 +03:00
Cohee
67ebf0fc06 Use classic hash method for Node 18 2024-10-06 23:58:10 +03:00
Cohee
87d73af0ac Mistral: Use hex toolid encoding 2024-10-06 23:43:13 +03:00
Cohee
f82a479a90 Fix select2 buttons alignment 2024-10-06 23:18:41 +03:00
Cohee
991e10c75f Claude: remove tools from prompt if tools not supported or not provided 2024-10-06 23:02:38 +03:00
Cohee
89bad21881 Allow tool registration on swipes 2024-10-06 22:25:23 +03:00
Cohee
6b022e783d Fix tool call reuse between Claude and OAI 2024-10-06 22:22:19 +03:00
Cohee
f7ec2e47d6 Indicates extensions that add tools in the list 2024-10-06 21:58:59 +03:00
Cohee
a4256ccf57 ImageGen: rename Enable function tool => Use function tool 2024-10-06 21:19:06 +03:00
Cohee
4cc8b8d0d9
Merge pull request #2932 from SillyTavern/tool-calling
Tool calling
2024-10-06 21:07:48 +03:00
Cohee
4f46a8ff10 Mistral: Change tool call id algorithm 2024-10-06 20:24:07 +03:00
Cohee
927c2418e0 Group tool calls in the result 2024-10-06 20:19:58 +03:00
Cohee
2a25f75fa5 Mistral: sanitize tool call id 2024-10-06 20:07:43 +03:00
Yokayo
4b0d342e8b Update translation-related stuff a little 2024-10-07 00:04:49 +07:00
Yokayo
88d52ea587 Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-10-06 23:52:46 +07:00
Yokayo
90ef3e51c0 Add advanced formatting presets renaming buttons 2024-10-06 23:52:41 +07:00
Cohee
2e36f45e24 Fix types for dompurify and toastr 2024-10-06 19:51:59 +03:00
Cohee
680dc80649 Extend exclude list for frontend jsconfig 2024-10-06 19:26:37 +03:00
Cohee
fcadd62e8c Merge branch 'staging' into tool-calling 2024-10-06 19:13:32 +03:00
Cohee
912525fdd9 Add missing import 2024-10-06 19:13:01 +03:00
Cohee
c8ef4b02bc Add .git to jsconfig ignore 2024-10-06 19:12:28 +03:00
Cohee
f66261a52c Mistral: Squash user messages that follow tools 2024-10-06 14:28:52 +03:00
Cohee
303df1087a ImageGen: Configurable tool prompt description, encode response URI 2024-10-06 13:27:06 +03:00
Cohee
96862be6b0 Fix tools-list 2024-10-06 13:01:14 +03:00
Cohee
077ba8b03d Add slash commands for tools management 2024-10-06 12:49:08 +03:00
Cohee
7dea59f026 Format tool result if JSON 2024-10-05 20:54:37 +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
030313c584
Merge pull request #2951 from SillyTavern/intl-quotes
Support more pairs of international quotes
2024-10-05 20:31:14 +03:00
Cohee
704bb9dc0f
Merge pull request #2950 from SillyTavern/moment-locales
Localize chat timestamps
2024-10-05 20:27:39 +03:00
Cohee
a5be889852 Extend quote list for TTS 2024-10-05 20:14:07 +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
6ecfdea8ef
Merge pull request #2949 from ceruleandeep/feature/clickableWelcome
Add clickable buttons in Welcome chat message.
2024-10-05 19:52:37 +03:00
Cohee
24300642dd Cleaner HTML Diff 2024-10-05 19:48:20 +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
Cohee
6185974e17 Claude: Use multi-part system prompt, cache tools 2024-10-05 18:04:08 +03:00
Cohee
ebe2929dfd Localize chat timestamps 2024-10-05 17:07:17 +03:00
Yokayo
aaa5a84d58 Get rid of numbered keys 2024-10-05 20:19:42 +07:00
Cohee
3b4a455ef8 Split Custom OAI prompt post-processing modes 2024-10-05 16:09:39 +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
68376f7dd0 Indicate no content on function result 2024-10-05 00:20:28 +03:00
Cohee
6a304e8884 Fix generation looping 2024-10-05 00:20:06 +03:00