Commit Graph

876 Commits

Author SHA1 Message Date
Cohee b6af986e58
Merge pull request #2987 from SillyTavern/remove-legacy-api
TextGenWebUI: remove legacy API mode
2024-10-15 23:04:24 +03:00
Cohee 3471d0be93 Claude: Don't send empty text with images 2024-10-15 10:53:07 +03:00
Cohee 24884b3206 TextGenWebUI: remove legacy API mode 2024-10-15 00:32:56 +03:00
Cohee 83ef5a67f6 Merge branch 'staging' into google-tts 2024-10-13 17:16:08 +03:00
Honey Tree 3e9bad6845 Preserving the entry extensions field through v2 char exports and imports 2024-10-12 12:30:15 -03:00
Cohee 8cb0fda321 TTS: Add Google Translate TTS 2024-10-12 13:35:11 +03:00
Cohee 131e60ffe6 Update node types 2024-10-12 11:36:26 +03:00
Cohee 89c0b0e1cd Replace Google Translate API package 2024-10-12 10:47:05 +03:00
Cohee ffa8716d07 Plugins: support .cjs module extension 2024-10-11 23:00:37 +03:00
Cohee 4fcad0752f [chore] Fix type errors 2024-10-11 21:33:36 +03:00
Cohee 72138c632d [chore] Remove unused import 2024-10-11 20:58:06 +03:00
Cohee 90eef29982 Merge branch 'staging' into es-modules 2024-10-11 20:30:23 +03:00
Cohee 34b1fa2cff [chore] Run code format 2024-10-11 20:28:54 +03:00
Devin Bayer ed8e379e54 support new together.ai image generation api 2024-10-11 17:48:33 +02:00
Cohee a0889a15fd Explicitly import node process 2024-10-11 10:43:29 +03:00
Cohee 7ca1b2e532 Remove node polyfill 2024-10-11 10:33:09 +03:00
Cohee 0c8ccf1765 Update module imports 2024-10-11 00:41:08 +03:00
Cohee a0e6030836 Simplify node imports 2024-10-11 00:28:17 +03:00
Cohee 0355bc7a85 Fix globalAgent assignment 2024-10-10 23:49:33 +03:00
Cohee 1616e7e067 Explicitly import Buffer. Specify jsdoc local extensions 2024-10-10 23:36:22 +03:00
Cohee d52b4fbbde Node: Migrate to ES Modules 2024-10-10 22:37:22 +03:00
Honey Tree ac05840b81 Remove a trailing slash from the API URL in case it gets added in by URL.toString 2024-10-10 14:58:03 -03: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 face9462aa Remove userPlaceholder #2962 2024-10-09 10:23:49 +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 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
QuantumEntangledAndy 1cda7003d1
Add a noauto query param to login 2024-10-07 09:17:43 +07: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 991e10c75f Claude: remove tools from prompt if tools not supported or not provided 2024-10-06 23:02:38 +03:00
Cohee 6b022e783d Fix tool call reuse between Claude and OAI 2024-10-06 22:22:19 +03:00
Cohee 4f46a8ff10 Mistral: Change tool call id algorithm 2024-10-06 20:24:07 +03:00
Cohee 2a25f75fa5 Mistral: sanitize tool call id 2024-10-06 20:07:43 +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
QuantumEntangledAndy 329469021e
Address comments 2024-10-06 18:20:30 +07:00
QuantumEntangledAndy 71236e5e8c
eslint 2024-10-06 15:06:05 +07:00