Commit Graph

6414 Commits

Author SHA1 Message Date
Cohee e5183d7283 Extended getContext with SlashCommand classes 2024-10-23 23:46:33 +03:00
Cohee 0f320dd362 WebSearch: Add endpoint for Tavily 2024-10-23 23:38:17 +03:00
Cohee b5cdb29bf3 /popup: add scroll argument, allow scroll by default 2024-10-23 23:03:07 +03:00
Cohee e03f1b14e6 Enable vertical scrolling in /buttons
Closes #3012
2024-10-23 23:00:08 +03:00
Cohee d7c575994d Replace macros in user filler message
Fixes #3011
2024-10-23 22:57:48 +03:00
David Jimenez 030808d308
feat: add Claude 3.5 Sonnet 20241022 API model 2024-10-22 19:05:51 +01:00
Cohee 7e9f5b8ee2 Indicate connected textarea for expanded editor 2024-10-21 11:01:55 +03:00
Joe 8f09aced83 Add scroll bar to make it obvious 2024-10-21 00:57:15 -07:00
Joe b164084c0c Enhancement: Make buttons scrollable 2024-10-21 00:19:50 -07:00
Cohee 2e80c7ceb2 Remove old formula renderer CSS 2024-10-20 15:06:20 +03:00
Cohee 1c50180daa Merge branch 'staging' into webpack 2024-10-19 13:15:54 +03:00
Cohee 0a79d55983
Merge pull request #3002 from 50h100a/streamprobs
Correctly view token probabilities when 'Continue'-ing a response.
2024-10-19 13:14:44 +03:00
Cohee afde6e3f45 Add word-break in logprobs display 2024-10-19 13:13:42 +03:00
Cohee 78bbf0ed02 Fix format 2024-10-19 13:13:24 +03:00
50h100a 9f97a144e8 slightly change stream "abort" flow so token probabilities get successfully updated 2024-10-19 00:31:12 -04:00
50h100a 5d5e552cbd correctly interpret some alternate whitespaces in token names 2024-10-19 00:24:35 -04:00
Cohee 1ac6780e9c MistralAI: Explicitly set context size for ministral 2024-10-18 20:52:17 +03:00
Cohee ff2c71c4ef MistralAI: Add new models to the list 2024-10-18 20:48:28 +03:00
Cohee 2cdf53a3dd [chore] Lint login.html 2024-10-18 20:30:30 +03:00
Cohee a1d3b7f3ef Merge branch 'staging' into webpack 2024-10-18 20:12:51 +03:00
Cohee f61c2403d6 Featherless: Fix model pagination init 2024-10-18 20:05:50 +03:00
Cohee 9c379125be [chore] Add JSDoc 2024-10-18 19:46:37 +03:00
Cohee 80f91d129e Firefox: fix copy from edit textarea 2024-10-18 12:54:26 +00:00
Cohee e2a09ad5a7 Switch to module init function pattern 2024-10-18 12:17:30 +00:00
Cohee 6a5828f2c7 Fix legacy picks 2024-10-18 08:44:54 +00:00
Cohee 027d710716 NovelAI: Increase tier token limits 2024-10-17 23:47:47 +03:00
Cohee f918b146e7 Merge branch 'staging' into webpack 2024-10-17 23:08:36 +03:00
Cohee cb987706eb
Merge pull request #3000 from error-usernotavailable/staging
ADetailer functionality for stable-diffusion extension
2024-10-17 22:47:58 +03:00
Cohee ae784ddb1a Add detailer checkbox for SDNext 2024-10-17 22:47:09 +03:00
Cohee a3693ccf6d Use deepMerge to combine payloads 2024-10-17 22:45:33 +03:00
Cohee ada44497de
Merge pull request #2994 from artisticMink/fix-double-quotes
Fix double double quotes when copying chat message text in Firefox
2024-10-17 22:19:48 +03:00
maver 82570ef31d
Remove textnode checks before applying firefox double double qutoes fix 2024-10-17 18:55:17 +00:00
Cohee f897a4ab1a Merge with browser fixes from RossMods 2024-10-17 21:25:50 +03:00
Cohee 33f8cd4241 Add typehints for libs 2024-10-17 21:18:34 +03:00
Cohee 2620522333 Revert epubjs vendoring 2024-10-17 20:59:42 +03:00
Cohee e48cf68a13 Revert pdfjsLib vendoring 2024-10-17 20:53:18 +03:00
maver 34ff8e239f Fix double double quotes when copying chat message text in Firefox 2024-10-17 14:14:24 +02:00
Cohee e03e32d66a unvendor: Replace morphdom 2024-10-17 11:12:22 +00:00
Cohee b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
Cohee 08324ba801 Remove unused libs 2024-10-17 08:51:02 +00:00
Cohee e9a002bc2b unvendor: Replace droll 2024-10-17 08:12:28 +00:00
Cohee ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
error-usernotavailable 301a31b8b2
Update settings.html
add checkbox in stable diffusion extension tab for ADetailer
2024-10-16 22:28:09 -04:00
error-usernotavailable 2689025ec3
Update index.js to use ADetailer in Auto1111/Forge/Vlad
added events, listener, and function for ADetailer/aiFaceDetailer. Rewrote function generateAutoImage to allow for tacking on of alwayson_scripts (maybe redo for a textbox/json later for other Auto1111 extensions?)

