Commit Graph

79 Commits

Author SHA1 Message Date
Cohee
c8ef4b02bc Add .git to jsconfig ignore 2024-10-06 19:12:28 +03:00
Cohee
b4529e75c6 Don't wrap empty sysprompts in instruct mode 2024-10-01 13:16:55 +03:00
Cohee
bcc4914467 Auto-hide instruct sequences in <details> 2024-09-22 19:15:24 +03:00
Cohee
bf5b6090eb Remove the concept of default context and instruct. Swap columns 2024-09-21 22:37:15 +03:00
Cohee
e122dd2d7a Merge branch 'staging' into sysprompt-divorce 2024-09-21 02:11:42 +03:00
pandora
125498cfd5
Fixing Mistral Templates (#2883)
* Update Mistral.json

* Rename Mistral.json to Mistral V1.json

* Create Mistral V2 & V3.json

* Create Mistral V3-Tekken.json

* Update and rename Mistral.json to Mistral V1.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Create Mistral V2 & V3.json

* Create Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V1.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Add to content index

* Remove example separators

* Simplify context fillers

* Add a hack for proper V1 format with names

* Readability

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-09-21 01:56:02 +03:00
Cohee
912bebeb01 Remove deprecated control property 2024-09-17 11:41:23 +00:00
Cohee
b377a2b7d3 Decouple system prompts from instruct mode 2024-09-17 10:37:36 +00:00
Cohee
ca4d3c5ffe
Refactor instruct names behavior controls (#2837)
* Refactor instruct names behavior controls
Closes #2819

* Remove current persona from force names

* Don't add current user name in groups

* Revert to old text

* Add titles to names behavior

* Proper default for names_behavior
2024-09-16 00:46:03 +03:00
Wolfsblvt
4ba99412af Refactor args for context/instruct select 2024-09-08 01:00:50 +02:00
Cohee
97a2c4b2c7 Add quiet arg to /context 2024-09-07 21:40:21 +03:00
Cohee
c68b344b60 Add quiet args to /instruct and /model 2024-09-06 23:09:06 +03:00
khanon
21cdf49322 fixes single-line inputs and textboxes squished when saving 2024-09-06 01:30:50 +00:00
Cohee
e335b62b0b Remove CSS height set on system sequences 2024-09-05 20:20:42 +03:00
Cohee
733bb84044 Fix "system as user" toggle 2024-09-05 20:16:58 +03:00
Cohee
dec85c42f7 These should be function calls 2024-09-05 20:07:37 +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
4cfce43e5d Set min-height for contenteditable 2024-09-04 13:46:54 +03:00
Cohee
830df41380 Update Advanced Formatting verbiage 2024-09-03 22:59:41 +03:00
Cohee
be03772c52 Fix instruct_system_same_as_user disabled mode heights 2024-09-01 19:45:09 +03:00
Cohee
016e3df564 Code clean-up 2024-09-01 18:08:03 +03:00
Cohee
882e86be11 Code clean-up 2024-09-01 18:05:48 +03:00
RossAscends
93bfe7f40b buttonify instruct header toggles, style instruct columns when disabled 2024-09-01 19:51:30 +09:00
RossAscends
2f36b659cf dumbfix heights of disabled instruct system sequence fields 2024-09-01 17:41:48 +09:00
RossAscends
a764e2d6bf AF panel 3column reshuffle, autoComplete to UserSettings, collaspify Auto* settings 2024-08-06 00:39:17 +09:00
RossAscends
b48d905c45 initial commit: AF panel textareas >> contentEditable divs 2024-08-05 14:30:15 +09:00
RossAscends
64e716bb62 async for resetScrollHeight, slightly faster WI/AF panel loads 2024-08-05 12:03:46 +09:00
Cohee
39c63dc78b Add user first and last prefixes for instruct 2024-07-26 23:10:09 +03:00
Cohee
974f142f24 Replace {{name}} macros in instruct suffixes 2024-07-13 00:16:31 +03:00
Cohee
909ec4191d Allow JS syntax in instruct activation regex 2024-05-17 01:14:07 +03:00
kingbri
96506947cb Messages + Instruct: Fix /send with name= if name is empty
If name is empty, don't try appending it to the message. This applies
for both instruct and non-instruct modes.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-05 20:35:03 -04:00
Cohee
0faa7d3c75 Replace {{name}} macro in system prompt prefix 2024-04-18 23:15:24 +03:00
Cohee
6d65d47f00 Fix macro not being subbed in example separators for instruct 2024-04-09 11:24:16 +03:00
Cohee
0391ef63d6 Fix bottom text of the comment 2024-04-09 10:20:59 +03:00
Wolfsblvt
845409a239 Add a main {{systemPrompt}} macro 2024-04-08 20:05:59 +02:00
Wolfsblvt
5df454640f Fix forced persona name not being added to examples 2024-04-07 01:57:59 +02:00
Cohee
6cc73c2a0b Add instruct last system sequence 2024-04-04 22:27:08 +03:00
Cohee
422b9e1b63 Fix sequences to stop strings if missing values 2024-04-02 18:34:29 +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
6aa97c73e9 Fix example dialogue formatting with block header 2024-03-31 21:27:13 +03:00
Cohee
b0fb50aef6 Fix example dialogue separator being skipped in instruct mode 2024-03-31 10:30:06 +03:00
Cohee
e99d37d549 Remove extraneous newlines when formatting quiet prompts 2024-03-30 15:54:42 +02:00
Cohee
06e15e6d5f L + skill issue + bad copypaste 2024-03-30 12:00:10 +02:00
Cohee
3c733b3243 New instruct macros 2024-03-28 23:12:33 +02:00
Cohee
fcdd90cec4 Adjust last prompt line of quite gens 2024-03-28 21:51:02 +02:00
Cohee
310acfe810 Use new instruct sequences in prompt formatting 2024-03-28 00:52:20 +02: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
1ff0e89529 Fix continue and bias spacing inconsistencies 2024-03-23 17:51:53 +02:00
Cohee
da6545e615 Add {{name}} macro for instruct sequences. Resolves to an actual name behind the message (useful for group chats). When can't be determined, defaults to "System". 2024-03-12 23:26:45 +02:00