Commit Graph

4611 Commits

Author SHA1 Message Date
Cohee 391c3e9eff Remove dupes, change system prompt 2024-04-19 22:08:31 +03:00
Cohee b8f7db8d43
Merge pull request #2106 from StefanDanielSchwarz/Llama-3-Instruct-presets
Llama 3 Instruct context+instruct presets
2024-04-19 21:40:29 +03:00
RossAscends 1c5e7483e2
add Llama 3 instruct preset 2024-04-20 03:08:54 +09:00
RossAscends c05404f8d5
add Llama 3 context preset 2024-04-20 03:08:16 +09:00
Stefan Daniel Schwarz d5666ab01b Llama 3 Instruct remove chat and example headers 2024-04-19 16:19:53 +02: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
Stefan Daniel Schwarz 8dc30e9da3 Llama 3 Instruct remove newlines before eot_id in story string 2024-04-19 09:50:02 +02: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
Stefan Daniel Schwarz 8467ba3844 Llama 3 Instruct remove newlines after eot_id 2024-04-19 00:54:14 +02: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
Stefan Daniel Schwarz 48fd9c23fb Llama 3 Instruct fix stop sequence 2024-04-18 23:26:40 +02:00
Stefan Daniel Schwarz 8cf116754d Update content index 2024-04-18 23:20:24 +02:00
Stefan Daniel Schwarz e753cdf0fb Llama 3 Instruct context+instruct presets 2024-04-18 23:14:15 +02: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
Cohee d63638541b
Merge pull request #2099 from aisu-wata0/fix_css_decode_style
fix: css `decodeStyles`: remove `</br>` tags before parsing
2024-04-17 11:35:54 +03:00
Aisu Wata fc380fa522 fix: css `decodeStyles`: remove `</br>` tags before parsing 2024-04-17 01:15:55 -03:00
Cohee f1c96eb689
Merge pull request #2093 from Dakraid/feature/fix-zoomed-avatar-click
Fix right click closing the zoomed avatar image
2024-04-15 21:44:32 +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
Cohee a2e6d1da4f Fix loading plugins from default exports 2024-04-14 23:24:03 +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