Commit Graph

1955 Commits

Author SHA1 Message Date
Cohee 9bef9f4332 Fix delete message without checkboxes 2023-11-15 00:27:46 +02:00
Cohee f24aae546c Filter WI entries by tags 2023-11-14 23:54:08 +02:00
Cohee dcf913336b Add macros for character's main and jailbreak prompts 2023-11-14 22:54:16 +02:00
Cohee 7be808c2ff Disable position select for system prompts 2023-11-14 22:41:47 +02:00
Cohee 314aca3f2c Allow disabling system marker prompts 2023-11-14 22:27:07 +02:00
Cohee 4277aac974 Don't prompt to create persona if replacing an image 2023-11-14 22:07:32 +02:00
Cohee ea583e0ff5 Add fuzzy search to /bg command 2023-11-14 21:43:08 +02:00
Cohee abb8b0f0cc Update hide / unhide commands to accept range 2023-11-14 21:37:37 +02:00
Cohee c6ac4459a3 Move image inlining toggle. GPT-4V via OpenRouter 2023-11-14 21:19:39 +02:00
Cohee b559187722 Autoset height of QR slots. Revert textarea padding 2023-11-14 12:48:55 +02:00
Cohee 50f3def2eb Decrease icon size and text padding 2023-11-14 11:36:57 +02:00
RossAscends 2f20c8e6da Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-14 15:53:28 +09:00
RossAscends 3f4a62d22c ext button to left, stack buttons on mobile 2023-11-14 15:53:26 +09:00
Cohee fc17f42f93 Change flag hint for ooba 2023-11-14 00:36:34 +02:00
Cohee b6fb624c99 Change flag hint for ooba 2023-11-14 00:36:04 +02:00
Cohee 5fe8f70eb1 #1345 Add API endpoint for web search interaction 2023-11-14 00:16:41 +02:00
Cohee 61764a9a21 Change mancer base URL via debug menu 2023-11-13 11:13:39 +02:00
RossAscends 52c07e0895 setup Aphrodite-specific API flag handling 2023-11-13 16:36:01 +09:00
Cohee 25f1afa628 Fix lab mode class 2023-11-13 01:49:36 +02:00
Cohee e29bcde1d3 Localization hotfix 2023-11-13 01:45:46 +02:00
Cohee 8ff4599e8a Merge branch 'release' into staging 2023-11-12 23:29:13 +02:00
Cohee 6c02a12e88 Proper manual input debounce 2023-11-12 23:28:34 +02:00
Cohee 8fd5a5886b #1347 Localization hotfix 2023-11-12 23:20:32 +02:00
Cohee 31d6c97e70 #1347 Localization hotfix 2023-11-12 23:20:14 +02:00
Cohee d3e5f6ebc0 #1343 Move bypass check up 2023-11-12 23:08:24 +02:00
Cohee 0d4e5c31e2 Code clean-up 2023-11-12 22:35:17 +02:00
Cohee 9a1d1594d6 Fix formatting in openai.js 2023-11-12 22:14:35 +02:00
Cohee cd440f6539
Merge pull request #1350 from artisticMink/feature/openrouter-grouping-and-sorting
Feature/openrouter grouping and sorting
2023-11-12 22:13:40 +02:00
Cohee 5bcd49b7ca More concise UI texts, fix button spam clicks 2023-11-12 22:12:16 +02:00
Cohee 2092f849f7 #1348 Show a full screen loader when bulk deleting characters 2023-11-12 21:58:43 +02:00
artisticMink cc0b4e8174 Access oai_settings instead of dom 2023-11-12 20:55:29 +01:00
Cohee 6e9c6a14f7
Update index.html 2023-11-12 20:35:53 +02:00
artisticMink 3bbbf0d8e4 Put openrouter model sorting in drawer
Renames 'Infinity'k tokens to 'Free'
2023-11-12 19:02:41 +01:00
artisticMink cb2644cdea Add sorting for openrouter models
Alphabetically (default), price, context size
2023-11-12 18:27:56 +01:00
Cohee dd12cacd16 Fix range validation error 2023-11-12 17:27:40 +02:00
RossAscends 4558f856b5 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-12 23:57:54 +09:00
RossAscends 5e28d6f651 'off' labels for kobold, typable zenslider handles 2023-11-12 23:57:51 +09:00
artisticMink a16e34bcef Add optional toggle for grouping openrouter models
By vendor
2023-11-12 15:15:30 +01:00
Cohee 822d9d72ea Force persona creation on avatar uploads. Don't show cropper for images if never resize is enabled. 2023-11-12 15:47:52 +02:00
Cohee adc533070d Throttle silly animals to one change per minute 2023-11-12 13:26:38 +02:00
Cohee 7afe9e6481 #1343 Add status check bypass 2023-11-12 13:23:46 +02:00
Cohee efe2a06976 Add null checks for OR pricing 2023-11-12 13:08:22 +02:00
Cohee 4c0b3fb7ae Add null checks for OR pricing 2023-11-12 13:07:57 +02:00
RossAscends 86caffb1c6 Ooba ZenSlider QoL: "Off" for disabled val sampler 2023-11-12 18:22:21 +09:00
RossAscends 583de0d0e7 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-12 17:23:33 +09:00
RossAscends 986eef9830 fix zenslider and labmode compatibility check 2023-11-12 17:23:29 +09:00
Cohee 35c5d4e528 SD interactive mode fixes 2023-11-12 02:35:37 +02:00
Cohee 6f061adc1e Add OpenAI TTS provider 2023-11-12 02:28:03 +02:00
Cohee a42c1fc581 Hide MinP under a feature flag. Send Miro to Horde 2023-11-12 01:12:14 +02:00
Cohee 59f7147271
Merge pull request #1342 from ThisIsPIRI/maxcontext
Fix context size counter when size is unlocked
2023-11-12 00:27:24 +02:00
Cohee 879502c1e7 Only allow inlining if OAI is the selected API 2023-11-12 00:13:30 +02:00
Cohee 2c4f53e7b5 Add native GPT-4V image inlining 2023-11-12 00:09:48 +02:00
ThisIsPIRI ab5b0cb1db Fix context size counter when size is unlocked 2023-11-12 06:32:04 +09:00
Cohee 5d34c8aef5 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-11 21:53:15 +02:00
Cohee 10264367aa WI editor visual QoL 2023-11-11 21:53:11 +02:00
Cohee 25b549b034 WI custom order (slight return) 2023-11-11 20:16:57 +02:00
Cohee f79eaa4c8b Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-11 18:25:47 +02:00
Cohee 91a1cc81a0 #1242 Add aux field selector 2023-11-11 18:25:43 +02:00
Cohee f1d0e39d39 Require a name for dummy personas 2023-11-11 16:39:54 +02:00
Cohee 8a8880fca1 Visual touch-up 2023-11-11 16:31:13 +02:00
Cohee 21fec42172
Merge pull request #1339 from majick/supertemp
Increase kobold max temp to 4.0
2023-11-11 16:14:23 +02:00
Cohee a02504381a Forbid trigger command while the group is generating 2023-11-11 16:12:02 +02:00
Cohee 303026e01f Nested bogus folders + back button 2023-11-11 14:53:08 +02:00
majick b445d549db Increase kobold max temp to 4.0
Not only is a higher temp accepted by the back end, but it's just about necessary
in order to make use of Minimum P sampling.
2023-11-10 18:49:53 -08:00
Cohee 7e2ec3ea43 Disable bulk edit for bogus folders 2023-11-10 22:18:48 +02:00
Cohee 066f74ed46 Fix grid view for bogus folders 2023-11-10 22:02:27 +02:00
Cohee cb1e254cb9 Add tags as folders display mode 2023-11-10 21:56:25 +02:00
Cohee cfba379777 Hide injection depth input block for relative position 2023-11-10 15:36:42 +02:00
Cohee 9a3d239e6d Add error handing for managing extensions 2023-11-10 10:25:34 +02:00
RossAscends 024581de84 dont gaslight user to click zenSlider numbers 2023-11-10 16:31:47 +09:00
RossAscends dfb8a85eed let loose the Mad Labs 2023-11-10 16:17:38 +09:00
Cohee 2f5e7778cc Don't add items of unknown type to chat completion 2023-11-10 01:08:18 +02:00
Cohee 4e55126606 Replace the link to Turbo tokenizer 2023-11-10 00:57:36 +02:00
Cohee 3cc8d982d5 Move regenerate up in the list 2023-11-10 00:55:39 +02:00
Cohee bc2b3e9c4e
Merge pull request #1337 from artisticMink/hotfix/bulk-edit-enhanced
Fixes for bulk editing overlay
2023-11-10 00:10:27 +02:00
Cohee 3a5cd5d202 Close context menu if open when clicking on group 2023-11-10 00:04:16 +02:00
Cohee 7385de8cf8 Adjust position if context menu is outside of viewport 2023-11-09 23:55:14 +02:00
Cohee e6fcefd4d1 Fix adding duplicate tags via bulk menu 2023-11-09 23:41:26 +02:00
Cohee 1f89e5a02a Merge branch 'release' into staging 2023-11-09 23:30:12 +02:00
Cohee 34df781699 Make checkboxes brighter than text 2023-11-09 22:50:25 +02:00
Cohee 81fe9aa699 Fix updated tokenization via ooba API 2023-11-09 19:39:08 +02:00
artisticMink b2b4be5452 Fix documentation typo 2023-11-09 15:24:24 +01:00
artisticMink b56fb69eca Prevent deselecting of pointer target character on menu close 2023-11-09 15:18:59 +01:00
artisticMink 2f7e34f66c Close context menu when tapping on character 2023-11-09 15:03:49 +01:00
artisticMink 2174eb8149 Add i18n attributes to context menu 2023-11-09 15:02:56 +01:00
RossAscends 0a409c8c54 Kobold zenSlider, sampler reordering, HTML cleanup 2023-11-09 18:31:44 +09:00
RossAscends 19c5aca404 no more mid-edit swipes 2023-11-09 14:40:14 +09:00
Cohee d9d61e479d Bypass generation for QR slash commands 2023-11-09 03:19:57 +02:00
Cohee f2a96427a8 TTS: add slash command to speak 2023-11-09 02:57:40 +02:00
Cohee ca1c0e35b1 TTS: force speak on first message in new chat 2023-11-09 01:30:54 +02:00
Cohee 0e89bf90bc Use correct tokenizers for logit bias for Mistral and Llama models over OpenRouter 2023-11-09 01:03:54 +02:00
Cohee 1f36fe5193 Fix weird display of macros in help command 2023-11-08 23:56:58 +02:00
Cohee 9aada5837f Fix opening chats in manage chats for export and deletion. 2023-11-08 23:50:25 +02:00
Cohee 9667b82599 Fix /del command (for real this time) 2023-11-08 23:42:44 +02:00
Cohee aae8707460 Tiny spelling mistake 2023-11-08 23:30:38 +02:00
Cohee bfbdb9f058 Fix /del command 2023-11-08 23:27:03 +02:00
Cohee 6dc5906229 Add ranges to /cut slash command 2023-11-08 23:04:32 +02:00
artisticMink 798099aaaf Prevent context menu from overlapping popup 2023-11-08 21:30:26 +01:00
artisticMink fa452e94b0 Prevent loss of selected characters when closing menu 2023-11-08 21:22:00 +01:00
artisticMink b8540a190b Prevent groups from being clicked.
Includes visual indication.
2023-11-08 20:52:34 +01:00
artisticMink 7e3c155e37 Unify access to character block container 2023-11-08 19:29:50 +01:00
smirgol 4f0935c494 better deep clone of message object. re-initalize ttsLastMessage after changing chats 2023-11-08 19:08:42 +01:00
Cohee 606f2bd9bb Allow deleting the first message 2023-11-08 19:55:54 +02:00
artisticMink b7b478eea8 Cancel long-press on mouseup, touchend
Fixes menu opening multiple times in different position when a user selects quickly and ends with a long-press.
2023-11-08 18:48:35 +01:00
Cohee 480099ee97 Mancer will work in legacy API mode. Remove Soft Prompt mentions. 2023-11-08 18:16:47 +02:00
Cohee 2a5a780f3b Clarify ooba streaming error text 2023-11-08 18:01:41 +02:00
Cohee 3632a01e36 Adjust checkbox text alignment 2023-11-08 17:56:22 +02:00
Cohee 738c1d82c4 Clarify legacy API notification 2023-11-08 17:54:08 +02:00
smirgol 91266c831c fix tts re-trigger for complete/autocomplete/delete
fix re-trigger tts from start if text was added to chat by auto-continue
fix re-trigger tts from start if text was added by continue button
fix re-trigger of tts when message(s) got deleted
2023-11-08 16:40:47 +01:00
Cohee d81354e2a5 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-11-08 16:29:02 +02:00
Cohee dbf995fd24 Add character card macros 2023-11-08 16:28:55 +02:00
RossAscends d8fd4c4767 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-11-08 23:24:30 +09:00
RossAscends a5fd33d08a Kobold sampler restyle 2023-11-08 23:24:28 +09:00
Cohee d144831569 #1332 Fix group chat branching 2023-11-08 13:26:50 +02:00
Cohee 8f812d6a19 Add more aliases to image slash command 2023-11-08 12:08:13 +02:00
Cohee 740f6548a2 Increase timeouts of OAI out of quota requests 2023-11-08 12:07:14 +02:00
Cohee b3ced2c4c5 Rename SD extension to "Image Generation" 2023-11-08 10:57:37 +02:00
Cohee cbc0b41773 Prevent doubled legacy toast 2023-11-08 10:28:02 +02:00
Cohee b6d29d2980 Return force /api append for Legacy ooba with relaxed URL off 2023-11-08 10:25:49 +02:00
Cohee e76c18c104 Legacy ooba API compatibility shim 2023-11-08 10:13:28 +02:00
RossAscends a98c275445
Merge pull request #1335 from bdashore3/staging
Chats: Fix past chat fetching
2023-11-08 14:48:36 +09:00
RossAscends 14ad73872b
Merge pull request #1334 from majick/minp-precision
Increase the precision of the Min P slider and counter.
2023-11-08 14:47:00 +09:00
kingbri 8155b1c365 Chats: Fix past chat fetching
Includes checks if an element of the array includes a character ID,
but the array contains characters. We want to check if the value
at the specified index exists in the first place.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-11-08 00:46:26 -05:00
RossAscends 00c029a65a only api format for ooba, more visible checkboxes 2023-11-08 14:08:51 +09:00
majick 24ed0ea186 Increase the precision of the Min P slider and counter.
The most useful values of Min P are very low, between 0.01 and 0.05.
With a precision of 0.1, users have very few usable values to choose
from, while the back end can accept an arbitrary float.
2023-11-07 19:59:32 -08:00
Cohee 865256f5c0 Fix ooba tokenization via API. Fix requiring streaming URL to generate 2023-11-08 03:38:04 +02:00
Cohee b2629d9718 Refactor status checks and indicators. 2023-11-08 02:52:03 +02:00
Cohee 44f77f3bb3 Fix mobile scrolling. Increase press timeout. Cancel longpress on scroll 2023-11-08 01:10:51 +02:00
Cohee 48e41d89cb Only override context menu if clicking within character block 2023-11-08 00:59:09 +02:00
Cohee bda15ef007 Adjust aphro streaming error parser 2023-11-08 00:25:06 +02:00
Cohee 2c7b954a8d #1328 New API schema for ooba / mancer / aphrodite 2023-11-08 00:17:13 +02:00
Cohee 2d2ff5230c
Merge pull request #1318 from artisticMink/feature/bulk-edit-enhanced
Feature/bulk edit enhanced
2023-11-07 20:47:06 +02:00
Cohee 0a0382def2 Decrease delay to open bulk edit 2023-11-07 20:46:22 +02:00
Cohee bea3b5d720 Re-render character list when done editing. Decrease margin to prevent accidental clicks 2023-11-07 20:43:24 +02:00
Cohee 956a80f082 Add rounding for scroll adjustment value 2023-11-07 20:16:33 +02:00
Cohee 94cf4699e6 Fix neo slider z-fighting in Firefox 2023-11-07 17:03:49 +02:00
Cohee 2639548bdb Adjustable caption prompt and template 2023-11-07 01:58:34 +02:00
Cohee 9698c94ee2 #1324 Add captions via OpenAI and Horde 2023-11-07 01:28:46 +02:00
Cohee 2020d12217 Add new GPT 3.5 turbo model 2023-11-07 00:10:32 +02:00
Cohee 2018a6d94a #1325 Increase precision for Novel typical sampler 2023-11-06 23:43:30 +02:00
Cohee fb5fa8de7c #1325 Increase precision for typical sampler 2023-11-06 23:40:09 +02:00
Cohee 9b0ac48cda Add GPT-4 preview model 2023-11-06 23:29:45 +02:00
Cohee 78e1df28c1 #1325 Increase precision on freq/pres pen for Novel 2023-11-06 23:03:22 +02:00
Cohee 41211137fe #1325 Revert precision changes on some KAI/NAI sliders 2023-11-06 22:58:04 +02:00
Cohee 568f352cf6 [WIP] Placeholder for built-in chat variables 2023-11-06 22:50:32 +02:00
Cohee 1896732f17 Add DALL-E to OpenAI plugin 2023-11-06 21:47:00 +02:00
Cohee 57e845d0d7 Resolve best match tokenizer for itemization. Adjust styles of token counter 2023-11-06 20:25:59 +02:00
Cohee 1a3f100018 Move stop strings post-processing up 2023-11-06 19:19:34 +02:00
artisticMink dbc7f460e4 Change class name for coherence 2023-11-06 17:20:18 +01:00
artisticMink a0f828a2da Do not delete selected characters on cancel 2023-11-06 16:13:34 +01:00