4978 Commits

Author SHA1 Message Date
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
Cohee
2a08916efe
Merge pull request #2587 from SillyTavern/fix-lazy-loading-chat-when-empty
Fix "show more messages" on empty chat
2024-07-30 18:21:13 +03:00
Wolfsblvt
0c50de2f44 tiny change in intention clarity 2024-07-30 17:00:13 +02:00
steve green
ba9b16191f
Update 'zh-cn' translation (#2583)
* Update world-info.js

- make the rename button is also available in case of WIbook corruption.
- make the WI engine doesn't crash when certain entrys with `content === null`.

* Update zh-cn.json

* Part revert "Update world-info.js"

This part reverts commit 0693c9c400145dce0f9fed5480e71160d3544eca.
2024-07-30 17:20:10 +03:00
splitclover
89ca8329b7
Added event after generate data, export sendStreamingRequest and sendGenerationRequest 2024-07-30 16:07:46 +02:00
Kas1o
ccb3128b66 fix typo 2024-07-30 06:56:11 +00:00
Wolfsblvt
bb4aa709e6 Fix "show more messages" on empty chat
- Fixes lazy loading of chat when all messages were deleted
- Fixes #2586
2024-07-30 01:13:43 +02:00
Wolfsblvt
87a563e7d2 Remove wrong css class 2024-07-29 20:30:06 +02:00
Wolfsblvt
74c0a194fd Update tag restore popup text 2024-07-29 20:17:34 +02:00
Wolfsblvt
0c2df51e2c Fix importing char on some formats
- Fix importing chars mime types failing on addition mime type information that was not expected (like utf format)
2024-07-29 04:09:13 +02:00
Wolfsblvt
4408f52c79 Fix tag backup import not refreshing popup 2024-07-29 02:33:36 +02:00
Wolfsblvt
1738e8a48d Update merged/replaced tag map links
- On both skip and replace, tag map could run into issues with old IDs being referenced. Fixed that by building a mapping for the actual ID that will be the result.
2024-07-29 00:05:35 +02:00
Wolfsblvt
105f54ac72 Check on existing tag names too 2024-07-28 23:41:28 +02:00
Wolfsblvt
c026becb6d Add toastr click popup on tag restore warnings 2024-07-28 23:20:33 +02:00
Wolfsblvt
6328bfa0a3 Prompt for overwrite on tag backup restore 2024-07-28 22:51:22 +02:00
Wolfsblvt
0dfd31430c Add Popup.show.text 2024-07-28 22:39:11 +02:00
Wolfsblvt
b1f17af9fb Change default tag alpha to 0.5 2024-07-28 21:54:15 +02:00
Cohee
82a633da57 Add toggle for names as stop strings
Closes #2556
2024-07-28 22:22:36 +03:00
Wolfsblvt
d031a659a4 Tag as folder selector more specific
- Make tag_as_folder CSS selector more specific. Fixes falsely applied greyscale
2024-07-28 20:27:13 +02:00
Wolfsblvt
abf9f526c0 Fix tag colors resetting on sorting
- That workaround is not needed anymore. Colors are now always set on printing the tag list items
2024-07-28 20:23:28 +02:00
Cohee
712f8a56e4
Merge pull request #2578 from SillyTavern/improve-building-CONNECT_API_MAP
Improve building CONNECT_API_MAP
2024-07-28 21:08:28 +03:00
Cohee
83858d496d Fix iOS Firefox viewport position when navigating from login 2024-07-28 14:08:25 +03:00
Cohee
bdafa09c1b
Merge pull request #2572 from SillyTavern/theme-command-improvements
/theme allows returning current theme & fix /theme and /bg doc
2024-07-28 11:51:41 +03:00
Cohee
e45e89ce16
Merge pull request #2577 from joenunezb/fix-handle-text-response-from-sendas
Fix: Properly handle text responses when character name is not provided in sendas cmd
2024-07-28 11:28:33 +03:00
Cohee
e16740a99a
Merge pull request #2573 from steve02081504/patch-4
Update zh-cn.json
2024-07-28 11:23:38 +03:00
Wolfsblvt
5aad29bd5b Improve building CONNECT_API_MAP
- Automatically fill `CONNECT_API_MAP` based on the registered text comp and chat comp APIs.
- Allow custom APIs and custom overrides to be set first.
2024-07-28 07:11:12 +02:00
Wolfsblvt
2447658a45 Add featherless to /api 2024-07-28 06:42:40 +02:00
joenunezb
211c671cb6 FIX: Properly handle text responses when character name is not provided in sendas cmd 2024-07-27 21:29:37 -07:00
steve02081504
755267bfb6 fix of empty data-i18n keys 2024-07-28 10:21:18 +08:00
steve green
5caf0e8359
Update zh-cn.json 2024-07-28 10:20:19 +08:00
Wolfsblvt
d46fd9d174 Fix WI reloading on slash commands 2024-07-28 04:17:45 +02:00
Wolfsblvt
6b1045ab52 Update /bg docs to match the actual command 2024-07-28 01:17:11 +02:00
Wolfsblvt
c2e6903b30 Allow /theme command to return current theme
- Add empty args to return theme name on /theme call
- Improve help string docs for /theme
2024-07-28 01:15:55 +02:00
Cohee
87e562b752 Allow "none" position for extension prompt injects 2024-07-28 00:26:44 +03:00
Cohee
1ad57e6ff6
Merge pull request #2568 from SillyTavern/wi-apply-sorting-order-fix
Fix apply WI sorting to order field
2024-07-27 21:44:02 +03:00
Cohee
d37d6faa9f Fix chat width and font scale not applying on manual input 2024-07-27 21:38:03 +03:00
Cohee
84c384f255
Merge pull request #2569 from SillyTavern/more-sensible-wi-ui-sorting
More sensible UI WI entries sorting
2024-07-27 21:19:37 +03:00
Wolfsblvt
5e2e48c84d More sensible UI WI entries sorting
- Use same secondary/tertiary sorting for all sortings
- Refactor and streamline code
2024-07-27 19:56:14 +02:00
Cohee
1b570bf16f Fix empty chats not showing in chat manager 2024-07-27 20:37:14 +03:00
Wolfsblvt
ad65fbc1fc Fix apply WI sorting to order field
- Fix using wrong values because of displayIndex
- Expand it to take any current sorting, not just the "custom" one
2024-07-27 19:27:55 +02:00
Cohee
8dd5d9321d Fix gallery duplicate uploads 2024-07-27 18:00:30 +03:00
Cohee
e1700f9a14 Fix gallery paging overflow 2024-07-27 16:35:00 +03:00
Cohee
ad387a7464
Merge pull request #2564 from SillyTavern/instruct-mistral-large
Add first/last user messages prefixes for instruct mode
2024-07-27 16:08:28 +03:00
Cohee
d214c18156 #2566 Cache expressions list for LLM API 2024-07-27 13:57:39 +03:00
Cohee
39c63dc78b Add user first and last prefixes for instruct 2024-07-26 23:10:09 +03:00
Cohee
443ef36653
Merge pull request #2563 from Succubyss/timestamp-minor-refactor
refactor: timestampToMoment, parseTimestamp
2024-07-26 22:58:00 +03:00
Cohee
475eca6fca Force save new chats without 1st message 2024-07-26 22:12:14 +03:00
Cohee
ff5d5fcc5e Forbid double initialization on opening a chat with 1 message 2024-07-26 21:56:36 +03:00
Cohee
a2661b2c48
Merge pull request #2560 from SillyTavern/dupe-persona
Dupe persona
2024-07-26 19:47:51 +03:00