Commit Graph

4107 Commits

Author SHA1 Message Date
Cohee
a9700c0ff0 Small fixes 2024-08-20 10:53:37 +00:00
Alex Yancey
ea0508b910
Update settings.html 2024-08-20 01:33:14 -07:00
Alex Yancey
48f0c48a5b
Update public/scripts/extensions/stable-diffusion/index.js
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-08-20 01:31:57 -07:00
Cohee
e3f010782d Revert underscore italics regex part 2024-08-20 11:03:40 +03:00
Alex Yancey
135ba2336e Hugging Face inference API for image generation 2024-08-19 23:02:15 -07:00
Wolfsblvt
550feddf82 Improve WI Character Filter description 2024-08-19 23:37:10 +02:00
Cohee
df56b9bb4c Force reload flag 2024-08-20 00:11:22 +03:00
Cohee
112200ae32 Prevent duplicate toasts 2024-08-20 00:08:36 +03:00
Cohee
a4ee73a3a7 Make onClose async too 2024-08-19 23:58:36 +03:00
Cohee
bc7660bba6 Require to save settings before reloading. 2024-08-19 23:49:15 +03:00
Wolfsblvt
df3926bf1a Log if tags couldn't be imported 2024-08-19 21:45:36 +02:00
Wolfsblvt
29a1f777dc Tag import fixed, again. (accepts char avatar key) 2024-08-19 21:23:22 +02:00
Cohee
696c83f96d [chore] Fix eslint 2024-08-19 21:36:28 +03:00
Cohee
d77363cd7c Merge branch 'staging' into feat/xtc 2024-08-19 21:35:35 +03:00
Cohee
976be98dd7 Move command registration 2024-08-19 21:31:58 +03:00
Wolfsblvt
b68969ee3b Small update to enum display + consistency 2024-08-19 20:18:44 +02:00
Eugén Cowie
62818055af Get available tokenizers from UI 2024-08-19 15:51:11 +01:00
Vitor
e28257096a added xtc parameter for ooba 2024-08-19 01:32:45 -03:00
Eugén Cowie
5f92b8a09e Add slash command to set tokenizer 2024-08-19 00:39:15 +01:00
Cohee
44e62156b7
Merge pull request #2679 from SillyTavern/codeblock-underscores
Don't replace underscore italics inside of code blocks
2024-08-19 01:41:35 +03:00
Cohee
138d6877f7 Replace underscores in HTML output 2024-08-19 01:26:27 +03:00
Succubyss
43e64cffa2 use push instead of fixed size array 2024-08-18 15:37:31 -05:00
Succubyss
d263e3e33a switch to filter method 2024-08-18 14:44:48 -05:00
Succubyss
5e354f22c5 getMessagesCallback: refactor to async 2024-08-18 14:23:21 -05:00
Wolfsblvt
cfb40cae0b Only count popups as open which are "open" 2024-08-18 16:42:10 +02:00
Cohee
f8dbe262c7 Fix for single backticks with line breaks 2024-08-18 14:22:31 +03:00
Cohee
5f3dddfe21 Fix for unmatched triple backticks 2024-08-18 14:21:50 +03:00
Cohee
e137c5d154 Fix for unmatched single backticks 2024-08-18 14:15:22 +03:00
Cohee
c0c09f9a5d Don't replace underscore italics inside of code blocks 2024-08-18 13:58:47 +03:00
Cohee
9215dfd0c6 Replace macros in DRY sequence breakers 2024-08-18 13:50:58 +03:00
Cohee
cd9d2001c7 Merge branch 'staging' into enable-autoselect-inputs 2024-08-18 12:35:31 +03:00
Cohee
86af35afdd
Merge pull request #2677 from SillyTavern/popups-suppress-default-hotkeys
Open popups should block all default hotkeys
2024-08-18 12:33:58 +03:00
Cohee
abdf1f29cf Add support for Kobold Classic 2024-08-18 12:18:06 +03:00
Cohee
7b3d13ac00 Move command from script.js 2024-08-18 12:02:15 +03:00
Wolfsblvt
484d2b59ac Add schmoggle for auto select input 2024-08-18 03:38:07 +02:00
Wolfsblvt
298baed59f Open popups should block all default hotkeys
- Fixes #2570
2024-08-18 03:16:29 +02:00
Wolfsblvt
28a9c45c31 /api-url slash command to get/set server url 2024-08-18 01:05:25 +02:00
Cohee
d57272c166
Merge pull request #2663 from d-ber/bulkTagImport
Add bulk tag import
2024-08-18 00:34:39 +03:00
Cohee
961878c341 Add chatgpt-4o-latest to multimodal caption list 2024-08-17 20:58:20 +03:00
err
d02677feec
enable vision for chatgpt-4o-latest 2024-08-17 17:07:29 +02:00
d-ber
0f606642ce Refactor tag import setting override 2024-08-16 22:55:48 +02:00
d-ber
2d476d4461 Use wider css class for bulk tag menu 2024-08-16 22:00:01 +02:00
Cohee
c88edaa4ed Vector Storage: Fix query summarizing for WI and files 2024-08-16 20:49:14 +03:00
Cohee
e707def7dd Add tokenizer for Gemma/Gemini 2024-08-16 00:00:43 +03:00
d-ber
af30991d77 Improve code readability 2024-08-15 17:40:57 +02:00
d-ber
d3ce9ea0d5 Add button to bulk import existing tags 2024-08-15 16:36:57 +02:00
d-ber
651072c61b Add button to bulk import all tags 2024-08-15 16:36:50 +02:00
Cohee
e4d045f03e
Merge pull request #2655 from SillyTavern/image-swipes
Image Generation: Add swipes for generated images
2024-08-15 13:25:22 +03:00
Cohee
156eb37eab Change pollinations models list 2024-08-15 10:06:36 +00:00
Cohee
58db8440ab Invert groupId check 2024-08-15 00:49:50 +03:00
Cohee
e2a2e3869e Merge branch 'staging' into image-swipes 2024-08-15 00:01:11 +03:00
Cohee
bc7ac12317 New ChatGPT model 2024-08-14 20:31:25 +03:00
Cohee
06d300ad36 Quick Replies: Add auto-execute on new chat 2024-08-14 00:08:16 +03:00
Cohee
4fd8d8e0ee Add swipes when using paintbrush 2024-08-13 23:35:49 +03:00
Cohee
e1a29b36f5 Image Generation: Add swipes for generated images
Supersedes #2648
2024-08-13 23:21:00 +03:00
Cohee
53c24174e7 Merge branch 'staging' into webgpu-summary 2024-08-13 20:54:46 +03:00
Cohee
d0b368f29c Vector Storage: change NomicAI key input 2024-08-13 20:50:41 +03:00
Cohee
1842a8ee6d Add buttons to remove SD/translate secrets 2024-08-13 20:43:45 +03:00
Cohee
f17df7d9ad Add remove key button for Azure TTS 2024-08-13 20:33:59 +03:00
Cohee
1883095e39 Move request to backend 2024-08-13 20:29:33 +03:00
Cohee
8921b78f87 Add debug logs to WebLLM completions 2024-08-13 19:57:38 +03:00
Cohee
4888e3c2b0 Vector Storage: summarize with WebLLM extension 2024-08-13 19:34:11 +03:00
Alex Yancey
ab42d6ff82 Quick and dirty attempt at implementing an OpenAI compatible TTS voice provider 2024-08-13 02:07:46 -07:00
Cohee
7d3f544e63 Refactor extension install menu 2024-08-13 01:09:14 +03:00
Cohee
30c19eb8fd Add WebLLM source to /summarize command 2024-08-13 00:57:32 +03:00
Cohee
5b3388d0c8 Use common methods for extras summary 2024-08-12 23:08:11 +03:00
Cohee
8685c2f471 Add WebLLM extension summarization 2024-08-12 23:01:03 +03:00
Cohee
77ab694ea0 Add shared utilities for generating text with WebLLM 2024-08-12 22:07:44 +03:00
Cohee
2ef9d374ec Chat Completion: Don't insert group nudge when impersonating
Closes #2588
2024-08-11 20:55:59 +03:00
Cohee
8df27254fd
Merge pull request #2640 from edk208/release
Adding Block Entropy API endpoints for chat, image, and video generation
2024-08-11 16:19:14 +03:00
Cohee
fcfa15a5ad Add model to presets. Fix restoration on app load 2024-08-11 16:18:24 +03:00
Edward Kim
41247740b1 fixed model in max context 2024-08-10 22:00:26 -04:00
Edward Kim
88ada0f67d fixed ordering in image generation source, and max token length for llm models 2024-08-10 21:55:52 -04:00
Cohee
9af640cdf8
Merge pull request #2635 from SillyTavern/independent-WI-disable
Split WI Entry 'disable' into separate toggle
2024-08-11 00:11:23 +03:00
Cohee
41a3a97925 Clean-up commented code 2024-08-11 00:10:17 +03:00
Edward Kim
08d5a2826f fixed generation endpoints, added animation via gifs 2024-08-10 13:07:52 -04:00
RossAscends
06efdf17d8 clarify regex editor tooltips 2024-08-10 18:12:45 +09:00
RossAscends
ffb374b8f3 clarify Regex editor "only" toggles. 2024-08-10 18:07:39 +09:00
RossAscends
d7d99fa94c add tooltip, efficient-ify class toggling 2024-08-10 17:53:02 +09:00
RossAscends
0dce445375 fix toggle logic and cursors 2024-08-10 13:07:07 +09:00
RossAscends
704058ac36 re-divorce entry active state from trigger strategy 2024-08-10 12:48:47 +09:00
splitclover
dcfeb837a8 Add await to events 2024-08-10 00:44:01 +02:00
splitclover
696ca50652
Merge branch 'SillyTavern:staging' into staging 2024-08-09 23:49:59 +02:00
splitclover
754752c80a Added chat completion import/export events 2024-08-09 23:49:18 +02:00
Cohee
478e1a6bb5
Merge pull request #2629 from SillyTavern/improve-swipe-commands
Improve `/addswipe` and `/delswipe` slightly
2024-08-10 00:48:48 +03:00
Cohee
6683ae810f Replace mobile TTS placeholder text
Closes #2631
2024-08-09 10:17:06 +03:00
Wolfsblvt
7ffc69b83b /delswipe returns current swipe id 2024-08-09 00:38:51 +02:00
Wolfsblvt
2ce58bb0a6 Allow switching on /addswipe
- Add optional "switch" arg to /addswipe
- Make /addswipe return the new swipe id
2024-08-09 00:37:26 +02:00
Edward Kim
b9857eb315 Added block entropy endpoints for chat and image 2024-08-08 00:08:03 -04:00
Cohee
6e1ba5f7e2 Change event handler type for custom CSS
Closes #2624
2024-08-08 00:21:18 +03:00
Cohee
93c7dd50f5 Fix template name case 2024-08-07 22:01:43 +03:00
Cohee
f0b13d3172 Allow wand SD gens when LLM not connected 2024-08-07 20:58:36 +03:00
Cohee
32c48cf9fa Fix default value for OpenRouter Top A 2024-08-07 20:58:19 +03:00
Wolfsblvt
444339e156
Merge pull request #2618 from steve02081504/patch-4
Update zh-cn.json
2024-08-06 11:31:09 +02:00
Wolfsblvt
ed3f028a36 consistent template names 2024-08-06 11:30:17 +02:00
Cohee
c76306d461 Restore CC OpenRouter providers on load 2024-08-06 11:33:56 +03:00
Cohee
76e2586eaf Don't close providers dropdowns on select 2024-08-06 11:27:38 +03:00
Cohee
e45a445ef9 Init textgen model selects before loading settings 2024-08-06 11:22:13 +03:00
steve02081504
02c5a40b98 Crate WorldInfoKeywordHeaders.html 2024-08-06 11:20:19 +08:00
Cohee
0baca3b7d3 Merge branch 'staging' into wi-go-brrrrrr-too 2024-08-06 00:29:24 +03:00
Cohee
6637bc3052 Emit events on caption and SD image messages 2024-08-05 21:22:40 +03:00
RossAscends
a764e2d6bf AF panel 3column reshuffle, autoComplete to UserSettings, collaspify Auto* settings 2024-08-06 00:39:17 +09:00
Wolfsblvt
bc9eb080e5 Cannot recalc scrollHeight before resetting it
- Fixed Ross' fuck-up. You can thank me later
2024-08-05 07:53:24 +02:00
RossAscends
b48d905c45 initial commit: AF panel textareas >> contentEditable divs 2024-08-05 14:30:15 +09:00
RossAscends
64e716bb62 async for resetScrollHeight, slightly faster WI/AF panel loads 2024-08-05 12:03:46 +09:00
Wolfsblvt
34767e5ce3 Improve performance by half on WI book load 2024-08-05 02:05:27 +02:00
Wolfsblvt
3523ec334d Improve performance on fancy key selector init 2024-08-05 01:06:37 +02:00
Wolfsblvt
4966139fd1 Improve performance of expand/close all WI button 2024-08-05 00:09:50 +02:00
RossAscends
c13ca77bd9 added safety feature: reset MUI panel settings when toggling MUI off 2024-08-04 21:39:24 +09:00
Azariel Del Carmen
5d0581603b
fix: LLM Classifier Defaulting to Last Spoken Character's Expression For All Characters in Group Chats (#2605)
* fix: fix llm expression classifier on group chats

