Commit Graph

5827 Commits

Author SHA1 Message Date
Cohee 6a3b226da2 Still fighting /ask corruptions #2832 2024-09-12 10:02:37 +00:00
Cohee 4e67cc1bc4 One more /ask corruption fix
Closes #2832
2024-09-12 09:50:06 +00:00
Cohee 2379fd5970 Fix /ask corruption + add return value
Fixes #2832 and a skill issue
2024-09-12 10:19:03 +03:00
Cohee ac03cbb0ab
Merge pull request #2826 from SillyTavern/fix-ask
Fix restoration of current character after /ask
2024-09-11 22:51:28 +03:00
Cohee 80d27273a2 Add polyfill for toSorted
Fixes #2827
2024-09-11 20:35:42 +03:00
Cohee e0c3ac84a2 Fix alignment of swipe counter 2024-09-11 19:52:31 +03:00
Cohee 86d9a80ff8 Fix restoration of current character after /ask
Fixes #2825
2024-09-11 19:34:26 +03:00
Cohee 9e522b0330 #1358 Add findLastIndex polyfill for old Safari 2024-09-11 19:22:31 +03:00
Wolfsblvt f6b240b294 Add Assistant to char enum provider 2024-09-10 22:15:56 +02:00
Wolfsblvt fbcd546db2 Fix lint issues in enum providers 2024-09-10 22:08:36 +02:00
Cohee c4cc33cad9
Merge pull request #2823 from SillyTavern/fix-sendas-forced-avatar
Fix `/sendas` to not always enforce avatar, if not needed in solo chats
2024-09-10 22:38:44 +03:00
Cohee aed4a8e36d It was very close. 2024-09-10 22:37:53 +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 748005b903 Remove unnecessary double popup for replace 2024-09-10 21:19:35 +02:00
Wolfsblvt 27e0905a1b Changes based on code review 2024-09-10 21:06:31 +02:00
Wolfsblvt d21b24666a fix neutral avatar again 2024-09-10 20:02:26 +02:00
Wolfsblvt a989ccf318 Don't force avatar on neutral assistant chat 2024-09-10 19:44:27 +02:00
Wolfsblvt 9e73e2598e Small fix group chats not using default avatars 2024-09-10 19:15:49 +02:00
Wolfsblvt 894b95679c Merge branch 'staging' into small-bookmark-updates 2024-09-10 19:05:05 +02:00
Wolfsblvt 10a23012f3 Fix /sendas not needed to enforce avatar
- Fixes #2820
2024-09-10 18:46:38 +02:00
Cohee 87f2dd9ae5 Remove pollinations refine toggle 2024-09-10 10:54:41 +00:00
Cohee 8948354bf0 Load pollinations models from an endpoint 2024-09-10 10:51:48 +00:00
Cohee 4522d3cbae Filter null-values from /model selection 2024-09-10 10:25:23 +00:00
Cohee b2705d1396
Merge pull request #2806 from SillyTavern/bypass-command-string-parser
Execute profile commands callbacks directly
2024-09-10 12:06:10 +03:00
Cohee 1582974ba9 Fix context checkbox squish 2024-09-10 11:48:33 +03:00
Cohee ec0e31482d Tabby inline model disclaimer 2024-09-10 01:36:29 +03:00
Cohee b0214298fd
Merge pull request #2810 from SillyTavern/tabby-models-list
Tabby models list
2024-09-10 00:37:31 +03:00
Cohee 7c73792f8a Extend inline loading hint 2024-09-10 00:03:44 +03:00
Cohee 4464d3a47f
Merge pull request #2817 from SillyTavern/emit-on-stream-error
Emit message events on stream abortion
2024-09-09 22:17:22 +03:00
Cohee dc3be8afc1 Merge branch 'staging' into tabby-models-list 2024-09-09 22:09:47 +03:00
Cohee e9c3374579 Fix the UI Theme menu being literally unusable 2024-09-09 21:16:08 +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
Cohee 58238fe42b
Merge pull request #2812 from imesha10/staging
Fix to BR #2811 - Renaming character in Group Chat does not select the right character and renames the wrong character
2024-09-09 20:27:00 +03:00
Cohee e277f24709
Merge pull request #2815 from sm1945/staging
update vi-vn.json localization file
2024-09-09 20:21:24 +03:00
Cohee 79d037e7e8 Add new pollinations flux models 2024-09-09 20:19:12 +03:00
sm1945 49d1a20dfb update vi-vn.json localization file
updates vietnamese locale file to sound more natural, logical and less google translated
2024-09-09 23:14:00 +07:00
RossAscends 0109242f85 OCD-havers rejoice 2024-09-09 17:13:26 +09: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
RossAscends 58d17d4bd9 prettily support more than 999 swipes 2024-09-09 12:36:58 +09:00
RossAscends daeef9407d fix sampler select color highlights 2024-09-09 11:29:04 +09:00
Cohee 725aff3474 Display API and model used in itemization 2024-09-09 00:26:06 +03:00
Cohee 0811ec7fc3 Use Tabby-recognizable YAML 2024-09-08 23:56:10 +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 038b9b95ce Remove stray tags 2024-09-08 23:26:13 +03:00
Cohee 7534e137ae Parse Tabby streaming error. 2024-09-08 22:24:03 +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 f5873aec25 Add format selector to /listinjects 2024-09-08 18:24:12 +03:00
Cohee 0db9bc6591 Fix attachments being sent on irregular generation types
Fixes #2763
2024-09-08 18:11:38 +03:00
Cohee be145c0bff Add missing return type 2024-09-08 17:24:42 +03:00
Cohee 5ab781ab30 Unbreak timelines 2024-09-08 14:33:52 +03:00
Cohee 95dd58ad95 Don't use classic Mac line endings 2024-09-08 14:33:02 +03:00
Cohee 4e84120981 Consistent error logging 2024-09-08 13:32:56 +03:00
Cohee f926d9abd7 Execute profile commands callbacks directly 2024-09-08 13:31:32 +03:00
Cohee 8bb964515a Fix Gemini multimodal with JPG images
Fixes #2763
2024-09-08 10:48:28 +03:00
Cohee 85ebf3116e Add link to the doc 2024-09-08 09:27:03 +03:00
Wolfsblvt 22d2b7d2a2 Add slash commands for checkpoints and branch 2024-09-08 03:28:54 +02:00
Cohee d9ea3d48dd
Merge pull request #2797 from SillyTavern/connection-manager
Implement Connection Manager
2024-09-08 02:56:15 +03:00
Wolfsblvt c765057684 Disable buttons on <None> option 2024-09-08 01:18:44 +02:00
Cohee 6f9846a290 #2763 Add error handler to image token cost calculation 2024-09-08 02:16:54 +03:00
Wolfsblvt 4ba99412af Refactor args for context/instruct select 2024-09-08 01:00:50 +02:00
Wolfsblvt cb9e73deca Refactor bookmarks with correct async and export 2024-09-08 00:41:14 +02:00
Cohee 44ddec88fe Rename extension manifest 2024-09-08 01:35:59 +03:00
Wolfsblvt 6c0ecdef69 Refactor move bookmark functionality 2024-09-08 00:34:03 +02:00
Cohee 6aa9608b8e Forgor the spinner 2024-09-08 01:21:04 +03: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 3217087b0b Refactor checkpoint popups 2024-09-08 00:06:19 +02: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
Wolfsblvt d5b9231157 Update toeast message 2024-09-07 23:00:12 +02:00
Cohee d99dfb9168 Add spinner to indicate profile application 2024-09-07 23:53:22 +03:00
Cohee 669c49ebba Merge branch 'staging' into connection-manager 2024-09-07 23:23:26 +03:00
Cohee 37b3184cda
Merge pull request #2794 from SillyTavern/more-tokenizers
Implement downloadable tokenizers
2024-09-07 23:17:52 +03:00
Cohee a6e5024122
Merge pull request #2787 from SillyTavern/more-autofit
Implement more smart textarea autosizes
2024-09-07 23:04:43 +03:00
Wolfsblvt 5e0a61bab2 Half-fix for scrollbar white corner on Chrome 2024-09-07 21:33:36 +02: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 739d0c95c3 Require unique names for profiles 2024-09-07 21:21:46 +03:00
Cohee 827fce4542 Move string utils to shared module 2024-09-07 21:19:33 +03:00
Cohee 70ff35b4c3 Use consistent icons 2024-09-07 21:11:06 +03:00
Cohee 00f6941e93 Fix review comments 2024-09-07 21:08:37 +03:00
Cohee 1af59f303f Merge branch 'staging' into connection-manager 2024-09-07 20:57:06 +03:00
Wolfsblvt 7e64d216c3 Fix type not returning profile name 2024-09-07 19:32:58 +02:00
Cohee 4f5097915e
Merge pull request #2801 from bdashore3/staging
Index: Unlock DRY for tabbyAPI
2024-09-07 19:56:19 +03:00
Cohee afd72f9f12 Unhide ban_eos_token for koboldcpp
Closes #2791
2024-09-07 19:46:47 +03:00
Cohee c06b239e20 Add missing OpenRouter multimodal caption models 2024-09-07 19:43:25 +03:00
kingbri d595f94fc7 Index: Unlock DRY for tabbyAPI
Supported in ExllamaV2's dev wheels.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-09-07 12:40:26 -04:00
Cohee 3635d84d72 Add Gemini subversions to multimodal caption 2024-09-07 19:37:37 +03:00
Cohee 4fd7828a9b Add /profile-get command 2024-09-07 17:13:32 +03:00
Cohee 065daa7599 Add commands to list, create, update profiles 2024-09-07 14:56:30 +03:00
Cohee aa3cb62b4c Fix /echo escapeHtml being false by default 2024-09-07 14:46:21 +03:00
Cohee 24e8077997 Fix /echo escapeHtml being false by default 2024-09-07 14:03:00 +03:00
Cohee bcac8c065b Add command for switching profiles 2024-09-07 13:58:46 +03:00
Cohee 6d9c64f38e Add dynamic i18n to profile views 2024-09-07 13:36:21 +03:00
Cohee c77c3d8f37 Extend quiet effect in /model 2024-09-07 13:36:21 +03:00
Cohee 4cd025cd7a Extend quiet effect in /model 2024-09-07 13:30:26 +03:00
Cohee e77f5a1c93 Set api-url with connection-manager 2024-09-07 13:24:56 +03:00
Cohee f4da527d95 Merge branch 'staging' into connection-manager 2024-09-07 13:11:03 +03:00
Cohee ed115d4e11 Add quiet argument to /api-url 2024-09-07 13:09:10 +03:00
Cohee b4948ec842
Merge pull request #2799 from SillyTavern/bg-menu-title 2024-09-07 12:07:04 +03:00
Wolfsblvt 59fe361fa6 Update AI Horde links 2024-09-07 01:32:58 +02:00
Cohee 01b6ddbf8a
Merge pull request #2798 from SillyTavern/popup-command-styles
Expand `/popup` command and refactor a bit
2024-09-07 02:28:06 +03:00
Wolfsblvt 2385c5a59a Change popup cancel result in command to empty str 2024-09-07 01:21:04 +02:00
Cohee 8f6fe384a8 Add title to BG menu 2024-09-07 01:35:36 +03:00
Cohee 916d73da4c Display profile name in delete confirmation 2024-09-07 01:18:35 +03:00
Cohee 0019da260c Use UUIDv4 for profile IDs 2024-09-07 01:12:53 +03:00
Wolfsblvt 43b08cdd64 Refactor /popup to actual booleans
- still supports on/off, no worries.
2024-09-06 23:56:26 +02:00
Cohee d7011e8a11 Add i18n attributes 2024-09-07 00:41:48 +03:00
Cohee c4aa79a8e1 Don't display toast on updating empty profile 2024-09-07 00:30:47 +03:00
Wolfsblvt a3468db94e Allow /popup to optionally return popup result 2024-09-06 23:29:18 +02:00
Cohee 4c4477098d Fix saving null profiles 2024-09-07 00:27:52 +03:00
Cohee 7dc1c9f7ab Add connection manager as a core extension 2024-09-07 00:23:42 +03:00
Wolfsblvt e4e10c3d6b /popup allow header arg, with sanitization 2024-09-06 23:14:52 +02:00
Wolfsblvt a9c0dd38c7 Refactor /popup args and docs, add 'cancelButton' 2024-09-06 22:38:02 +02:00
Cohee 42b1a368cb Fix instruct toggle commands not working 2024-09-06 23:27:42 +03:00
Wolfsblvt a9e4bef01b Add wider and transparent styles to /popup 2024-09-06 22:22:35 +02: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 50217e37b8 Spell CSS consistently 2024-09-06 22:27:53 +03:00
Wolfsblvt 63c6fbaf58 /echo html allowed sanitize title too 2024-09-06 21:18:16 +02:00
Wolfsblvt 50a716a593 Update /echo docs helpstring 2024-09-06 20:53:39 +02:00
Sneha C fc942842b9
Update slash-commands.js
added some examples to /echo command
2024-09-06 22:39:30 +04:00
Wolfsblvt 25d8286dfc DOM.purify toast if HTML is allowed 2024-09-06 20:31:13 +02:00
Wolfsblvt 0d9843cdd6 clear onProgress before closure for no progress 2024-09-06 20:21:32 +02:00
Wolfsblvt ad04d0c9a2 Fix async closure call not clearing progress 2024-09-06 20:01:45 +02:00
Wolfsblvt e48ff8daae Add check for closure type 2024-09-06 19:49:32 +02:00
Wolfsblvt de8732fad6 Add onClick arg to /echo executing closures
- Adds the 'onclick' slash command arg to /echo
- It utilizes the Closure object without serialization, using the exact same scope it received on creation. Should be mindful about memory leaks and possible parallel execution.
2024-09-06 19:32:35 +02:00
Wolfsblvt 885a014507 Add escapeHtml arg to /echo 2024-09-06 19:03:21 +02:00
Wolfsblvt a4e72da40f Add color arg to /echo for custom color 2024-09-06 18:55:50 +02:00
Wolfsblvt c9ed91099f Add cssClass arg to /echo 2024-09-06 18:46:35 +02:00
Cohee 81251b073a Implement downloadable tokenizers
Closes #2574, #2754
2024-09-06 16:28:34 +00:00
Cohee a5bf15ccdc Wider 'No icons found' text 2024-09-06 14:27:08 +00:00
Cohee bcd8a28367 Case-insensitive icon search 2024-09-06 14:22:36 +00:00
LenAnderson 0388d3eb6c make alternative class names searchable in FontAwesome icon picker 2024-09-06 10:07:50 -04:00
Cohee 930015f876 Remove Extras link from readme and HTML 2024-09-06 12:48:12 +00:00
Cohee 3a68dbfd58 Adjust padding for no avatars mode 2024-09-06 12:09:31 +00:00
Cohee d5c26032aa
Merge pull request #2788 from SillyTavern/charlistgrid-load
Less horrible charListGrid load
2024-09-06 10:29:29 +03:00
khanon 21cdf49322 fixes single-line inputs and textboxes squished when saving 2024-09-06 01:30:50 +00:00
Wolfsblvt e3f4b554c7 I wiped, I swear 2024-09-05 23:12:45 +02:00
Cohee 3e3597673b Less horrible charListGrid load 2024-09-05 21:22:54 +03:00
Cohee 75c6bee350
Filter inclusion groups by timed effects (#2765)
* Filter inclusion groups by timed effects
Closes #2762

* Skip group scoring check if sticky entries are present

* Optimize sticky checks
2024-09-05 21:15:45 +03:00
Cohee 2f5e40691c Implement more smart textarea autosizes 2024-09-05 20:55:06 +03:00
Cohee 185079595d Disabled cursor behaves weirdly 2024-09-05 20:22:36 +03:00
Cohee e335b62b0b Remove CSS height set on system sequences 2024-09-05 20:20:42 +03:00