Commit Graph

7938 Commits

Author SHA1 Message Date
Cohee b6a7929c4e Fix npm audit 2024-10-09 11:42:51 +00:00
Cohee 3fd7ca90ed Tool Calling: Don't try to parse if tool calling is not supported 2024-10-09 10:49:02 +00:00
Cohee e7fe218810
Merge pull request #2953 from QuantumEntangledAndy/feat/AdditionalLogins
Add additional login methods
2024-10-09 13:43:39 +03:00
QuantumEntangledAndy ad316c6d78
[chore] Use same basic code logic in user as in basicAuth 2024-10-09 15:09:10 +07:00
QuantumEntangledAndy 06a7bdd3ce
Only allow login via basic per-user if user password is set 2024-10-09 15:04:28 +07:00
Cohee fe1f9fafbd [bug] Don't allow per user auth with accounts disabled 2024-10-09 10:43:52 +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 face9462aa Remove userPlaceholder #2962 2024-10-09 10:23:49 +03:00
Cohee c49138dfea Tool Calling: Make formatMessage async 2024-10-09 03:56:24 +03:00
Cohee bc0f5bf4ce Tool Calling: add shouldRegister function to tool defintion 2024-10-09 03:53:32 +03:00
Cohee 10f51f5d90 ImageGen: Add a placeholder for {{prefixedPrompt}} in the message template
Closes #2946
2024-10-09 03:44:22 +03:00
Cohee de57123e62 Change GenerateImage tool description 2024-10-09 02:57:08 +03:00
Cohee 15436d0f2a [chore] Strict equality check 2024-10-09 02:13:23 +03:00
Cohee fe8ffe5be8 [bug] Fix basic auto-logins to disabled users 2024-10-09 02:12:20 +03:00
Cohee a1352d817a [bug] Don't try per user auto-login if basic auth disabled 2024-10-09 02:04:47 +03:00
Cohee 0ada5407ee [bug] Fix login attempts to disabled users 2024-10-09 01:54:56 +03:00
Cohee 07d6808e4e [chore] Rename local variable, use strict comparison. 2024-10-09 01:46:07 +03:00
Cohee 3e9d0cc1ad [chore] Remove debug console log 2024-10-09 01:42:51 +03:00
Cohee 3422303882 [chore] Rename local variable 2024-10-09 01:40:49 +03:00
Cohee 8a95e0a290 [chore] Reformat 2024-10-09 01:38:32 +03:00
Cohee b9375ed7ea Rename PERUSER => PER_USER 2024-10-09 01:37:34 +03:00
Cohee 5765ea8500 Merge branch 'staging' into feat/AdditionalLogins 2024-10-09 01:34:29 +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 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 9db761cea4 Cohere: Update embeddings to v2
#2962
2024-10-09 00:52:07 +03:00
Cohee c2935ba4a7 Migrate Cohere to /v2/chat
Closes #2916
2024-10-08 23:50:09 +03:00
DarokCx 9b3552631a Text sizing correction. 2024-10-07 15:26:13 -04:00
Cohee 9e50ff34c9 Make Run on edit actually work
Fixes #2958
2024-10-07 20:21:07 +03:00
DarokCx 09035a71dc Added sort by date Added 2024-10-07 10:02:11 -04:00
QuantumEntangledAndy 1cda7003d1
Add a noauto query param to login 2024-10-07 09:17:43 +07: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