Commit Graph

7819 Commits

Author SHA1 Message Date
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
Cohee dcd3f13e62
Merge pull request #2973 from honey-tree/gemini-fix-electric-boogaloo
Remove a trailing slash from the Gemini API URL in case it gets added in by URL.toString
2024-10-10 21:16:28 +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 5a52196331
Merge pull request #2967 from KhreedAI/staging
Fix World Info Entry Priority Sort
2024-10-10 19:33:26 +03:00
Honey Tree 61ba579fe2 Moving check down for spec adherence 2024-10-10 12:03:26 -03:00
Honey Tree 0d1e96cc17 Map.get returns undefined and not null on empty 2024-10-10 11:44:13 -03:00
Khreed efb63c7f24 Re-evaluate world info entry - simplified priority sort order
Changed priority primarySort ternary to check disabled first, then constant, then normal.
2024-10-10 10:19:16 -04:00
Honey Tree 7fd798b854 Typing fixes to avoid breaking any APIs 2024-10-10 10:12:19 -03:00
Honey Tree 6efa36bdbf Expand WORLD_INFO_FORCE_ACTIVATE API to allow for dynamically modified Lorebook entries 2024-10-10 09:52:54 -03:00
Cohee 357c2e0756
Merge pull request #2970 from QuantumEntangledAndy/bug/modalPolyfilCenter
Center the crop popup on change, when polyfilled
2024-10-10 11:35:03 +03:00
QuantumEntangledAndy b05d5e12fe
Use a resize observer to center the popup after an image is loaded when polyfilled 2024-10-10 10:41:40 +07:00
RossAscends 6cca977d07 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-10-10 11:08:53 +09:00
RossAscends f7c0c37b8d make zoomed avatar grab/close buttons only visible on hover 2024-10-10 11:08:51 +09:00
Khreed 28861660ef Fix Priority Sort
Corrected and expanded priority sort logic to sort by:

First constant, then normal, then disabled, then by comment.
2024-10-09 19:17:42 -04:00
Cohee 33a126491e
Merge pull request #2965 from InspectorCaracal/slash-sort
Add `/sort` slash command
2024-10-10 00:43:29 +03:00
Cohee 8333f44e2b [chore] Reformat callback 2024-10-10 00:41:43 +03:00
Cohee 60c6549b9b Set standout header styles 2024-10-10 00:31:57 +03:00
Cohee 6e0bec2184 Restyle import/export buttons 2024-10-10 00:19:05 +03:00
Cal 7a598a439a switch to custom sort comparitor 2024-10-09 15:10:37 -06:00
Cohee c21e1ac3f7 [wip] Add buttons for renaming presets 2024-10-09 23:22:00 +03:00
Cohee 9f23a7852f NovelAI: Increase repetition penalty precision 2024-10-09 22:55:33 +03:00
InspectorCaracal 84140f4e4f add `/sort` slash command 2024-10-09 13:54:39 -06:00
Cohee 42f8b86b11 Tool Calling: stringify errors instead of silently failing 2024-10-09 22:39:55 +03:00
Cohee ac7135c386
Merge pull request #2964 from DarokCx/release
Featherless model search improvements.
2024-10-09 22:32:14 +03:00
Cohee 4bdaca5f8e Featherless: More specifity for selectors 2024-10-09 22:14:49 +03:00
Cohee f436000a9d Featherless: Fix /model command 2024-10-09 22:04:08 +03:00
Cohee 80f9d90918 Merge branch 'staging' into featherless-models 2024-10-09 21:51:59 +03:00
Cohee 0a84c094e7 Hide old models selector 2024-10-09 21:51:55 +03:00
Cohee ee945b8d41 Remove package.json reference 2024-10-09 21:51:44 +03:00
Cohee 151a77cd36 Initialize page on load 2024-10-09 21:51:31 +03:00
DarokCx 64ff555425 BugFix and UI improvements 2024-10-09 13:56:31 -04:00
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