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
910837441c
Merge pull request #1999 from Wolfsblvt/fix-autoscroll-firefox
...
Fix autoscroll stop not working on Firefox
2024-04-02 00:26:16 +03:00
Cohee
9838ba8044
#1994 Add Cohere as a Chat Completion source
2024-04-02 00:20:17 +03:00
Wolfsblvt
1be9551e9a
Fix autoscroll stop not working on firefox
2024-04-01 23:12:54 +02: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
e99baac9c0
Adjust drilldown arrow style
...
This thing was huge
2024-03-31 10:48: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
4d0cef7516
Add gitkeep to themes
2024-03-30 23:57:49 +02:00
Cohee
8c5a81baff
Only transition actionable tag filters
2024-03-30 23:23:14 +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
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