Commit Graph

6081 Commits

Author SHA1 Message Date
Himickoff
00350df82d Fix for other languages
But again small problem with decodig
2024-07-14 01:29:33 +07:00
Himickoff
9cdf2216a2 Now formating apply only for russian language 2024-07-14 00:58:59 +07:00
Himickoff
c0d05040e6 Fix syntax 2024-07-14 00:42:05 +07:00
Himickoff
898657dde4 Improved rus google translate 2024-07-14 00:32:19 +07:00
Himickoff
8e17117854 Fix quartes
Google translator, when translating direct speech, for some reason adds an additional quotation mark, which breaks the syntax
1.Before submitting text for translation, we replace all quotation marks with special markers (__OPEN_QUOTE__ and __CLOSE_QUOTE__).
This ensures that quotes are not changed or deleted during translation.
2.Similarly, we replace asterisks with markers (__OPEN_STAR__ and __CLOSE_STAR__).
3.After receiving the translated text, we replace all markers back to the corresponding characters.
2024-07-13 19:13:08 +07:00
Himickoff
bf682be17a Translate fix
Fix problem when Googole Transtale replace "" on «» during translation, what broke the syntax
2024-07-13 18:42:30 +07:00
Cohee
5bb20519b7 Merge pull request #2518 from SillyTavern/update-presets
Update presets
2024-07-13 14:25:06 +03:00
Cohee
9f17097976 Normalize SD prompt strings 2024-07-13 12:20:13 +03:00
Cohee
31dbb5144e Don't sanitize lt and gt from SD prompts 2024-07-13 12:12:50 +03:00
Cohee
63c5330920 Fix variable shadowing 2024-07-13 11:52:43 +03:00
Cohee
974f142f24 Replace {{name}} macros in instruct suffixes 2024-07-13 00:16:31 +03:00
Cohee
230e6cd142 Update default textgen presets 2024-07-12 23:54:26 +03:00
Cohee
6167f50a89 Remove dead property from default settings 2024-07-12 23:52:55 +03:00
Cohee
6c03a61788 Exclude streaming and multiswipe from textgen presets 2024-07-12 23:43:21 +03:00
Cohee
2232a4fbd7 Merge pull request #2510 from LenAnderson/proxy-confirm
ask user to confirm proxy connections
2024-07-12 23:17:15 +03:00
Cohee
c684d23476 Make chat scrolling events passive 2024-07-12 22:37:47 +03:00
Cohee
df86ec6a5d Merge pull request #2517 from Succubyss/patch-3
sendTextArea: The same ... but prettier!
2024-07-12 22:37:17 +03:00
Succubyss
5d7c204678 sendTextArea: the same but prettier
and also no jQuery
2024-07-12 14:17:13 -05:00
Cohee
0a0fc0141c Limit edit textarea height to 75% 2024-07-12 21:39:32 +03:00
Cohee
3a0b4ec41d Update popup usage 2024-07-12 21:14:36 +03:00
Cohee
63ecf3b398 Remember proxy without confirmation 2024-07-12 21:11:06 +03:00
Cohee
22831d5517 Merge branch 'staging' into proxy-confirm 2024-07-12 21:05:45 +03:00
Cohee
63ddb81ef7 Don't autofit immediately if a scrollbar is visible at max height 2024-07-12 21:01:15 +03:00
Cohee
3acd60fcab Switch back to regular debounce 2024-07-12 16:03:43 +00:00
Cohee
684ce999f3 Remove getComputedStyle calls 2024-07-12 16:01:20 +00:00
Cohee
a57d994913 Calculate new height after setting min height 2024-07-12 07:29:42 +00:00
Wolfsblvt
4c7e5fbd60 Allow popup buttons returning 'null' for cancelled 2024-07-12 00:29:16 +02:00
Cohee
c90a25e0cd Fix import syntax 2024-07-12 01:19:34 +03:00
Cohee
dcb416cb00 Merge pull request #2509 from SillyTavern/preset-manager-popups
Preset manager popups
2024-07-12 01:17:05 +03:00
Cohee
f74c212945 Fix popup type 2024-07-12 01:12:25 +03:00
Cohee
f53fa0d19d Add missing await 2024-07-12 01:09:46 +03:00
Wolfsblvt
f2089ed994 Linting in world-info.js 2024-07-11 23:23:26 +02:00
Cohee
3809d3d4ac Add import confirmation 2024-07-12 00:15:42 +03:00
Cohee
a64a2dd83e Export confirmation of sensitive preset fields 2024-07-12 00:00:39 +03:00
Wolfsblvt
240f3f2c49 fix linting issues in enum providers 2024-07-11 22:49:32 +02:00
Wolfsblvt
8cbb80f44f Change 'world' enum provider query field, not UI 2024-07-11 22:43:56 +02:00
Wolfsblvt
63a0ebb885 Move openai slash commands to init function 2024-07-11 22:43:25 +02:00
Cohee
b80ed958ae Run summarize after QR execution 2024-07-11 22:26:49 +03:00
Cohee
a6e58845cc #2515 Use /cut in /del 2024-07-11 21:35:39 +03:00
Cohee
e22b18ce80 Don't overextend edit textarea height 2024-07-11 21:25:52 +03:00
Cohee
4895b6def8 Use enumList for /fuzzy 2024-07-11 21:19:09 +03:00
Cohee
c4aed23cf7 Don't overextend input textarea height on autofit 2024-07-11 21:18:26 +03:00
Cohee
aadc8d74a2 #2513 Add 'mode' argument for /fuzzy 2024-07-11 21:05:42 +03:00
Cohee
9754d5361f Decreate edit textarea debounce duration 2024-07-11 15:37:30 +00:00
Cohee
ac9e87bc53 Merge pull request #2508 from Therosin/staging
Includes captioning error messages in toast
2024-07-11 10:29:09 +03:00
LenAnderson
47eb12750d undo no chat names 2024-07-10 21:47:42 -04:00
LenAnderson
aebfefb3a2 ask user to confirm proxy connections 2024-07-10 20:54:09 -04:00
Wolfsblvt
3983eef827 fix linting issue 2024-07-11 01:38:28 +02:00
Wolfsblvt
307a579f80 Move preset manager popups to new Popup 2024-07-11 01:37:56 +02:00
Theros
51f09c1382 Changes: use Fail message as toast title, only show actual message with fallback. 2024-07-11 00:12:39 +01:00