Commit Graph

2537 Commits

Author SHA1 Message Date
Wolfsblvt 40b3640fa2 Fix group join prefix/suffix controls state on render 2024-04-08 00:34:21 +02:00
LenAnderson 63cbfda9b1 add ctrl-enter to execute from editor 2024-04-07 17:01:26 -04:00
LenAnderson 21d3a7dc3e add tab size setting to QR editor 2024-04-07 17:01:02 -04:00
LenAnderson 3ed0564d73 add default value to qr editor wrap setting 2024-04-07 16:59:50 -04:00
Wolfsblvt f4fcbff17e Fix spacing on field join for empty suffix/prefix 2024-04-07 21:23:45 +02:00
Wolfsblvt 4a4296127c Group chat-specific join prefix/suffix for char fields
- Add group chat setting fields for "prefix" and "suffix"
- Settings will be visible when any "join" setting is selected
- each part will be surrounded, which optional macro replacements on the prefix/suffix
2024-04-07 21:12:41 +02:00
Wolfsblvt b027c04066 Remove chat save on pick macro 2024-04-07 20:37:05 +02:00
Cohee 63117653bb
Merge pull request #2030 from Wolfsblvt/fix-empty-lines-on-group-squash
Fix empty lines on group squashing of char fields
2024-04-07 15:37:49 +03:00
Wolfsblvt e26c7827bc Fallback expression reset if custom expression deleted 2024-04-07 06:26:48 +02:00
Wolfsblvt 2ffb44b4e1 Add extension setting for fallback expression 2024-04-07 06:12:52 +02:00
Wolfsblvt 82a30b6ba5 Fix pick macro rerolling on branches/renames 2024-04-07 04:40:15 +02:00
Wolfsblvt 9c3f9f0ee1 Fix empty lines on group squashing of char fields 2024-04-07 03:57:58 +02:00
Cohee 17537492b2
Merge pull request #2028 from Wolfsblvt/respect-swipes-on-macros
Fix currently reswiped messages being returned on macros
2024-04-07 03:18:07 +03:00
Wolfsblvt 5df454640f Fix forced persona name not being added to examples 2024-04-07 01:57:59 +02:00
Wolfsblvt d5cb4f403a Fix currently reswiped messages being returned on macros
- Build one utility function to get the last message id matching a criteria
- Fix all macros referencing last message still returning a now being reswiped message
2024-04-07 00:06:38 +02:00
Cohee fcc8051d38 Fix event propagation 2024-04-06 20:35:25 +03:00
Cohee 866f514d19 Fix undefined in tag tooltip 2024-04-06 20:17:58 +03:00
Cohee c752a54c62 Fix actionable filters 2024-04-06 20:14:55 +03:00
Cohee 7cedce01a8 Merge branch 'release' into staging 2024-04-06 15:29:22 +03:00
Cohee 30b9b13070 Use integers for max value.
This is helpful if someone has to render more than 9 quadrillion tags
2024-04-06 14:48:59 +03:00
Wolfsblvt 9805215c28 Fix expander button and group tags add
- Fix expander button to never be "removable" in any list
- Fix group tag list to actually work on adding tags
2024-04-06 07:37:30 +02:00
Wolfsblvt fe8f0a8ff2 Limit drawing of tags to 50 with expander
- No matter where we draw tags, we'll draw a maximum of 50 tags
- Filtered tags (selected, excluded) will always be drawn
- Display "expander"  icon/tag to show full tag list
- Cache the full tag list display so consecutive redraws respect it
2024-04-06 07:14:45 +02:00
johnbenac 3b6c32113f
added await to tts to properly catch the error on this async function 2024-04-05 18:57:51 -04:00
johnbenac 6cf897219e
Added toastr messages to tts index file 2024-04-05 18:41:36 -04:00
Cohee cdbd5c6130 /classify help text clarity 2024-04-06 00:45:38 +03:00
Cohee e75f5550e3 Add /classify command 2024-04-05 22:33:16 +03:00
Cohee 9e4b765db1 #2012 Replace all comfy seeds 2024-04-05 17:59:12 +03:00
Cohee acb623c6d8 Adjust automation id layout 2024-04-05 17:27:08 +03:00
Cohee b1c2617b0d Only init scroll height of WI keys when first opening the drawer 2024-04-05 13:53:39 +03:00
Cohee 3a0ceae80a Optimize scroll height resets on WI entry render, remove silly logs 2024-04-05 13:45:28 +03:00
Cohee 8f6e41428f Optimize tags template references 2024-04-05 12:43:43 +03:00
Cohee 7221549c65 #2013 Fix smooth stream event processing. 2024-04-05 01:25:48 +03:00
Cohee b948e31a89 Remove tag debug logs if state unchanged 2024-04-05 00:54:17 +03:00
Cohee 0804843805 Add per-character and per-group overrides for external media 2024-04-05 00:39:54 +03:00
Cohee 6cc73c2a0b Add instruct last system sequence 2024-04-04 22:27:08 +03:00
Cohee 274abb4749
Merge pull request #2010 from aisu-wata0/wi_min_activations_perf_fix
performance: World Info min activations skips seen buffer
2024-04-04 21:35:36 +03:00
Cohee 813476d72a Fix stream error parsing when using Smooth Streaming 2024-04-04 21:20:10 +03:00
Aisu Wata 0d57f7ea4f fix: removed `recurseReset()` 2024-04-04 15:19:39 -03:00
Cohee ecc638a76d
Merge pull request #2011 from aisu-wata0/wi_remnant_debug_logs
removed some remnant debug logs
2024-04-04 20:41:09 +03:00
Cohee 75ebdf394a Add pollinations as image generation source 2024-04-04 20:40:47 +03:00
Cohee 42138ca09b Add command-r-plus 2024-04-04 20:38:34 +03:00
Aisu Wata 5ab9d9b863 removed some remnant debug logs 2024-04-04 03:08:17 -03:00
Aisu Wata 95c910a521 fix: WI min activations skips seen buffer 2024-04-04 02:56:39 -03:00
Cohee 4d01000751 Switch default summary prompt builder to classic 2024-04-03 02:13:09 +03:00
Cohee 27698fd024 Add ability to get model name with /model 2024-04-03 00:52:30 +03:00
Cohee d6b700483f Allow hyphens in SD prompts 2024-04-03 00:29:34 +03:00
Cohee 8a0997c47b Allow auto-continue in group chats 2024-04-03 00:27:11 +03:00
Cohee 9221ddde57 +OpenRouter captioning models 2024-04-02 23:17:51 +03:00
Cohee 54a6f4bc62 Add speed control 2024-04-02 22:52:51 +03:00
Cohee f13e718dc7 Compatibility with extensions 2024-04-02 20:25:37 +03:00
Cohee 534612db87 Merge branch 'staging' into smooth-streaming 2024-04-02 19:40:16 +03:00
Cohee 422b9e1b63 Fix sequences to stop strings if missing values 2024-04-02 18:34:29 +03:00
Cohee 759e8eed0c Fix for Together 2024-04-02 16:38:39 +03:00
Cohee 2859ae54ab Don't delay when not in focus 2024-04-02 16:21:55 +03:00
Cohee ca047034b7 Fix smooth stream for MakerSuite 2024-04-02 16:13:01 +03:00
Cohee 7389286862 Don't show logprobs when using smooth streaming 2024-04-02 15:51:00 +03:00
Cohee 8176e09d4a Refactor event parsing 2024-04-02 15:25:23 +03:00
Cohee 51b3b8bfaa Add smooth streaming 2024-04-02 14:56:15 +03:00
Cohee c0fffde739 Fix SD "Raw last message" in groups 2024-04-02 13:15:31 +03:00
Cohee 04edf32ef0 Do not send dynatemp to backends if disabled 2024-04-02 11:29:49 +03:00
Cohee 96a85ca688
Merge pull request #2003 from bdashore3/json-schema
Add JSON schemas for TabbyAPI
2024-04-02 11:23:49 +03:00
Cohee 0b76e1d350 Fix schema not loading from presets. Fix ESLint warnings 2024-04-02 11:23:29 +03:00
kingbri 5210db5679 Format
Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-02 01:01:59 -04:00
kingbri 4f0322351e Sampling: Add ability to send JSON schemas
TabbyAPI supports the ability to send JSON schemas with prompts in
addition to EBNF strings supported by outlines. Add an extra box
for TabbyAPI only.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-02 00:59:21 -04:00
Aisu Wata ac0a431cbe fix: avoid skipping example chats in a dialogue when close to quota 2024-04-01 22:44:16 -03:00
Wolfsblvt 3632631997 random and pick allow empty items and trim correctly 2024-04-02 01:02:02 +02:00
Wolfsblvt 9b24397f5a Unify {{pick}} and {{random}} regex
- Allow all four possible syntax forms, just to make this easier: {{random:1️⃣:two}}, {{random1️⃣:two}}, {{random::one,two}} and {{random:one,two}}
2024-04-02 00:42:13 +02:00
Cohee 03a203d607 Fix macro help 2024-04-02 01:28:31 +03:00
Cohee d7817d1882 Set default newline suffix if wrap is enabled and there's no suffix in instruct template 2024-04-02 01:24:36 +03:00
Cohee 3b333d3803
Merge pull request #1995 from Wolfsblvt/pick-macro
Add {{pick}} macro replacement
2024-04-02 01:17:03 +03:00
Cohee 4f6127c8f2 Actually support comma-split syntax in random 2024-04-02 01:16:25 +03:00
Cohee 36b718b9c7 Merge branch 'staging' into pick-macro 2024-04-02 01:07:04 +03:00
Cohee d498458971
Merge pull request #1996 from aisu-wata0/staging
fix: "Squash system messages" would fail to skip example messages
2024-04-02 00:35:57 +03:00
Cohee 9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
Cohee 9c6d8e6895 Update auto summary interval calculation algorithms 2024-04-01 18:57:42 +03:00
Aisu Wata 41860bdc57 fix: squashing system messages would fail to skip example messages 2024-04-01 01:24:29 -03:00
Wolfsblvt 70adee3c63 Add {{pick}} macro replacement
- Pick macro that works like random, but is consistent for the chat and context
- Change help text for random to actually utilize the new, preferred syntax
2024-04-01 01:47:56 +02:00
Cohee a5d00d356b Auto-calculate summary words 2024-04-01 02:11:52 +03:00
Cohee 159404c3e2 Hide "no WI/AN" in Extras summary mode 2024-04-01 01:18:29 +03:00
Cohee 6aa97c73e9 Fix example dialogue formatting with block header 2024-03-31 21:27:13 +03:00
Cohee b990eb523b #1980 Add raw summary prompt builder mode 2024-03-31 21:22:27 +03:00
Cohee 3331cb6491 Add ability to temporarily override response length for /gen and /genraw 2024-03-31 21:02:38 +03:00
Cohee ad4269f476 Add system prompt to /genraw command 2024-03-31 19:42:12 +03:00
Cohee 2e28f24251 Fix summary controls disappearing when switching Chat Completion sources 2024-03-31 14:27:43 +03:00
Cohee 045d4e972a
Merge pull request #1982 from Wolfsblvt/improve-bulk-edit-and-fixes
Improve bulk edit and bug fixes to tags
2024-03-31 11:00:28 +03:00
Cohee b2f42f1b9f Close context menu immediately when clicked on mass tag 2024-03-31 10:54:23 +03:00
Cohee b0fb50aef6 Fix example dialogue separator being skipped in instruct mode 2024-03-31 10:30:06 +03:00
Wolfsblvt c58fcfd4da Fix actionable filters and bogus selection again
- Fix actionable filters and their toggle state
- Make bogus folders clickable again
- Even more code documentation
2024-03-31 00:21:33 +01:00
Cohee a96bb40505 #1991 Add API key for llama.cpp 2024-03-31 00:27:12 +02:00
Cohee 32cde5f13f Fix tag map cleanup on tag deletion, run lint 2024-03-30 23:20:46 +02:00
Cohee 153f75cf1a Add role selection to Character's Note depth prompt 2024-03-30 23:12:01 +02:00
Wolfsblvt 71a630ad85 Code documentation for tags & bogus state
- Add lots of code documentation for tag functions (I'm sorry, I live in object oriented languages...)
- Fix bogus folder setting not being respected for some controls
2024-03-30 22:06:50 +01:00
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 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 d997f8dc53 Add {{trim}} macro 2024-03-30 12:26:21 +02:00