* chore: adjust some things

* fix: exisiting chats defaulting to last character's sent message

* chore: use dual awaits than promise

* chore: restore allSettled and separate await call for llm only

* chore: move classification to generateRaw

* chore: remove characterId

* chore: revert some placements back to how they were

* chore: remove uneeded imports
2024-08-04 13:24:24 +03:00
Cohee
16172b410c
Merge pull request #2598 from NearEDGE/quick-impersonate-regenerate-buttons
Added quick Regenerate and Impersonate buttons
2024-08-04 13:16:05 +03:00
NearEDGE
ea76ec89de Removed quick regenerate button
Response to change request.
2024-08-03 16:56:43 -04:00
Cohee
68de3fed59
Merge pull request #2594 from SillyTavern/sd-stop
Image generation stop handling
2024-08-03 12:06:50 +03:00
Cohee
d5576cd7b7
Merge pull request #2601 from SillyTavern/wi-blackbox-be-gone
WI blackbox begone (Export, document and refactor a bit of the WI API)
2024-08-03 11:57:52 +03:00
Wolfsblvt
d84fef0478 Fix SD wand entry not always being clickable 2024-08-03 00:10:46 +02:00
Wolfsblvt
7d46ca212b Expand/show DS prompt gen error 2024-08-03 00:06:48 +02:00
Cohee
664447d585 Stop propagation on WI entry delete 2024-08-03 00:00:15 +03:00
Wolfsblvt
c9acea8522 fix WI sorting error 2024-08-02 22:44:21 +02:00
Succubyss
366070adee ultra re-addition (just in case), fixed system prompt line 2024-08-02 15:26:15 -05:00
Cohee
7e8b7e128e Sync change with oai_settings 2024-08-02 22:51:29 +03:00
Succubyss
c291564925 gemini: max context, selection revisions, ultra removal 2024-08-02 14:35:48 -05:00
Wolfsblvt
dee4ad8794 Make 'sortWorldInfoEntries' custom sortable 2024-08-02 20:57:55 +02:00
Wolfsblvt
c0039111dd Update delete WI entry to new popup 2024-08-02 20:51:12 +02:00
Wolfsblvt
3897b8c082 Export and doc most of wi functions 2024-08-02 20:42:53 +02:00
Cohee
4b61bcc741
Merge pull request #2600 from Succubyss/gemini-1.5-pro-exp-0801 2024-08-02 21:39:19 +03:00
Succubyss
3f6e4fabb8 gemini updates 2024-08-02 13:30:54 -05:00
NearEDGE
4f76e9e10f Added quick Regenerate and Impersonate buttons
Additional buttons mimic the behavior of the continue button.
2024-08-02 08:17:29 -04:00
Cohee
7498018ac6 Fix incorrectly self-closed div tags 2024-08-02 00:07:30 +03:00
Cohee
41af05769b Add separate imagegen stop button
Closes #2591
2024-08-01 23:57:24 +03:00
Cohee
8892fdc421 Sort textgen model lists alphabetically 2024-08-01 23:21:34 +03:00
Cohee
417335a19d Display context size for featherless models 2024-08-01 23:17:03 +03:00
RossAscends
7acc78db0a embetterify Sampler Select function 2024-08-02 01:01:50 +09:00
Cohee
8ff4a4a36a Don't modify legacy URL path for inappropriate API types 2024-08-01 15:01:38 +03:00
Cohee
40ee236ca8 Add multimodal captioning for 01.ai 2024-08-01 01:34:49 +03:00
Cohee
7b9eb97c7f Support image inlining for 01.ai 2024-08-01 01:15:13 +03:00
Cohee
21d074aa46 Update default Chat Comp models to better ones 2024-08-01 00:51:11 +03:00
Cohee
2871f309c9
Merge pull request #2592 from Succubyss/gemini-maxtemp
Update MakerSuite temperature caps
2024-08-01 00:46:50 +03:00
Cohee
101616c422 Update Perplexity models 2024-08-01 00:43:21 +03:00
Succubyss
4561eca684 correct MakerSuite max temps 2024-07-31 16:20:45 -05:00
LenAnderson
83ba31ba06 Merge branch 'parser-followup-2' of https://github.com/LenAnderson/SillyTavern into parser-followup-2 2024-07-30 16:01:16 -04:00
LenAnderson
88d3771863 compile LESS 2024-07-30 16:00:41 -04:00
LenAnderson
92eec72c6d draw attention to debug buttons 2024-07-30 16:00:32 -04:00
LenAnderson
3343f3122b stop chat input and progress bar from collapsing 2024-07-30 16:00:13 -04:00
Wolfsblvt
c139222aee Merge branch 'staging' into pr/2415 2024-07-30 21:46:08 +02:00
Wolfsblvt
7bb94732dd mark popup complete functions as async 2024-07-30 21:45:19 +02:00
Wolfsblvt
379a4d1e4d add autocomplete color for non-selectable entries 2024-07-30 20:52:58 +02:00
Wolfsblvt
7c27211bc9 QR label alignment/wrapping 2024-07-30 20:51:55 +02:00
Wolfsblvt
023bd840fa Fix QR context error on no set chosen 2024-07-30 19:54:17 +02:00
Cohee
880f986848
Merge pull request #2582 from SillyTavern/improve-tag-backup-restore
Improve Tag Backup Restore functionality
2024-07-30 18:46:22 +03:00
Wolfsblvt
a8f6e5c5f7 purify popup warning string 2024-07-30 17:37:34 +02:00