Commit Graph

3386 Commits

Author SHA1 Message Date
Wolfsblvt 6fe7c1fdaf Fix reprint loop on tag filters
- Fix endless loop if a tag was selected
- Tag selection is now saved, both 'selected' and 'excluded' (old state is lost though)
- Streamlined reprinting even more by refactoring bogus drilldown
2024-03-30 20:33:08 +01:00
Wolfsblvt 1ff40f0af4 Merge remote-tracking branch 'upstream/staging' into improve-bulk-edit-and-fixes 2024-03-30 19:03:03 +01:00
Cohee bd62c2fb70 Add 'as' argument for /gen command 2024-03-30 18:13:55 +02:00
Cohee 26690353e1 + edge case comment 2024-03-30 16:05:43 +02:00
Cohee 34c79049ad Fix edge case with newlines in quiet prompts with wrap enabled 2024-03-30 16:04:10 +02:00
Cohee e99d37d549 Remove extraneous newlines when formatting quiet prompts 2024-03-30 15:54:42 +02:00
Cohee a17206dd38 Merge branch 'staging' into instruct-rework 2024-03-30 14:56:37 +02:00
Cohee 9c7e29115f
Merge pull request #1989 from kir-gadjello/sd-drawthings-api
Implement drawthings local app api support for sd extension
2024-03-30 14:50:07 +02:00
Cohee 652987ae01 Add missing auth header 2024-03-30 14:23:50 +02:00
Cohee b747bdf89b Fix nav styles for narrower screens 2024-03-30 13:46:46 +02:00
Cohee d997f8dc53 Add {{trim}} macro 2024-03-30 12:26:21 +02:00
Cohee 06e15e6d5f L + skill issue + bad copypaste 2024-03-30 12:00:10 +02:00
Cohee 12a36341f8 Fix newline trimming for the last message 2024-03-30 11:50:20 +02:00
Wolfsblvt ea4ba57408 Fix horizontal scrollbar appearing in popups
- Fix that annoying horizontal scrollbar appearing in popups, e.g. the tag popup when you drag tags around
- Still provide possibility to make popups actually utilize scrollbars
2024-03-30 05:41:54 +01:00
kir-gadjello dddcac9af8
implement drawthings local app api support for sd extension 2024-03-30 01:12:29 -03:00
Wolfsblvt 80f4bd4d9e Global refactor of printCharacter and filter print
- (!) Refactor character list and filter redrawing to one global debounce
- Refactor all places where character list and filters where redrawn to the correct usage (hope I didn't miss any)
- Automatically redraw character list on each tag bulk edit
- Fix tags not being sorted in bulk edit mutual tags list
- Refactor bulk tag edit class to actually be an instance object
- Remember scroll position on character list redraw - unless it's a full refresh
2024-03-30 03:06:40 +01:00
Cohee bcfa097c22 readme to .gitkeep 2024-03-29 19:52:19 +02:00
Cohee 03d0182cfb Fix button margin 2024-03-29 19:47:52 +02:00
Cohee 06d1369f58 Make default instruct/context restorable 2024-03-29 19:39:59 +02:00
Cohee 9712fd1cfb Merge branch 'staging' into instruct-rework 2024-03-29 18:57:56 +02:00
Cohee 6a688cc383 Add fallback if tag_map is uninitialized 2024-03-29 18:07:45 +02:00
Cohee a3ec0938c5 KoboldCpp grammar fix 2024-03-29 17:28:28 +02:00
Cohee 2d5b871f2a Fix array access 2024-03-29 15:01:08 +02:00
Wolfsblvt bf8b6b80d7 Refactor and improve bulk delete popup
- Improve bulk edit popup with display of avatars and better format
- Refactor both calls of bulk delete to use the same method
- Add display of filename on avatar hover for inline avatars (@Cohee you forgot this one (: )
2024-03-29 05:53:26 +01:00
Wolfsblvt 167673fcf5 Updated code documentation
- Updated code documentation for all methods added/changed with this PR
- Expanded tooltip to "bulk edit" to explain how it works
2024-03-29 04:41:16 +01:00
Wolfsblvt 9005d3f790 Merge remote-tracking branch 'upstream/staging' into improve-bulk-edit-and-fixes 2024-03-29 02:42:27 +01:00
Cohee 3c733b3243 New instruct macros 2024-03-28 23:12:33 +02:00
Cohee 65a580a402 Adjust sequence naming 2024-03-28 23:12:19 +02:00
Cohee 0551c8023e Move context/instruct templates to default context index 2024-03-28 22:54:37 +02:00
Cohee 4f58e04ef3 Move default instruct/context templates out of public 2024-03-28 22:40:43 +02:00
Cohee af7c89678c Add .gitkeeps 2024-03-28 22:36:18 +02:00
Cohee fcdd90cec4 Adjust last prompt line of quite gens 2024-03-28 21:51:02 +02:00
Cohee 423a1f85be Adjust naming and layout of sequences drawer 2024-03-28 20:28:30 +02:00
Cohee c4427349c9 Merge branch 'staging' into instruct-rework 2024-03-28 20:22:52 +02:00
Cohee 7c99d87238 Also clear prompt cache on streaming stop 2024-03-28 20:22:14 +02:00
Cohee b080f8af48
Merge pull request #1978 from P3il4/fix-continue
Fix prompt cache after API error
2024-03-28 20:15:27 +02:00
Cohee 3e49c9d02c &rcub => } 2024-03-28 14:47:24 +02:00
Cohee 689af3151a Pre-populate chat history with injections 2024-03-28 02:59:52 +02:00
P3il4 6e411b06b9 Fix prompt cache after API error 2024-03-28 03:32:57 +03:00
Cohee 4b6a3054b1 Implement user alignment message 2024-03-28 02:27:37 +02:00
Cohee d02c93e84f Merge branch 'staging' into instruct-rework 2024-03-28 01:34:04 +02:00
Cohee 4a71bda1dc Bit tighter character panel layout 2024-03-28 01:28:41 +02:00
Cohee 945e3e3b0e Add prefix to avatar tooltip 2024-03-28 01:27:28 +02:00
Cohee 03d255442e Return display avatar name on hover 2024-03-28 01:17:43 +02:00
Cohee 6ca2111ef6 Honey I broke mass duplicator 2024-03-28 01:15:14 +02:00
Cohee 6ed604593c Copy tags on duplicating 2024-03-28 01:13:54 +02:00
Cohee 310acfe810 Use new instruct sequences in prompt formatting 2024-03-28 00:52:20 +02:00
Cohee 39768b78ce Decrease brightness of disabled inputs 2024-03-28 00:27:00 +02:00
Cohee 03582a8ec6
Merge pull request #1977 from Wolfsblvt/swipe-id-attribute
Include swipeid to all messages in chat
2024-03-28 00:13:51 +02:00
Wolfsblvt b8c6e6c85c Remove unnecessary swipe id check 2024-03-27 23:12:40 +01:00
Cohee 8b7b32a141 (WIP) Add new instruct mode sequences. Deprecates separator sequence.
1. Separate suffixes for all roles
2. System message sequences
3. User alignment message
2024-03-27 23:40:10 +02:00
Cohee 01d17f4396 Export Chat Comps examples parser 2024-03-27 23:38:13 +02:00
Wolfsblvt 11b3162aa4 Include swipeid to all messages in chat 2024-03-27 22:11:19 +01:00
Cohee 2468c1bc88
Merge pull request #1968 from LenAnderson/debounce-processHotkeys
Call processHotkeys debounced (RossAscends-mods)
2024-03-27 22:43:07 +02:00
Cohee 55d855b655 Autofit immediately if input value is empty 2024-03-27 22:18:20 +02:00
Cohee 82d50e553d
Merge pull request #1973 from kingbased/goog
Update Makersuite models + proper prompt conversion
2024-03-27 21:40:02 +02:00
Cohee 5264e2b194 Emit events when a new group chat is created 2024-03-27 20:44:04 +02:00
Cohee 9bd1d79f08 Save a backup before deleting from new chat menu 2024-03-27 20:43:40 +02:00
Cohee 45bd8c18ed Remove last paragraph margin for compact layout 2024-03-27 19:49:14 +02:00
Cohee 0bf6835de2 Add "compact" argument to message sending commands. 2024-03-27 19:40:34 +02:00
Cohee d53e645323
Merge pull request #1975 from Wolfsblvt/persona-switch-consistency
Persona retrigger first message consistency fix
2024-03-27 15:18:37 +02:00
Cohee 6d02223bd4 Fix cases with persona autoswitch 2024-03-27 15:16:20 +02:00
Wolfsblvt 53848e1b0d Persona retrigger first message consistency fix 2024-03-27 09:49:59 +01:00
Wolfsblvt a4c4f36fc6 Bulk edit select improvements & bulk tag edit inline avatars
- bulk edit tags shows inline avatars for all selected characters
- allow shift-click selecting/deselecting multiple characters on bulk edit
- bulk select all button added
- bulk select shows selected character count
2024-03-27 08:33:32 +01:00
Wolfsblvt 4547e68497 Fix tag display issues (char create, auto load)
- Fix tags not working on new character dialog
- Fix display of tags for auto-loaded character on enabled auto load
2024-03-27 08:33:32 +01:00
Wolfsblvt 40daf1ca1d Bulk edit tag improvements
- Show mutual tags on bulk edit
- Update tag list on tag added/removed in bulk edit
- Add "remove mutual" button to bulk edit tags
2024-03-27 08:33:32 +01:00
Alexander Abushady 9bd3a526aa Fix for unique swipes
Fix for unique swipes in Aphrodite
2024-03-26 23:57:24 -04:00
based 6a51855f19 Update Makersuite models 2024-03-27 13:52:51 +10:00
LenAnderson 78400b4a2e Merge branch 'staging' into debounce-processHotkeys 2024-03-26 13:14:05 -04:00
LenAnderson 3debc06372 fix for jQuery input event not triggering real input event 2024-03-26 12:32:23 -04:00
Cohee 4e7cd6d63b Set active character for /random 2024-03-26 18:30:12 +02:00
LenAnderson 78ba88f94f set active character / active group in /go command 2024-03-26 12:21:22 -04:00
LenAnderson cd002b1334 Merge branch 'staging' into debounce-processHotkeys 2024-03-26 12:20:01 -04:00
LenAnderson d9022db7d9 debounce saving of user input in send_textarea 2024-03-26 12:11:15 -04:00
LenAnderson 69d195ef31 improve send_textarea autofit performance
- only expand immediately
- shrink debounced
2024-03-26 12:11:00 -04:00
LenAnderson e567aa2c31 replace debounce with other performance improvements
- remove debounce from processHotkey
- replace dom-queries in conditions with vars
- replace some jQuery in conditions with vanilla JS
2024-03-26 12:09:26 -04:00
Cohee 6fa6f0c815 Fix panel buttons alignment 2024-03-26 16:10:55 +02:00
LenAnderson 92ec45af4b call processHotkeys debounced 2024-03-25 18:16:18 -04:00
Cohee 7c0cf50d80 #1966 Fix selector 2024-03-26 00:07:26 +02:00
Cohee c6971be269
Merge pull request #1967 from DreamGenX/dreamgen_help_link
Dreamgen help link
2024-03-25 19:12:13 +02:00
DreamGenX f65d4fd589 DreamGen API Help: Link to guide rather than API Keys page. 2024-03-25 18:08:29 +01:00
Cohee 5216d5c8c0 Fallback for token count display 2024-03-25 19:00:14 +02:00
Cohee 129febedce
Merge pull request #1962 from 50h100a/pr_mancerargs
Updates to Mancer parameters and a logprobs fix
2024-03-25 18:59:25 +02:00
Cohee e9b05d4adc Indicate injected items by extension prompts in finalMesSend 2024-03-25 18:37:32 +02:00
50h100a 8b092adc14
Use mode enum to toggle dynatemp behavior. 2024-03-25 12:25:03 -04:00
DreamGenX c6f2504549 DreamGen API Help: Link to guide rather than API Keys page. 2024-03-25 16:18:56 +01:00
LenAnderson dedb1625aa Merge branch 'staging' into qr-editor-wordwrap 2024-03-25 09:05:49 -04:00
LenAnderson f3f954f5da add style for horizontal scrollbars 2024-03-25 09:04:57 -04:00
LenAnderson 7c3ffcb3b1 qr editor wrap toggle 2024-03-25 09:04:41 -04:00
Cohee 5e8999cc43 Add comments to STscript 2024-03-25 14:22:39 +02:00
Cohee 101693ba99 Add i18n tags to onboarding. 2024-03-25 14:16:54 +02:00
Cohee 0218eb1a18 Disable newline wrapping of in-chat extension prompts 2024-03-25 13:11:28 +02:00
Cohee 4caa3b4f20 And then there were none 2024-03-24 21:49:12 +02:00
Cohee df805d692b Fix some code 2024-03-24 21:42:27 +02:00
Cohee 7520de445d Merge branch 'release' into staging 2024-03-24 21:35:55 +02:00
Cohee e153861043 Hide radio controls in drawers 2024-03-24 21:25:27 +02:00
50h100a 6f7e7b85ab For Mancer:
- Allow logprobs (works)
- Allow multiswipe (not yet)
- Adjust visible samplers
Fix: 0 logprob is 100% chance, handle accordingly.
2024-03-24 14:45:37 -04:00
blueswolf f89e8d5302
Fixed several machine translation errors
“Token”      令牌   changed to  Tokens             it is Terminology used in Chinese
“Promt ”     提示  changed to   提示词             it is Terminology in Chinese
Change some blunt translations on the welcome page to be more in line with Chinese usage habits, such as:
"Confused or lost?":"感到困惑或迷失?“  changed to  "获取更多帮助?",
etc......
2024-03-24 20:50:46 +08:00
Cohee be95162e64 Fix search of extension prompts by role 2024-03-24 03:12:30 +02:00
Cohee 5028ae49bd Semicolon. 2024-03-24 03:00:00 +02:00