Commit Graph

7843 Commits

Author SHA1 Message Date
Cohee b65da795ef [chore] Fix comments/logs 2024-10-11 21:59:55 +03:00
Cohee a82dce7c87 Merge branch 'staging' into world_info_force_activate_expansion 2024-10-11 21:52:55 +03:00
Cohee 4fcad0752f [chore] Fix type errors 2024-10-11 21:33:36 +03:00
Cohee 161fc7f0f0 STscript: don't parse boolean operands as 0 for strings containing just spaces 2024-10-11 21:01:32 +03:00
Cohee 72138c632d [chore] Remove unused import 2024-10-11 20:58:06 +03:00
Cohee bee19908e7 [chore] Fix type error in post-install 2024-10-11 20:38:19 +03:00
Cohee ab2427142c [chore] Fix type errors in server.js 2024-10-11 20:34:13 +03:00
Cohee afc3bfb740 Install correct version of express types 2024-10-11 20:33:55 +03:00
Cohee 90eef29982 Merge branch 'staging' into es-modules 2024-10-11 20:30:23 +03:00
Cohee 44e73fbf27
Merge pull request #2975 from akvadrako/together-ai-new-image-api
Support the non-deprecated Together.ai Create Image API
2024-10-11 20:29:31 +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 fe33519422 Image Generation: Don't replace dots with commas 2024-10-11 15:32:45 +00:00
Cohee 5ff58e20c1 Plugins: Fix classic commonjs single file modules 2024-10-11 08:43:01 +00: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 4bafacaec4 Add usage for plugins.js 2024-10-11 00:08:53 +03:00
Cohee 8afa887d07 Fix relative import in recover.js 2024-10-11 00:07:00 +03:00
Cohee c67c0cbf7e Fix dirname for Node 18 2024-10-11 00:06:02 +03:00
Cohee 478976f647 Fix open autorun import 2024-10-10 23:50:51 +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
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