Wolfsblvt
f5b68893d0
Improve error handling of /genraw and /gen
...
- /generate TC backend returns more status/error texts
- Fix /genraw and /gen returning null/undefined
- Logging errors on /genraw if backend throws an error
- Fixes #2836
2024-09-12 22:41:53 +02:00
Cohee
d082c2f14d
Merge branch 'staging' into small-bookmark-updates
2024-09-12 23:10:33 +03:00
Cohee
1762e8d83f
Replace ajax with fetch in character create/edit
2024-09-12 10:43:40 +00:00
Cohee
e0c3ac84a2
Fix alignment of swipe counter
2024-09-11 19:52:31 +03:00
Cohee
ea6fa265c7
/instruct command: add forceGet argument. Document that it enables instruct mode if disabled.
2024-09-10 22:33:00 +03:00
Cohee
59e9fda312
/instruct command: don't return current template name if instruct mode is disabled
2024-09-10 22:20:54 +03:00
Wolfsblvt
894b95679c
Merge branch 'staging' into small-bookmark-updates
2024-09-10 19:05:05 +02:00
Cohee
b0214298fd
Merge pull request #2810 from SillyTavern/tabby-models-list
...
Tabby models list
2024-09-10 00:37:31 +03:00
Cohee
dc3be8afc1
Merge branch 'staging' into tabby-models-list
2024-09-09 22:09:47 +03:00
Cohee
075391e720
Add continue type to not-emit list
2024-09-09 20:46:29 +03:00
Cohee
70450d7867
Emit message events on stream abortion
2024-09-09 20:39:30 +03:00
I
448af33b4d
Update script.js - fixes group chat this_chid being set twice in character edit panel
2024-09-09 00:17:19 -04:00
Cohee
725aff3474
Display API and model used in itemization
2024-09-09 00:26:06 +03:00
Cohee
0c9f2e91eb
Merge branch 'staging' into tabby-models-list
2024-09-08 23:53:53 +03:00
Cohee
75e279091c
Fix open drawer sizing issues in Firefox
2024-09-08 23:41:26 +03:00
Cohee
42fa3c79d7
Add Tabby model selection
2024-09-08 22:23:25 +03:00
Cohee
1c421cc117
Await GENERATION_STARTED event
2024-09-08 19:19:18 +03:00
Cohee
3bf801aeee
Don't trigger "Send" to continue if pending file attachments
...
Fixes #2763
2024-09-08 19:15:50 +03:00
Cohee
0db9bc6591
Fix attachments being sent on irregular generation types
...
Fixes #2763
2024-09-08 18:11:38 +03:00
Wolfsblvt
22d2b7d2a2
Add slash commands for checkpoints and branch
2024-09-08 03:28:54 +02:00
Wolfsblvt
4ba99412af
Refactor args for context/instruct select
2024-09-08 01:00:50 +02:00
Wolfsblvt
6c0ecdef69
Refactor move bookmark functionality
2024-09-08 00:34:03 +02:00
Wolfsblvt
6c94297724
Expand checkpoint tooltip to contain name
2024-09-08 00:20:56 +02:00
Cohee
38751d4fe2
Replace details view toggle with a button
2024-09-08 01:19:52 +03:00
Wolfsblvt
6a4ba1344f
Remove legacy bookmark messages
2024-09-07 23:55:45 +02:00
Wolfsblvt
f5d164302b
Remove double flags for bookmarks
...
- Remove the double flag if a checkpoint exists
- Add the "replace checkpoint" functionality as a Shift+Click option to the checkpoint flag
2024-09-07 23:55:34 +02:00
Wolfsblvt
7952b5f2c9
Handle aborting status check gracefully
2024-09-07 23:27:46 +02:00
Cohee
669c49ebba
Merge branch 'staging' into connection-manager
2024-09-07 23:23:26 +03:00
Cohee
97a2c4b2c7
Add quiet arg to /context
2024-09-07 21:40:21 +03:00
Cohee
10ddf77948
Await for profiles loading before continuing
2024-09-07 21:33:31 +03:00
Cohee
42b1a368cb
Fix instruct toggle commands not working
2024-09-06 23:27:42 +03:00
Cohee
3bea7d4885
Add /instruct-state command
2024-09-06 23:16:11 +03:00
Cohee
c68b344b60
Add quiet args to /instruct and /model
2024-09-06 23:09:06 +03:00
Cohee
3e3597673b
Less horrible charListGrid load
2024-09-05 21:22:54 +03:00
Cohee
ac0c33eb76
Use CSS.supports to determine auto-fit validity
2024-09-05 20:00:45 +03:00
RossAscends
8e1dad6800
initial reversion commit
2024-09-06 01:48:21 +09:00
Cohee
0b89c8aee9
Remove async in theme toggles load
2024-09-04 22:15:29 +03:00
Cohee
7e5417c072
Fix no-char mode not using persona description
2024-09-04 21:51:15 +03:00
Cohee
49f411b9fa
No need to async when returning promise
2024-09-04 21:18:22 +03:00
Cohee
17c60ca916
Add /tempchat command
2024-09-04 21:12:04 +03:00
Cohee
830df41380
Update Advanced Formatting verbiage
2024-09-03 22:59:41 +03:00
Cohee
f7de495321
Chat without character selected ( #2757 )
...
* WIP: Enable chatting without character selected
* Add burger menu item
* Neutral assistant chat space
* Revert "Neutral assistant chat space"
This reverts commit be2da4a629
.
* Revert "Add burger menu item"
This reverts commit d4e8d990c1
.
* Use simple ephemeral chats
* Only start a new assistant chat if not already in it
* Don't emit event not to clear pending files
* Allow edits, disable checkpoints and branches
* Exclude from tags, allow copy
* Allow hide/unhide
* Allow zooming avatar
* Suppress warning
* Rename neutral character
* Rename neutral back to Assistant
2024-09-03 20:36:30 +03:00
Cohee
527321b9e2
Fix warning toast on negative swipe id
2024-09-02 01:02:46 +03:00
Wolfsblvt
4e95887803
Merge branch 'staging' into del-swipe-fix
2024-09-01 23:27:25 +02:00
Wolfsblvt
e8d8915183
Fix delete swipe button being inconsistent
...
- Fixes #2749
2024-09-01 23:21:51 +02:00
Wolfsblvt
d663be53ac
Refactor deleteSwipe from callback into func
2024-09-01 23:12:33 +02:00
Cohee
48c2646dfa
Run Safari patch before loading settings
2024-09-02 00:11:59 +03:00
Cohee
61515c249f
Add debug func to restart onboarding
2024-09-01 23:49:56 +03:00
Cohee
e3a6f01fdc
Fix typo in getContext func
2024-09-01 23:47:55 +03:00
Cohee
4de3b10af2
Merge branch 'staging' into delete-newbie-mode
2024-09-01 23:39:21 +03:00
Cohee
675f9076a4
Emit message_updated on edit cancel
2024-09-01 21:19:56 +03:00
Cohee
9ae7325100
Remove newbie mode
2024-09-01 17:39:36 +03:00
Cohee
9a6a82b400
Emit event on streaming tick
2024-09-01 11:35:09 +03:00
Cohee
1fa9710a5c
Fix bulk delete async hell ( #2730 )
...
* Fix bulk delete async hell
* Remove refresh flag (always refresh)
* Don't throw on deletion fetch failed
* Clear toast on bulk finish
2024-08-30 19:52:57 +03:00
Cohee
9010880b64
Fix last prompt line not counted toward token limit
2024-08-30 00:00:51 +03:00
Cohee
b21ba850c0
Fix not counting chat separator and preamble toward token limit
2024-08-29 23:36:07 +03:00
Cohee
07a6e1aa53
Merge pull request #2708 from Yokayo/staging
...
Update ru-ru translation
2024-08-28 21:23:45 +03:00
Cohee
e11e7b7d52
Translate message copy
2024-08-28 21:15:20 +03:00
Cohee
c3a253baf3
Persona: add None position, fix double insert on In-chat position
2024-08-28 21:08:32 +03:00
Cohee
5fc16a2474
New AI21 Jamba + tokenizer
2024-08-26 12:07:36 +03:00
Yokayo
c807e9f36c
Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging
2024-08-26 01:42:41 +07:00
Yokayo
383d46fe4d
Work on tl
2024-08-26 01:39:56 +07:00
Cohee
60c22bf803
Add config value for extensions auto-update
2024-08-25 19:48:01 +03:00
Cohee
87dd120ec0
Move trimToEnd at the end of message clean-up
2024-08-25 14:37:44 +03:00
Cohee
06ef515b2f
Merge pull request #2706 from d-ber/saveMoreSettings
...
Save more settings
2024-08-25 11:59:35 +03:00
d-ber
d153991a11
Use saved settings instead of local storage
...
noShadows, fast_ui_mode, avatar_style and hotswap_enabled are now using settings json instead of local storage.
2024-08-23 19:22:00 +02:00
Cohee
38f0929e3d
Cull the usage of MAG in streaming
2024-08-23 19:14:51 +03:00
Cohee
e4d012e49d
Merge pull request #2691 from SillyTavern/quiet
...
Add quiet flags to /api and /summarize
2024-08-22 19:48:17 +03:00
Cohee
954b77f16c
Adjsut /api return values
2024-08-22 19:45:27 +03:00
Cohee
880233122c
Discard toast on /api connect
2024-08-22 19:43:23 +03:00
Cohee
52bd06b910
Add alias for /api google
2024-08-21 21:22:42 +03:00
Cohee
86ec1fdd40
Don't replace message text if displaying a different text.
...
Closes #2696
2024-08-21 20:47:29 +03:00
Cohee
5288d81424
Add quiet flags to /api and /summarize
...
Closes #2661
2024-08-20 22:50:29 +03:00
Cohee
7d2e35d950
Merge pull request #2674 from SillyTavern/random-fix
...
Suspend macros in first messages
2024-08-20 20:58:54 +03:00
Cohee
cd9d2001c7
Merge branch 'staging' into enable-autoselect-inputs
2024-08-18 12:35:31 +03:00
Cohee
abdf1f29cf
Add support for Kobold Classic
2024-08-18 12:18:06 +03:00
Cohee
7b3d13ac00
Move command from script.js
2024-08-18 12:02:15 +03:00
Wolfsblvt
484d2b59ac
Add schmoggle for auto select input
2024-08-18 03:38:07 +02:00
Wolfsblvt
321f0500e0
Merge branch 'staging' into enable-autoselect-inputs
2024-08-18 03:37:36 +02:00
Wolfsblvt
53c39a403d
Update help text of /api-url
2024-08-18 01:39:36 +02:00
Wolfsblvt
f1739eaa70
Add custom openai compatible to /api-url
2024-08-18 01:35:36 +02:00
Wolfsblvt
28a9c45c31
/api-url slash command to get/set server url
2024-08-18 01:05:25 +02:00
Cohee
d57272c166
Merge pull request #2663 from d-ber/bulkTagImport
...
Add bulk tag import
2024-08-18 00:34:39 +03:00
Cohee
378f4b5ed4
Suspend macros in first message
2024-08-18 00:27:10 +03:00
d-ber
0f606642ce
Refactor tag import setting override
2024-08-16 22:55:48 +02:00
Cohee
9cca368c12
Don't trim names in message prefixes if allowed with settings
...
Closes #2666
2024-08-16 22:25:31 +03:00
Cohee
e1a29b36f5
Image Generation: Add swipes for generated images
...
Supersedes #2648
2024-08-13 23:21:00 +03:00
Cohee
406acb4312
Don't use quiet name for impersonation
...
Closes #2645
2024-08-11 23:03:48 +03:00
Wolfsblvt
fd03ccdd4f
Only add group member stopping strings on message
...
- Only add group members as stopping strings if generating for a specific group member or user. (Allow slash commands to work around name stopping string restrictions)
2024-08-10 07:32:25 +02:00
splitclover
754752c80a
Added chat completion import/export events
2024-08-09 23:49:18 +02:00
Cohee
d6e7fd78ad
Add event handlers for dynamically added neo-range-inputs
2024-08-06 22:28:37 +03:00
Cohee
e45a445ef9
Init textgen model selects before loading settings
2024-08-06 11:22:13 +03:00
Cohee
0baca3b7d3
Merge branch 'staging' into wi-go-brrrrrr-too
2024-08-06 00:29:24 +03:00
RossAscends
64e716bb62
async for resetScrollHeight, slightly faster WI/AF panel loads
2024-08-05 12:03:46 +09:00
Wolfsblvt
4966139fd1
Improve performance of expand/close all WI button
2024-08-05 00:09:50 +02:00
Cohee
16172b410c
Merge pull request #2598 from NearEDGE/quick-impersonate-regenerate-buttons
...
Added quick Regenerate and Impersonate buttons
2024-08-04 13:16:05 +03:00
NearEDGE
ea76ec89de
Removed quick regenerate button
...
Response to change request.
2024-08-03 16:56:43 -04:00
NearEDGE
4f76e9e10f
Added quick Regenerate and Impersonate buttons
...
Additional buttons mimic the behavior of the continue button.
2024-08-02 08:17:29 -04: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
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
Wolfsblvt
97096add2a
Utility css class to auto-select input/textarea
...
- Add an event listener on document level that checks for focus events on input/textarea controls. If they have the class "auto-select" the content will be auto-selected
2024-07-23 21:44:48 +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
Succubyss
e1e0ef8730
Augment Edit Box Input Enfasterment ( #2450 )
...
* edit box performance "fix"
Note: jQuery makes an adjustment to height or scrollHeight that pure JavaScript doesn't;+2 was the minimum I needed to not get a vertical scrollbar, so I went with +4
* Refactor
* Use debounce instead of throttle
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-07-01 20:36:18 +03:00