Commit Graph

32 Commits

Author SHA1 Message Date
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
Cohee b9392893dc [FEATURE_REQUEST] Option to toggle disable instruct formatting for example dialogue insertion #1881 2024-03-03 19:12:20 +02:00
Cohee b8445eb2cd Add slash commands for instruct and context 2024-01-18 17:24:07 +02:00
Cohee 4fe13fab8e Customizable /gen instruct name 2024-01-12 19:16:42 +02:00
Cohee bddccd0356 Missed several context bind cases 2023-12-21 17:19:42 +02:00
Cohee dd661cf879 Instruct "Bind to context" is now an option 2023-12-21 15:12:30 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
Cohee a2f293b6af Make context stop strings togglable 2023-12-01 23:06:37 +02:00
Cohee 69659e79e3 Add chat start and example separator as stop sequences 2023-12-01 19:01:06 +02:00
Cohee fb08552d46 Add instruct mode sequence macros 2023-11-26 16:37:05 +02:00
Cohee 1bf6d6d9f2 Don't trim the end of instruct last prompt line if newline wrap mode is disabled 2023-10-24 16:02:24 +03:00
Cohee 4c39a32be1 Don't reset instruct preset when toggling instruct mode 2023-09-28 21:59:03 +03:00
Stefan Daniel Schwarz 1d7165c047 context template preset manager 2023-08-26 12:09:47 +02:00
Stefan Daniel Schwarz 3e0ce12b23 first_output_sequence and system_sequence_prefix 2023-08-25 22:34:08 +02:00
Stefan Daniel Schwarz ddaa4fe409 force output sequence (first or last) 2023-08-25 22:02:11 +02:00
Stefan Daniel Schwarz ca37ac679e Improved Advanced Formatting UI 2023-08-25 21:04:06 +02:00
Stefan Daniel Schwarz be3ebcda0d improved instruct mode sequences (WIP) 2023-08-25 14:01:25 +02:00
Stefan Daniel Schwarz 4b389eba61 no eol separator after replaced sys prompt 2023-08-24 20:30:24 +02:00
Stefan Daniel Schwarz 56a6398189 system prompt in system sequence 2023-08-24 19:33:04 +02:00
Cohee 4038e7f9e3 #999 Instruct mode fixes 2023-08-24 02:22:37 +03:00
Cohee 17925423ae
Merge pull request #999 from StefanDanielSchwarz/roleplay-context
Return of the Roleplay Context
2023-08-24 00:29:05 +03:00
Stefan Daniel Schwarz 7cafa5d374 improved preset selection logic 2023-08-23 22:22:52 +02:00
Stefan Daniel Schwarz 8938ea1d72 auto select presets 2023-08-23 20:17:45 +02:00
Cohee 2c2a68ef76 Fix instruct system sequence missing + {{original}} 2023-08-23 18:04:22 +03:00
Cohee 9deaec5877 More typechecks and comments 2023-08-22 14:30:49 +03:00
Cohee 724e789509 Don't auto-enable instruct mode on regex match 2023-08-21 01:28:58 +03:00
Cohee 897ad28477 Apply preset manager for instruct presets 2023-08-21 00:56:53 +03:00
Cohee 8bb59a9e22 Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into staging 2023-08-20 23:33:26 +03:00
Cohee 6738ffe2a4 Add auto-select for instruct presets. Re-organize instruct mode code. Prepare for preset manager integration 2023-08-20 23:29:43 +03:00