3602 Commits

Author SHA1 Message Date
Cohee
fb5d998cd0 Allow all macro in story strings 2024-04-21 14:06:33 +03:00
Cohee
dcb98b2969 Substitute macros in TTS text before narrating 2024-04-21 01:02:49 +03:00
Cohee
1e0b76f4fc Unblock Ctrl+1-9 keystrokes 2024-04-20 20:25:21 +03:00
Cohee
3a5886f53a Change generation type from regenerate to normal if the non-streaming generation fails to produce any text 2024-04-20 20:20:51 +03:00
RossAscends
cee1774554 TC/kobold/novel sampler panel layout shuffle 2024-04-21 00:37:03 +09:00
Cohee
33ea3344ff Insert messages to chat load with splice 2024-04-20 02:44:19 +03:00
Cohee
be874f55c4 Add tag name argument to /random command 2024-04-20 02:43:51 +03:00
Cohee
d93379fbd4 Fix recursive split producing repeating chunks 2024-04-20 01:29:43 +03:00
Cohee
2a2a63c52c Add Perplexity as Chat Completion source 2024-04-20 00:09:38 +03:00
Cohee
366e2abb8b Move expressions LLM request setting mode listener 2024-04-19 23:01:31 +03:00
Cohee
0b6bb59955 Try optimize slash autocomplete 2024-04-19 22:46:49 +03:00
RossAscends
210caace4a Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-04-19 21:02:05 +09:00
RossAscends
db3d86cb29 optimize slash command helper popup 2024-04-19 21:02:02 +09:00
Cohee
4a5d952800 Fix script comments. Add type hints 2024-04-19 14:19:57 +03:00
Cohee
41a4de7224 Limit slash autocomplete 2024-04-19 13:35:36 +03:00
RossAscends
39b305621e reduce .mes top-margin on flat chat 2024-04-19 17:35:08 +09:00
Cohee
794786da43 Remove unnecessary delays in the prompt builder.
This is no longer needed since the async token counter won't block the UI thread during the request preparation.
2024-04-19 02:08:18 +03:00
Cohee
2333fe64d0 #2107 Check for null reference in prompt manager settings init 2024-04-19 01:46:15 +03:00
Cohee
5084b4ae64
Merge pull request #2103 from LenAnderson/fix-popup-escape
only close last popup with escape
2024-04-19 01:15:03 +03:00
Cohee
eab545cafc Error handling for Comfy request 2024-04-19 00:39:04 +03:00
Cohee
901ffa3cdc Add char and user avatar placeholders to ComfyUI workflow editor
They resolve to base64 encoded data URIs of respective avatars.
2024-04-19 00:32:38 +03:00
Cohee
0faa7d3c75 Replace {{name}} macro in system prompt prefix 2024-04-18 23:15:24 +03:00
Cohee
16a2ac0bbe Add missing awaiters to getQueryText 2024-04-18 22:58:14 +03:00
Cohee
cc1c3f173c
Merge pull request #2097 from Dakraid/feature/summarize-before-embedding
Summarize the chat messages handed to the embedding beforehand
2024-04-18 22:49:34 +03:00
Cohee
5e18b1872b Hide vector summarization unless chat vectors is enabled 2024-04-18 22:32:01 +03:00
LenAnderson
0ab5ddf763 use elementFromPoint instead of popup stack 2024-04-18 14:03:16 -04:00
Cohee
0a54eeaf44 Add output value to /cut command 2024-04-18 18:12:10 +03:00
LenAnderson
9fee731cac only close last popup with escape 2024-04-18 09:23:52 -04:00
Cohee
d281767867 Add /caption command 2024-04-18 16:22:33 +03:00
RossAscends
75afe29f28 don't force amt_gen to model max on mancer model swap 2024-04-18 11:10:17 +09:00
Kristan Schlikow
abd8acd9fc
Add experimental flask icon with title 2024-04-17 20:35:51 +02:00
Kristan Schlikow
977c1d4ac4
Add missing hr to the settings html 2024-04-17 20:35:51 +02:00
Kristan Schlikow
21b5bb5a29
Rearrange settings 2024-04-17 20:35:51 +02:00
Kristan Schlikow
10692523f0
Improve settings, add settings for prompt, sent message summarize toggle 2024-04-17 20:35:50 +02:00
Kristan Schlikow
a022c9eccb
Set css class for summary dropdown in vectors 2024-04-17 20:35:50 +02:00
Kristan Schlikow
4cfd0c71cf
Add extras summarization API, fix missing substitution of placeholders 2024-04-17 20:35:49 +02:00
Kristan Schlikow
a1473dedd0
Make summarization toggleable 2024-04-17 20:35:49 +02:00
Kristan Schlikow
59abee3043
Summarize the chat messages handed to the embedding beforehand 2024-04-17 20:35:48 +02:00
Cohee
8a4b675143 Disable-able chat history and examples 2024-04-17 21:23:06 +03:00
Aisu Wata
fc380fa522 fix: css decodeStyles: remove </br> tags before parsing 2024-04-17 01:15:55 -03:00
Kristan Schlikow
d4d23f8234
Only close on left click 2024-04-15 20:38:59 +02:00
Kristan Schlikow
2fcbefc9f5
Fix right click closing the zoomed avatar image 2024-04-15 20:35:38 +02:00
Cohee
341f02e425 Fix default classify API migration 2024-04-15 04:04:30 +03:00
Cohee
8ce6872d6f #2091 Extend custom OAI API type input caps 2024-04-15 02:04:41 +03:00
Cohee
f7eb57082a
Merge pull request #2090 from Dakraid/feature/zoomed-avatar-tweaks
Adjust style and add magnification to zoomed avatar
2024-04-15 00:44:27 +03:00
Cohee
4a553e1fc8 Merge branch 'release' into staging 2024-04-15 00:26:43 +03:00
Cohee
789bb0da59 Fix extensions update loop 2024-04-15 00:24:15 +03:00
Kristan Schlikow
54eec3e215
Separate handling for closing for mobile and desktop
Clicking on the image only closes on desktop now, while on mobile the close button has to be pressed as touch is used for the magnification
2024-04-14 22:17:38 +02:00
Cohee
1e088ac124 Fix /proxy command to return a name 2024-04-14 21:31:59 +03:00
Cohee
f19d6ac0ff Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2024-04-14 21:28:28 +03:00