paired with settings.html edits
2024-10-16 22:23:31 -04:00
QuantumEntangledAndy c837c2ed15
js empty 2024-10-17 09:10:27 +07:00
QuantumEntangledAndy 83182245d6
Disable swipe gestures while in edit mode 2024-10-17 08:29:33 +07:00
Cohee e1694ede9d unvendor: Replace seedrandom 2024-10-17 02:19:47 +03:00
Cohee 81bdeb6da8 unvendor: Replace moment 2024-10-17 02:02:45 +03:00
Cohee 7b0f7306c0 unvendor: Replace showdown 2024-10-17 01:51:35 +03:00
Cohee 8b8f2f1144 unvendor: Replace SVGInject 2024-10-17 01:39:15 +03:00
Cohee 2725bae275 webpack: Expose lodash in lib.js 2024-10-17 01:32:13 +03:00
Cohee ca844c8b0a unvendor: Replace Readability 2024-10-17 01:30:04 +03:00
Cohee b195983510 unvendor: Replace diff_match_patch 2024-10-17 01:23:22 +03:00
Cohee c741278749 unvendor: Delete replaced libraries 2024-10-17 01:19:19 +03:00
Cohee a32fe00e34 unvendor: Replace pdfjs-dist 2024-10-17 01:16:39 +03:00
Cohee 553920ee8e unvendor: Replace epubjs 2024-10-17 01:03:33 +03:00
Cohee 14037b6e30 unvendor: Replace Bowser 2024-10-17 00:56:09 +03:00
Cohee c3f62b8699 unvendor: Replace css-tools 2024-10-17 00:40:11 +03:00
Cohee d5fdf307c8 unvendor: Replace handlebars 2024-10-17 00:34:07 +03:00
Cohee 1c4e87b25b unvendor: Replace localforage 2024-10-16 23:37:54 +03:00
Cohee 416282ae1f unvendor: Replace hljs 2024-10-16 23:18:23 +03:00
Cohee 3c28b754dc Delete vendored dompurify 2024-10-16 23:12:30 +03:00
Cohee 3387fe4bd6 unvendor: Replace DOMPurify 2024-10-16 23:11:13 +03:00
Cohee e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
Cohee 4725b869eb Add webpack for external frontend libraries. 2024-10-16 22:00:14 +03:00
Cohee 725cfdebca
Merge pull request #2993 from theo77186/llamacpp_xtc
Enable XTC support for llama.cpp
2024-10-16 20:52:06 +03:00
Cohee 276316ae62 Auto-add missing samplers for llama.cpp 2024-10-16 20:51:32 +03:00
theo77186 37f3a24ac6 Enable XTC support for llama.cpp 2024-10-16 18:30:46 +02:00
Cohee ba0d6bfa26 Vectors: fix force_chunk_delimiter value init 2024-10-16 07:53:53 +00:00
Cohee e01a243ce5
Merge pull request #2988 from QuantumEntangledAndy/feat/cachedVectorSummaries
Add client side cacheing of vector summaries
2024-10-15 23:32:20 +03:00
Cohee 69283f511f Optimize summarization on query 2024-10-15 23:27:18 +03:00
Cohee e3de69a235 Add hash for getQueryText 2024-10-15 23:17:27 +03:00
Cohee 65d3c2729a Fix typo in variable name 2024-10-15 23:14:59 +03:00
QuantumEntangledAndy bb7e7b645d
Add client side cacheing of vector summaries 2024-10-15 10:34:03 +07:00
Cohee 24884b3206 TextGenWebUI: remove legacy API mode 2024-10-15 00:32:56 +03:00
Cohee 8986cb0039 Update preset button styles 2024-10-14 20:56:31 +03:00
Cohee 17ff324e9c Remove outdated warning 2024-10-14 13:36:03 +00:00
Cohee 6ef63e2415 Fix smooth streaming 2024-10-14 10:02:39 +00:00
Cohee 12fbf3df95 Add editor expanders to adv.defs
Closes #2984
2024-10-14 00:40:21 +03:00
Cohee ef980a67fb add export to the getworldentry function 2024-10-14 00:16:30 +03:00
Cohee a025331118 Merge branch 'staging' into rename-presets 2024-10-13 23:17:59 +03:00
Cohee e3e22ea095 Adjust left swipe position in no avatars mode 2024-10-13 23:11:13 +03:00
Cohee 11751d3893 Unify the display of novel streaming checkbox 2024-10-13 22:38:14 +03:00
Cohee b077b157dc Uniform icon widths 2024-10-13 21:35:10 +03:00
Cohee 8ddde32e94 Reduce left block padding 2024-10-13 21:30:11 +03:00
Cohee 7ca7a9c839 Move delete to the top 2024-10-13 21:28:27 +03:00
Cohee 652a59bfb7 Merge branch 'staging' into rename-presets 2024-10-13 21:22:30 +03:00
Cohee b20849ea70 Fix quantum link position 2024-10-13 21:21:20 +03:00
Cohee b40eb49201 Add recommended mobile meta-tag 2024-10-13 21:16:24 +03:00
Cohee 80d0087bf0 Merge branch 'staging' into rename-presets 2024-10-13 21:12:43 +03:00
Cohee 204a3545ea CSS: Add on-hover style for links 2024-10-13 21:10:50 +03:00
RossAscends d4c8b5c9da remove sendForm disconnected coloring, tweak CSS to accomodate light themes 2024-10-14 01:01:07 +09:00
Cohee 83ef5a67f6 Merge branch 'staging' into google-tts 2024-10-13 17:16:08 +03:00
Cohee 93137e3e2a [chore] Fix lint errors 2024-10-13 14:02:53 +03:00
Cohee 346e77ecfc
Merge pull request #2976 from SillyTavern/cc-async-count
Chat Completion: switch to async token handling
2024-10-12 20:31:53 +03:00
Cohee 1ef31b63ac No awaitless async. Add JSDocs. 2024-10-12 20:29:44 +03:00
Cohee 663f4ed798 CC: Actually check if can afford both the block and the header 2024-10-12 20:17:20 +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 a12051ee24 CC: Only fit entire example dialogue blocks at once 2024-10-12 12:56:52 +03:00
Cohee e93a2fbed0 Fix continue prefill not getting added. 2024-10-12 01:10:22 +03:00
Cohee 8e082e622b Chat Completion: switch to async token handling 2024-10-12 01:07:36 +03:00
Cohee b0d0f2111b Tool Calling: Reserve prompt budget for tool definitions. 2024-10-12 00:22:37 +03:00
RossAscends 5d6d7568c3 clarify QR popout only possible on desktop 2024-10-12 06:01:44 +09:00
RossAscends d772d24052 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-10-12 05:58:42 +09:00
RossAscends cdb271e6ec fix QR popout controlBar display, hide QR popout button for mobile 2024-10-12 05:58:39 +09:00
Cohee 6f4e98024a [chore] Add a log on force activation 2024-10-11 22:10:25 +03:00
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 161fc7f0f0 STscript: don't parse boolean operands as 0 for strings containing just spaces 2024-10-11 21:01:32 +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
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 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
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 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 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 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
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 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 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