1150 Commits

Author SHA1 Message Date
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
splitclover
89ca8329b7
Added event after generate data, export sendStreamingRequest and sendGenerationRequest 2024-07-30 16:07:46 +02: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
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
Cohee
82a633da57 Add toggle for names as stop strings
Closes #2556
2024-07-28 22:22:36 +03: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
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
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
1b570bf16f Fix empty chats not showing in chat manager 2024-07-27 20:37:14 +03:00
Cohee
39c63dc78b Add user first and last prefixes for instruct 2024-07-26 23:10:09 +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
807487ce85 Fix streams getting stuck on regen 2024-07-25 08:51:49 +03:00
Cohee
c12a283efc Null safety for streaming processor 2024-07-25 08:40:24 +03:00
Wolfsblvt
18099c5a58 Fix /send not saving chat in all cases 2024-07-24 20:54:05 +02:00
Cohee
9b97d88aee
Comments are reverse 2024-07-23 15:53:59 +03:00
Cohee
e84d023191 Restore old behavior for waifu mode 2024-07-22 23:11:36 +03:00
Cohee
12f6e5069d Improve auto-scroll snapping 2024-07-22 23:07:51 +03:00
Cohee
6f2b567efe Allow toggling moving UI on any device
(you still won't be able to use it)
2024-07-22 19:50:06 +03:00
LenAnderson
ded6536b06 remove dom queries and jQuery during streaming 2024-07-22 11:50:45 -04:00
Cohee
07ac2460e2 Add vector storage to prompt itemization 2024-07-16 22:51:15 +03:00
Cohee
56f0775581 Fix swipeId .mes attribute not updating on swipe. 2024-07-16 22:10:54 +03:00
Wolfsblvt
af15794222 Update char submenu popups to new popup
- Update 'Scenario Override'
- Update 'Open Source'
- Update 'Replace Character'
- Update 'Convert to Persona' popups
2024-07-14 03:58:27 +02:00
Cohee
63c5330920 Fix variable shadowing 2024-07-13 11:52:43 +03:00
Cohee
c684d23476 Make chat scrolling events passive 2024-07-12 22:37:47 +03:00
Cohee
0a0fc0141c Limit edit textarea height to 75% 2024-07-12 21:39:32 +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
63a0ebb885 Move openai slash commands to init function 2024-07-11 22:43:25 +02:00
Cohee
e22b18ce80 Don't overextend edit textarea height 2024-07-11 21:25:52 +03:00
Cohee
9754d5361f Decreate edit textarea debounce duration 2024-07-11 15:37:30 +00:00
Cohee
d5c2bf3781 Init slash commands earlier 2024-07-10 00:22:21 +03:00
Wolfsblvt
abdd1f3e6e Update some SillyTavern.getContext() fields 2024-07-08 23:26:26 +02:00
Cohee
ed0e522c6d [BUG] UI shifting in mobile browser #2488 2024-07-07 20:12:04 +03:00
Cohee
6ff406f6ea
Merge pull request #2485 from Esalarc/promptdiff
Adding diff functionality to prompt dialog
2024-07-07 10:17:01 +03:00
Cohee
792c077267 Fix for chat completion prompts 2024-07-07 10:15:53 +03:00
David Fedolfi
014ef0cc4f Adding diff functionality to prompt dialog
adding another command button that leverages https://github.com/google/diff-match-patch/tree/master to generate a diff of this prompt to the prior one.
2024-07-06 22:04:12 -04:00
Cohee
57175b4229 Don't send streaming request if generation was aborted before the streaming processor creation 2024-07-06 17:39:50 +03:00
Cohee
c55ad419dd Clean-up console logs 2024-07-06 15:29:47 +03:00
Wolfsblvt
ff23808d3b Add WI toggle to include/exclude names in scanning 2024-07-06 03:23:02 +02:00
Cohee
ebb5c9762a Fix app onboarding on Safari 2024-07-04 23:37:18 +03:00
Cohee
c0436f4a32 Extend getContext API 2024-07-03 20:35:42 +03:00
Wolfsblvt
7de43d3a9c /stop slash command to stop generation 2024-07-03 14:44:17 +02:00
Cohee
1315f0968b Support all file formats for replace/update 2024-07-01 21:48:56 +03:00